markdownpad2功能集合
1. \packages\apps\Settings
1.1. AbnormalRingerConditionBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/AbnormalRingerConditionBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1.1. AbnormalRingerConditionBase Field属性列表
1.1.1.1. final IntentFilter mFilter;
private final IntentFilter mFilter;
1.1.1.2. final AudioManager mAudioManager;
protected final AudioManager mAudioManager;
1.1.1.3. final RingerModeChangeReceiver mReceiver;
private final RingerModeChangeReceiver mReceiver;
1.1.2. AbnormalRingerConditionBaseMethod方法列表
1.1.2.1. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.1.2.2. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.1.2.3. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.2. AbstractBluetoothA2dpPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AbstractBluetoothA2dpPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.2.1. AbstractBluetoothA2dpPreferenceController Field属性列表
1.2.1.1. BluetoothA2dp mBluetoothA2dp;
protected BluetoothA2dp mBluetoothA2dp;
1.2.1.2. ListPreference mPreference;
protected ListPreference mPreference;
1.2.1.3. final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore;
protected final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore;
1.2.1.4. final String[] mListValues;
private final String[] mListValues;
1.2.1.5. final String[] mListSummaries;
private final String[] mListSummaries;
1.2.1.6. static final int STREAMING_LABEL_ID
@VisibleForTesting
static final int STREAMING_LABEL_ID = R.string.bluetooth_select_a2dp_codec_streaming_label;
1.2.2. AbstractBluetoothA2dpPreferenceControllerMethod方法列表
1.2.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.2.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.2.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.2.2.4. onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp)
public void onBluetoothServiceConnected(BluetoothA2dp bluetoothA2dp)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothServiceConnected", "BluetoothA2dp bluetoothA2dp"));
1.2.2.5. onBluetoothCodecUpdated()
public void onBluetoothCodecUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothCodecUpdated", ""));
1.2.2.6. onBluetoothServiceDisconnected()
public void onBluetoothServiceDisconnected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothServiceDisconnected", ""));
1.2.2.7. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.2.2.8. setCodecConfigPreference(BluetoothDevice device,BluetoothCodecConfig config)
void setCodecConfigPreference(BluetoothDevice device, BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecConfigPreference", "BluetoothDevice device,BluetoothCodecConfig config"));
1.2.2.9. getCodecConfig(BluetoothDevice device)
BluetoothCodecConfig getCodecConfig(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothCodecConfig" ,"getCodecConfig", "BluetoothDevice device"));
1.2.2.10. abstract getListValues()
protected abstract String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.2.2.11. abstract getListSummaries()
protected abstract String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.2.2.12. abstract writeConfigurationValues(Object newValue)
protected abstract void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.2.2.13. abstract getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected abstract int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.2.2.14. abstract getDefaultIndex()
protected abstract int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.3. AbstractZenModeAutomaticRulePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AbstractZenModeAutomaticRulePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.3.1. AbstractZenModeAutomaticRulePreferenceController Field属性列表
1.3.1.1. ZenModeBackend mBackend;
protected ZenModeBackend mBackend;
1.3.1.2. Fragment mParent;
protected Fragment mParent;
1.3.1.3. Set> mRules;
protected Set> mRules;
1.3.1.4. PackageManager mPm;
protected PackageManager mPm;
1.3.1.5. static List mDefaultRuleIds;
private static List mDefaultRuleIds;
1.3.1.6. static final Comparator> RULE_COMPARATOR
private static final Comparator> RULE_COMPARATOR = new Comparator>() {
@Override
public int compare(Map.Entry lhs, Map.Entry rhs) {
// if it's a default rule, should be at the top of automatic rules
boolean lhsIsDefaultRule = getDefaultRuleIds().contains(lhs.getKey());
boolean rhsIsDefaultRule = getDefaultRuleIds().contains(rhs.getKey());
if (lhsIsDefaultRule != rhsIsDefaultRule) {
return lhsIsDefaultRule ? -1 : 1;
}
int byDate = Long.compare(lhs.getValue().getCreationTime(), rhs.getValue().getCreationTime());
if (byDate != 0) {
return byDate;
} else {
return key(lhs.getValue()).compareTo(key(rhs.getValue()));
}
}
private String key(AutomaticZenRule rule) {
final int type = ZenModeConfig.isValidScheduleConditionId(rule.getConditionId()) ? 1 : ZenModeConfig.isValidEventConditionId(rule.getConditionId()) ? 2 : 3;
return type + rule.getName().toString();
}
};
1.3.2. AbstractZenModeAutomaticRulePreferenceControllerMethod方法列表
1.3.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.3.2.2. getZenModeRules()
private Set> getZenModeRules()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set>" ,"getZenModeRules", ""));
1.3.2.3. showNameRuleDialog(final ZenRuleInfo ri,Fragment parent)
protected void showNameRuleDialog(final ZenRuleInfo ri, Fragment parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showNameRuleDialog", "final ZenRuleInfo ri,Fragment parent"));
1.3.2.4. sortedRules()
protected Map.Entry[] sortedRules()
methodList.add(new ZMethod(mZAndroidAPPClass,"Map.Entry[]" ,"sortedRules", ""));
1.3.2.5. static getDefaultRuleIds()
private static List getDefaultRuleIds()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getDefaultRuleIds", ""));
1.3.2.6. static getRuleIntent(String settingsAction,ComponentName configurationActivity,String ruleId)
protected static Intent getRuleIntent(String settingsAction, ComponentName configurationActivity, String ruleId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getRuleIntent", "String settingsAction,ComponentName configurationActivity,String ruleId"));
1.3.2.7. static getRuleInfo(PackageManager pm,ServiceInfo si)
public static ZenRuleInfo getRuleInfo(PackageManager pm, ServiceInfo si)
methodList.add(new ZMethod(mZAndroidAPPClass,"ZenRuleInfo" ,"getRuleInfo", "PackageManager pm,ServiceInfo si"));
1.3.2.8. static getSettingsActivity(ServiceInfo si)
protected static ComponentName getSettingsActivity(ServiceInfo si)
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getSettingsActivity", "ServiceInfo si"));
1.4. AbstractZenModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AbstractZenModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.4.1. AbstractZenModePreferenceController Field属性列表
1.4.1.1. SettingObserver mSettingObserver;
@VisibleForTesting
protected SettingObserver mSettingObserver;
1.4.1.2. MetricsFeatureProvider mMetricsFeatureProvider;
protected MetricsFeatureProvider mMetricsFeatureProvider;
1.4.1.3. PreferenceScreen mScreen;
protected PreferenceScreen mScreen;
1.4.1.4. final String KEY;
private final String KEY;
1.4.1.5. final NotificationManager mNotificationManager;
private final NotificationManager mNotificationManager;
1.4.1.6. final ZenModeBackend mBackend;
protected final ZenModeBackend mBackend;
1.4.1.7. static ZenModeConfigWrapper mZenModeConfigWrapper;
protected static ZenModeConfigWrapper mZenModeConfigWrapper;
1.4.2. AbstractZenModePreferenceControllerMethod方法列表
1.4.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.4.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.4.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.4.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.4.2.5. getPolicy()
protected NotificationManager.Policy getPolicy()
methodList.add(new ZMethod(mZAndroidAPPClass,"NotificationManager.Policy" ,"getPolicy", ""));
1.4.2.6. getZenModeConfig()
protected ZenModeConfig getZenModeConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"ZenModeConfig" ,"getZenModeConfig", ""));
1.4.2.7. getZenMode()
protected int getZenMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getZenMode", ""));
1.4.2.8. getZenDuration()
protected int getZenDuration()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getZenDuration", ""));
1.4.2.9. static getNextAlarm(Context context)
private static long getNextAlarm(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getNextAlarm", "Context context"));
1.5. AccessibilityServiceWarning.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilityServiceWarning.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.5.1. AccessibilityServiceWarning Field属性列表
1.5.2. AccessibilityServiceWarningMethod方法列表
1.5.2.1. static createCapabilitiesDialog(Activity parentActivity,AccessibilityServiceInfo info,DialogInterface.OnClickListener listener)
public static Dialog createCapabilitiesDialog(Activity parentActivity, AccessibilityServiceInfo info, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createCapabilitiesDialog", "Activity parentActivity,AccessibilityServiceInfo info,DialogInterface.OnClickListener listener"));
1.5.2.2. static isFullDiskEncrypted()
private static boolean isFullDiskEncrypted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFullDiskEncrypted", ""));
1.5.2.3. static createEnableDialogContentView(Context context,AccessibilityServiceInfo info)
private static View createEnableDialogContentView(Context context, AccessibilityServiceInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createEnableDialogContentView", "Context context,AccessibilityServiceInfo info"));
1.5.2.4. static getServiceName(Context context,AccessibilityServiceInfo info)
private static CharSequence getServiceName(Context context, AccessibilityServiceInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getServiceName", "Context context,AccessibilityServiceInfo info"));
1.6. AccessibilitySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilitySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.6.1. AccessibilitySettings Field属性列表
1.6.1.1. SwitchPreference mToggleHighTextContrastPreference;
private SwitchPreference mToggleHighTextContrastPreference;
1.6.1.2. SwitchPreference mTogglePowerButtonEndsCallPreference;
private SwitchPreference mTogglePowerButtonEndsCallPreference;
1.6.1.3. SwitchPreference mToggleLockScreenRotationPreference;
private SwitchPreference mToggleLockScreenRotationPreference;
1.6.1.4. SwitchPreference mToggleLargePointerIconPreference;
private SwitchPreference mToggleLargePointerIconPreference;
1.6.1.5. SwitchPreference mToggleDisableAnimationsPreference;
private SwitchPreference mToggleDisableAnimationsPreference;
1.6.1.6. SwitchPreference mToggleMasterMonoPreference;
private SwitchPreference mToggleMasterMonoPreference;
1.6.1.7. ListPreference mSelectLongPressTimeoutPreference;
private ListPreference mSelectLongPressTimeoutPreference;
1.6.1.8. Preference mCaptioningPreferenceScreen;
private Preference mCaptioningPreferenceScreen;
1.6.1.9. Preference mDisplayMagnificationPreferenceScreen;
private Preference mDisplayMagnificationPreferenceScreen;
1.6.1.10. Preference mFontSizePreferenceScreen;
private Preference mFontSizePreferenceScreen;
1.6.1.11. Preference mAutoclickPreferenceScreen;
private Preference mAutoclickPreferenceScreen;
1.6.1.12. Preference mAccessibilityShortcutPreferenceScreen;
private Preference mAccessibilityShortcutPreferenceScreen;
1.6.1.13. Preference mDisplayDaltonizerPreferenceScreen;
private Preference mDisplayDaltonizerPreferenceScreen;
1.6.1.14. Preference mVibrationPreferenceScreen;
private Preference mVibrationPreferenceScreen;
1.6.1.15. SwitchPreference mToggleInversionPreference;
private SwitchPreference mToggleInversionPreference;
1.6.1.16. int mLongPressTimeoutDefault;
private int mLongPressTimeoutDefault;
1.6.1.17. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.6.1.18. final Map mLongPressTimeoutValueToTitleMap
private final Map mLongPressTimeoutValueToTitleMap = new HashMap<>();
1.6.1.19. final Handler mHandler
private final Handler mHandler = new Handler();
1.6.1.20. final Runnable mUpdateRunnable
private final Runnable mUpdateRunnable = new Runnable() {
@Override
public void run() {
if (getActivity() != null) {
updateServicePreferences();
}
}
};
1.6.1.21. final PackageMonitor mSettingsPackageMonitor
private final PackageMonitor mSettingsPackageMonitor = new PackageMonitor() {
@Override
public void onPackageAdded(String packageName, int uid) {
sendUpdate();
}
@Override
public void onPackageAppeared(String packageName, int reason) {
sendUpdate();
}
@Override
public void onPackageDisappeared(String packageName, int reason) {
sendUpdate();
}
@Override
public void onPackageRemoved(String packageName, int uid) {
sendUpdate();
}
private void sendUpdate() {
mHandler.postDelayed(mUpdateRunnable, DELAY_UPDATE_SERVICES_MILLIS);
}
};
1.6.1.22. final SettingsContentObserver mSettingsContentObserver;
private final SettingsContentObserver mSettingsContentObserver;
1.6.1.23. final RotationPolicyListener mRotationPolicyListener
private final RotationPolicyListener mRotationPolicyListener = new RotationPolicyListener() {
@Override
public void onChange() {
updateLockScreenRotationCheckbox();
}
};
1.6.1.24. final Map mCategoryToPrefCategoryMap
private final Map mCategoryToPrefCategoryMap = new ArrayMap<>();
1.6.1.25. final Map mServicePreferenceToPreferenceCategoryMap
private final Map mServicePreferenceToPreferenceCategoryMap = new ArrayMap<>();
1.6.1.26. final Map mPreBundledServiceComponentToCategoryMap
private final Map mPreBundledServiceComponentToCategoryMap = new ArrayMap<>();
1.6.1.27. static final int FIRST_PREFERENCE_IN_CATEGORY_INDEX
// Index of the first preference in a preference category.
private static final int FIRST_PREFERENCE_IN_CATEGORY_INDEX = -1;
1.6.1.28. static final String CATEGORY_SCREEN_READER
// Preference categories
private static final String CATEGORY_SCREEN_READER = "screen_reader_category";
1.6.1.29. static final String CATEGORY_AUDIO_AND_CAPTIONS
private static final String CATEGORY_AUDIO_AND_CAPTIONS = "audio_and_captions_category";
1.6.1.30. static final String CATEGORY_DISPLAY
private static final String CATEGORY_DISPLAY = "display_category";
1.6.1.31. static final String CATEGORY_INTERACTION_CONTROL
private static final String CATEGORY_INTERACTION_CONTROL = "interaction_control_category";
1.6.1.32. static final String CATEGORY_EXPERIMENTAL
private static final String CATEGORY_EXPERIMENTAL = "experimental_category";
1.6.1.33. static final String CATEGORY_DOWNLOADED_SERVICES
private static final String CATEGORY_DOWNLOADED_SERVICES = "user_installed_services_category";
1.6.1.34. static final String[] CATEGORIES
private static final String[] CATEGORIES = new String[] { CATEGORY_SCREEN_READER, CATEGORY_AUDIO_AND_CAPTIONS, CATEGORY_DISPLAY, CATEGORY_INTERACTION_CONTROL, CATEGORY_EXPERIMENTAL, CATEGORY_DOWNLOADED_SERVICES };
1.6.1.35. static final String TOGGLE_HIGH_TEXT_CONTRAST_PREFERENCE
// Preferences
private static final String TOGGLE_HIGH_TEXT_CONTRAST_PREFERENCE = "toggle_high_text_contrast_preference";
1.6.1.36. static final String TOGGLE_INVERSION_PREFERENCE
private static final String TOGGLE_INVERSION_PREFERENCE = "toggle_inversion_preference";
1.6.1.37. static final String TOGGLE_POWER_BUTTON_ENDS_CALL_PREFERENCE
private static final String TOGGLE_POWER_BUTTON_ENDS_CALL_PREFERENCE = "toggle_power_button_ends_call_preference";
1.6.1.38. static final String TOGGLE_LOCK_SCREEN_ROTATION_PREFERENCE
private static final String TOGGLE_LOCK_SCREEN_ROTATION_PREFERENCE = "toggle_lock_screen_rotation_preference";
1.6.1.39. static final String TOGGLE_LARGE_POINTER_ICON
private static final String TOGGLE_LARGE_POINTER_ICON = "toggle_large_pointer_icon";
1.6.1.40. static final String TOGGLE_DISABLE_ANIMATIONS
private static final String TOGGLE_DISABLE_ANIMATIONS = "toggle_disable_animations";
1.6.1.41. static final String TOGGLE_MASTER_MONO
private static final String TOGGLE_MASTER_MONO = "toggle_master_mono";
1.6.1.42. static final String SELECT_LONG_PRESS_TIMEOUT_PREFERENCE
private static final String SELECT_LONG_PRESS_TIMEOUT_PREFERENCE = "select_long_press_timeout_preference";
1.6.1.43. static final String ACCESSIBILITY_SHORTCUT_PREFERENCE
private static final String ACCESSIBILITY_SHORTCUT_PREFERENCE = "accessibility_shortcut_preference";
1.6.1.44. static final String CAPTIONING_PREFERENCE_SCREEN
private static final String CAPTIONING_PREFERENCE_SCREEN = "captioning_preference_screen";
1.6.1.45. static final String DISPLAY_MAGNIFICATION_PREFERENCE_SCREEN
private static final String DISPLAY_MAGNIFICATION_PREFERENCE_SCREEN = "magnification_preference_screen";
1.6.1.46. static final String FONT_SIZE_PREFERENCE_SCREEN
private static final String FONT_SIZE_PREFERENCE_SCREEN = "font_size_preference_screen";
1.6.1.47. static final String TTS_SETTINGS_PREFERENCE
private static final String TTS_SETTINGS_PREFERENCE = "tts_settings_preference";
1.6.1.48. static final String AUTOCLICK_PREFERENCE_SCREEN
private static final String AUTOCLICK_PREFERENCE_SCREEN = "autoclick_preference_screen";
1.6.1.49. static final String VIBRATION_PREFERENCE_SCREEN
private static final String VIBRATION_PREFERENCE_SCREEN = "vibration_preference_screen";
1.6.1.50. static final String DISPLAY_DALTONIZER_PREFERENCE_SCREEN
private static final String DISPLAY_DALTONIZER_PREFERENCE_SCREEN = "daltonizer_preference_screen";
1.6.1.51. static final String EXTRA_PREFERENCE_KEY
// Extras passed to sub-fragments.
static final String EXTRA_PREFERENCE_KEY = "preference_key";
1.6.1.52. static final String EXTRA_CHECKED
static final String EXTRA_CHECKED = "checked";
1.6.1.53. static final String EXTRA_TITLE
static final String EXTRA_TITLE = "title";
1.6.1.54. static final String EXTRA_TITLE_RES
static final String EXTRA_TITLE_RES = "title_res";
1.6.1.55. static final String EXTRA_RESOLVE_INFO
static final String EXTRA_RESOLVE_INFO = "resolve_info";
1.6.1.56. static final String EXTRA_SUMMARY
static final String EXTRA_SUMMARY = "summary";
1.6.1.57. static final String EXTRA_SUMMARY_RES
static final String EXTRA_SUMMARY_RES = "summary_res";
1.6.1.58. static final String EXTRA_SETTINGS_TITLE
static final String EXTRA_SETTINGS_TITLE = "settings_title";
1.6.1.59. static final String EXTRA_COMPONENT_NAME
static final String EXTRA_COMPONENT_NAME = "component_name";
1.6.1.60. static final String EXTRA_SETTINGS_COMPONENT_NAME
static final String EXTRA_SETTINGS_COMPONENT_NAME = "settings_component_name";
1.6.1.61. static final String EXTRA_VIDEO_RAW_RESOURCE_ID
static final String EXTRA_VIDEO_RAW_RESOURCE_ID = "video_resource";
1.6.1.62. static final String EXTRA_LAUNCHED_FROM_SUW
static final String EXTRA_LAUNCHED_FROM_SUW = "from_suw";
1.6.1.63. static final // since the AccessibilityManagerService has to do that processing first // to generate the AccessibilityServiceInfo we need for proper // presentation. private long DELAY_UPDATE_SERVICES_MILLIS
// Timeout before we update the services if packages are added/removed
// since the AccessibilityManagerService has to do that processing first
// to generate the AccessibilityServiceInfo we need for proper
// presentation.
private static final long DELAY_UPDATE_SERVICES_MILLIS = 1000;
1.6.1.64. static final String[] TOGGLE_ANIMATION_TARGETS
// Settings that should be changed when toggling animations
private static final String[] TOGGLE_ANIMATION_TARGETS = { Settings.Global.WINDOW_ANIMATION_SCALE, Settings.Global.TRANSITION_ANIMATION_SCALE, Settings.Global.ANIMATOR_DURATION_SCALE };
1.6.1.65. static final String ANIMATION_ON_VALUE
private static final String ANIMATION_ON_VALUE = "1";
1.6.1.66. static final String ANIMATION_OFF_VALUE
private static final String ANIMATION_OFF_VALUE = "0";
1.6.1.67. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
public static final String KEY_DISPLAY_SIZE = "accessibility_settings_screen_zoom";
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List indexables = new ArrayList<>();
SearchIndexableResource indexable = new SearchIndexableResource(context);
indexable.xmlResId = R.xml.accessibility_settings;
indexables.add(indexable);
return indexables;
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Duplicates in Display
keys.add(FONT_SIZE_PREFERENCE_SCREEN);
keys.add(KEY_DISPLAY_SIZE);
// Duplicates in Language & Input
keys.add(TTS_SETTINGS_PREFERENCE);
return keys;
}
};
1.6.2. AccessibilitySettingsMethod方法列表
1.6.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.6.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.6.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.6.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.6.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.6.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.6.2.7. handleLongPressTimeoutPreferenceChange(String stringValue)
private void handleLongPressTimeoutPreferenceChange(String stringValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleLongPressTimeoutPreferenceChange", "String stringValue"));
1.6.2.8. handleToggleInversionPreferenceChange(boolean checked)
private void handleToggleInversionPreferenceChange(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleInversionPreferenceChange", "boolean checked"));
1.6.2.9. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.6.2.10. handleToggleTextContrastPreferenceClick()
private void handleToggleTextContrastPreferenceClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleTextContrastPreferenceClick", ""));
1.6.2.11. handleTogglePowerButtonEndsCallPreferenceClick()
private void handleTogglePowerButtonEndsCallPreferenceClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleTogglePowerButtonEndsCallPreferenceClick", ""));
1.6.2.12. handleLockScreenRotationPreferenceClick()
private void handleLockScreenRotationPreferenceClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleLockScreenRotationPreferenceClick", ""));
1.6.2.13. handleToggleLargePointerIconPreferenceClick()
private void handleToggleLargePointerIconPreferenceClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleLargePointerIconPreferenceClick", ""));
1.6.2.14. handleToggleDisableAnimations()
private void handleToggleDisableAnimations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleDisableAnimations", ""));
1.6.2.15. handleToggleMasterMonoPreferenceClick()
private void handleToggleMasterMonoPreferenceClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleMasterMonoPreferenceClick", ""));
1.6.2.16. initializeAllPreferences()
private void initializeAllPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeAllPreferences", ""));
1.6.2.17. updateAllPreferences()
private void updateAllPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAllPreferences", ""));
1.6.2.18. updateServicePreferences()
protected void updateServicePreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateServicePreferences", ""));
1.6.2.19. initializePreBundledServicesMapFromArray(String categoryKey,int key)
private void initializePreBundledServicesMapFromArray(String categoryKey, int key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializePreBundledServicesMapFromArray", "String categoryKey,int key"));
1.6.2.20. updateSystemPreferences()
protected void updateSystemPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSystemPreferences", ""));
1.6.2.21. updateMagnificationSummary(Preference pref)
private void updateMagnificationSummary(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMagnificationSummary", "Preference pref"));
1.6.2.22. updateFeatureSummary(String prefKey,Preference pref)
private void updateFeatureSummary(String prefKey, Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFeatureSummary", "String prefKey,Preference pref"));
1.6.2.23. updateAutoclickSummary(Preference pref)
private void updateAutoclickSummary(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAutoclickSummary", "Preference pref"));
1.6.2.24. updateFontSizeSummary(Preference pref)
private void updateFontSizeSummary(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFontSizeSummary", "Preference pref"));
1.6.2.25. updateVibrationSummary(Preference pref)
void updateVibrationSummary(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateVibrationSummary", "Preference pref"));
1.6.2.26. getVibrationSummary(Context context,@VibrationIntensity int intensity)
private String getVibrationSummary(Context context, @VibrationIntensity int intensity)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVibrationSummary", "Context context,@VibrationIntensity int intensity"));
1.6.2.27. updateLockScreenRotationCheckbox()
private void updateLockScreenRotationCheckbox()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLockScreenRotationCheckbox", ""));
1.6.2.28. updateDisableAnimationsToggle()
private void updateDisableAnimationsToggle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisableAnimationsToggle", ""));
1.6.2.29. updateMasterMono()
private void updateMasterMono()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMasterMono", ""));
1.6.2.30. updateAccessibilityShortcut(Preference preference)
private void updateAccessibilityShortcut(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccessibilityShortcut", "Preference preference"));
1.6.2.31. static isColorTransformAccelerated(Context context)
public static boolean isColorTransformAccelerated(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isColorTransformAccelerated", "Context context"));
1.6.2.32. static getServiceSummary(Context context,AccessibilityServiceInfo info,boolean serviceEnabled)
public static CharSequence getServiceSummary(Context context, AccessibilityServiceInfo info, boolean serviceEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getServiceSummary", "Context context,AccessibilityServiceInfo info,boolean serviceEnabled"));
1.6.2.33. static configureMagnificationPreferenceIfNeeded(Preference preference)
private static void configureMagnificationPreferenceIfNeeded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"configureMagnificationPreferenceIfNeeded", "Preference preference"));
1.7. AccessibilitySettingsForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.7.1. AccessibilitySettingsForSetupWizard Field属性列表
1.7.1.1. Preference mDisplayMagnificationPreference;
// Preference controls.
private Preference mDisplayMagnificationPreference;
1.7.1.2. Preference mScreenReaderPreference;
private Preference mScreenReaderPreference;
1.7.1.3. Preference mSelectToSpeakPreference;
private Preference mSelectToSpeakPreference;
1.7.1.4. static final String DISPLAY_MAGNIFICATION_PREFERENCE
// Preferences.
private static final String DISPLAY_MAGNIFICATION_PREFERENCE = "screen_magnification_preference";
1.7.1.5. static final String SCREEN_READER_PREFERENCE
private static final String SCREEN_READER_PREFERENCE = "screen_reader_preference";
1.7.1.6. static final String SELECT_TO_SPEAK_PREFERENCE
private static final String SELECT_TO_SPEAK_PREFERENCE = "select_to_speak_preference";
1.7.1.7. static final String FONT_SIZE_PREFERENCE
private static final String FONT_SIZE_PREFERENCE = "font_size_preference";
1.7.1.8. static final String SCREEN_READER_PACKAGE_NAME
// Package names and service names used to identify screen reader and SelectToSpeak services.
private static final String SCREEN_READER_PACKAGE_NAME = "com.google.android.marvin.talkback";
1.7.1.9. static final String SCREEN_READER_SERVICE_NAME
private static final String SCREEN_READER_SERVICE_NAME = "com.google.android.marvin.talkback.TalkBackService";
1.7.1.10. static final String SELECT_TO_SPEAK_PACKAGE_NAME
private static final String SELECT_TO_SPEAK_PACKAGE_NAME = "com.google.android.marvin.talkback";
1.7.1.11. static final String SELECT_TO_SPEAK_SERVICE_NAME
private static final String SELECT_TO_SPEAK_SERVICE_NAME = "com.google.android.accessibility.selecttospeak.SelectToSpeakService";
1.7.2. AccessibilitySettingsForSetupWizardMethod方法列表
1.7.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.7.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.7.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.7.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.7.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.7.2.6. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.7.2.7. findService(String packageName,String serviceName)
private AccessibilityServiceInfo findService(String packageName, String serviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessibilityServiceInfo" ,"findService", "String packageName,String serviceName"));
1.7.2.8. updateAccessibilityServicePreference(Preference preference,AccessibilityServiceInfo info)
private void updateAccessibilityServicePreference(Preference preference, AccessibilityServiceInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccessibilityServicePreference", "Preference preference,AccessibilityServiceInfo info"));
1.7.2.9. static configureMagnificationPreferenceIfNeeded(Preference preference)
private static void configureMagnificationPreferenceIfNeeded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"configureMagnificationPreferenceIfNeeded", "Preference preference"));
1.8. AccessibilitySettingsForSetupWizardActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilitySettingsForSetupWizardActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.8.1. AccessibilitySettingsForSetupWizardActivity Field属性列表
1.8.1.1. static final String SAVE_KEY_TITLE
private static final String SAVE_KEY_TITLE = "activity_title";
1.8.2. AccessibilitySettingsForSetupWizardActivityMethod方法列表
1.8.2.1. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.8.2.2. onSaveInstanceState(Bundle savedState)
protected void onSaveInstanceState(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle savedState"));
1.8.2.3. onRestoreInstanceState(Bundle savedState)
protected void onRestoreInstanceState(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle savedState"));
1.8.2.4. onCreateOptionsMenu(Menu menu)
public boolean onCreateOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onCreateOptionsMenu", "Menu menu"));
1.8.2.5. onNavigateUp()
public boolean onNavigateUp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onNavigateUp", ""));
1.8.2.6. onPreferenceStartFragment(PreferenceFragment caller,Preference pref)
public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceStartFragment", "PreferenceFragment caller,Preference pref"));
1.9. AccessibilityShortcutPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilityShortcutPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.9.1. AccessibilityShortcutPreferenceFragment Field属性列表
1.9.1.1. Preference mServicePreference;
private Preference mServicePreference;
1.9.1.2. SwitchPreference mOnLockScreenSwitchPreference;
private SwitchPreference mOnLockScreenSwitchPreference;
1.9.1.3. final ContentObserver mContentObserver
private final ContentObserver mContentObserver = new ContentObserver(new Handler()) {
@Override
public void onChange(boolean selfChange) {
updatePreferences();
}
};
1.9.1.4. static final String SHORTCUT_SERVICE_KEY
public static final String SHORTCUT_SERVICE_KEY = "accessibility_shortcut_service";
1.9.1.5. static final String ON_LOCK_SCREEN_KEY
public static final String ON_LOCK_SCREEN_KEY = "accessibility_shortcut_on_lock_screen";
1.9.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
// This fragment is for details of the shortcut. Only the shortcut itself needs
// to be indexed.
protected boolean isPageSearchEnabled(Context context) {
return false;
}
};
1.9.2. AccessibilityShortcutPreferenceFragmentMethod方法列表
1.9.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.9.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.9.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.9.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.9.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.9.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.9.2.7. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.9.2.8. onPreferenceToggled(String preferenceKey,boolean enabled)
protected void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.9.2.9. updatePreferences()
private void updatePreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferences", ""));
1.9.2.10. static getServiceName(Context context)
public static CharSequence getServiceName(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getServiceName", "Context context"));
1.9.2.11. static getServiceInfo(Context context)
private static AccessibilityServiceInfo getServiceInfo(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessibilityServiceInfo" ,"getServiceInfo", "Context context"));
1.9.2.12. static shortcutFeatureAvailable(Context context)
private static boolean shortcutFeatureAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shortcutFeatureAvailable", "Context context"));
1.9.2.13. static getShortcutComponent(Context context)
private static ComponentName getShortcutComponent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getShortcutComponent", "Context context"));
1.10. AccessibilitySlicePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/AccessibilitySlicePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.10.1. AccessibilitySlicePreferenceController Field属性列表
1.10.1.1. final ComponentName mComponentName;
private final ComponentName mComponentName;
1.10.1.2. final int ON
private final int ON = 1;
1.10.1.3. final int OFF
private final int OFF = 0;
1.10.2. AccessibilitySlicePreferenceControllerMethod方法列表
1.10.2.1. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.10.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.10.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.10.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.10.2.5. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.10.2.6. getAccessibilityServiceInfo()
private AccessibilityServiceInfo getAccessibilityServiceInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessibilityServiceInfo" ,"getAccessibilityServiceInfo", ""));
1.11. AccessiblePreferenceCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AccessiblePreferenceCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.11.1. AccessiblePreferenceCategory Field属性列表
1.11.1.1. String mContentDescription;
private String mContentDescription;
1.11.2. AccessiblePreferenceCategoryMethod方法列表
1.11.2.1. setContentDescription(String contentDescription)
public void setContentDescription(String contentDescription)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setContentDescription", "String contentDescription"));
1.11.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.12. AccountDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.12.1. AccountDashboardFragment Field属性列表
1.12.1.1. static final String TAG
private static final String TAG = "AccountDashboardFrag";
1.12.1.2. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.12.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.accounts_dashboard_settings;
return Arrays.asList(sir);
}
};
1.12.2. AccountDashboardFragmentMethod方法列表
1.12.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.12.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.12.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.12.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.12.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.13. AccountDetailDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountDetailDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.13.1. AccountDetailDashboardFragment Field属性列表
1.13.1.1. Account mAccount;
@VisibleForTesting
Account mAccount;
1.13.1.2. String mAccountLabel;
private String mAccountLabel;
1.13.1.3. String mAccountType;
@VisibleForTesting
String mAccountType;
1.13.1.4. AccountSyncPreferenceController mAccountSynController;
private AccountSyncPreferenceController mAccountSynController;
1.13.1.5. RemoveAccountPreferenceController mRemoveAccountController;
private RemoveAccountPreferenceController mRemoveAccountController;
1.13.1.6. static final String TAG
private static final String TAG = "AccountDetailDashboard";
1.13.1.7. static final String METADATA_IA_ACCOUNT
private static final String METADATA_IA_ACCOUNT = "com.android.settings.ia.account";
1.13.1.8. static final String EXTRA_ACCOUNT_NAME
private static final String EXTRA_ACCOUNT_NAME = "extra.accountName";
1.13.1.9. static final String KEY_ACCOUNT
public static final String KEY_ACCOUNT = "account";
1.13.1.10. static final String KEY_ACCOUNT_TYPE
public static final String KEY_ACCOUNT_TYPE = "account_type";
1.13.1.11. static final String KEY_ACCOUNT_LABEL
public static final String KEY_ACCOUNT_LABEL = "account_label";
1.13.1.12. static final String KEY_ACCOUNT_TITLE_RES
public static final String KEY_ACCOUNT_TITLE_RES = "account_title_res";
1.13.1.13. static final String KEY_USER_HANDLE
public static final String KEY_USER_HANDLE = "user_handle";
1.13.2. AccountDetailDashboardFragmentMethod方法列表
1.13.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.13.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.13.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.13.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.13.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.13.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.13.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.13.2.8. displayTile(Tile tile)
protected boolean displayTile(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"displayTile", "Tile tile"));
1.13.2.9. updateUi()
void updateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", ""));
1.14. AccountFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.15. AccountFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.15.1. AccountFeatureProviderImpl Field属性列表
1.15.2. AccountFeatureProviderImplMethod方法列表
1.15.2.1. getAccountType()
public String getAccountType()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAccountType", ""));
1.15.2.2. getAccounts(Context context)
public Account[] getAccounts(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Account[]" ,"getAccounts", "Context context"));
1.16. AccountHeaderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountHeaderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.16.1. AccountHeaderPreferenceController Field属性列表
1.16.1.1. LayoutPreference mHeaderPreference;
private LayoutPreference mHeaderPreference;
1.16.1.2. final Activity mActivity;
private final Activity mActivity;
1.16.1.3. final PreferenceFragment mHost;
private final PreferenceFragment mHost;
1.16.1.4. final Account mAccount;
private final Account mAccount;
1.16.1.5. final UserHandle mUserHandle;
private final UserHandle mUserHandle;
1.16.1.6. static final String KEY_ACCOUNT_HEADER
private static final String KEY_ACCOUNT_HEADER = "account_header";
1.16.2. AccountHeaderPreferenceControllerMethod方法列表
1.16.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.16.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.16.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.16.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.17. AccountPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.17.1. AccountPreference Field属性列表
1.17.1.1. int mStatus;
private int mStatus;
1.17.1.2. Account mAccount;
private Account mAccount;
1.17.1.3. ArrayList mAuthorities;
private ArrayList mAuthorities;
1.17.1.4. ImageView mSyncStatusIcon;
private ImageView mSyncStatusIcon;
1.17.1.5. boolean mShowTypeIcon;
private boolean mShowTypeIcon;
1.17.1.6. static final String TAG
private static final String TAG = "AccountPreference";
1.17.1.7. static final int SYNC_ENABLED
// all know sync adapters are enabled and OK
public static final int SYNC_ENABLED = 0;
1.17.1.8. static final int SYNC_DISABLED
// no sync adapters are enabled
public static final int SYNC_DISABLED = 1;
1.17.1.9. static final int SYNC_ERROR
// one or more sync adapters have a problem
public static final int SYNC_ERROR = 2;
1.17.1.10. static final int SYNC_IN_PROGRESS
// currently syncing
public static final int SYNC_IN_PROGRESS = 3;
1.17.2. AccountPreferenceMethod方法列表
1.17.2.1. getAccount()
public Account getAccount()
methodList.add(new ZMethod(mZAndroidAPPClass,"Account" ,"getAccount", ""));
1.17.2.2. getAuthorities()
public ArrayList getAuthorities()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getAuthorities", ""));
1.17.2.3. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.17.2.4. setSyncStatus(int status,boolean updateSummary)
public void setSyncStatus(int status, boolean updateSummary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSyncStatus", "int status,boolean updateSummary"));
1.17.2.5. getSyncStatusMessage(int status)
private int getSyncStatusMessage(int status)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSyncStatusMessage", "int status"));
1.17.2.6. getSyncStatusIcon(int status)
private int getSyncStatusIcon(int status)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSyncStatusIcon", "int status"));
1.17.2.7. getSyncContentDescription(int status)
private String getSyncContentDescription(int status)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSyncContentDescription", "int status"));
1.18. AccountPreferenceBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountPreferenceBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.18.1. AccountPreferenceBase Field属性列表
1.18.1.1. UserManager mUm;
private UserManager mUm;
1.18.1.2. Object mStatusChangeListenerHandle;
private Object mStatusChangeListenerHandle;
1.18.1.3. AuthenticatorHelper mAuthenticatorHelper;
protected AuthenticatorHelper mAuthenticatorHelper;
1.18.1.4. UserHandle mUserHandle;
protected UserHandle mUserHandle;
1.18.1.5. AccountTypePreferenceLoader mAccountTypePreferenceLoader;
protected AccountTypePreferenceLoader mAccountTypePreferenceLoader;
1.18.1.6. java.text.DateFormat mDateFormat;
private java.text.DateFormat mDateFormat;
1.18.1.7. java.text.DateFormat mTimeFormat;
private java.text.DateFormat mTimeFormat;
1.18.1.8. SyncStatusObserver mSyncStatusObserver
private SyncStatusObserver mSyncStatusObserver = which -> ThreadUtils.postOnMainThread(() -> onSyncStateUpdated());
1.18.1.9. static final String TAG
protected static final String TAG = "AccountPreferenceBase";
1.18.1.10. static final boolean VERBOSE
protected static final boolean VERBOSE = Log.isLoggable(TAG, Log.VERBOSE);
1.18.1.11. static final String AUTHORITIES_FILTER_KEY
public static final String AUTHORITIES_FILTER_KEY = "authorities";
1.18.1.12. static final String ACCOUNT_TYPES_FILTER_KEY
public static final String ACCOUNT_TYPES_FILTER_KEY = "account_types";
1.18.2. AccountPreferenceBaseMethod方法列表
1.18.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.18.2.2. onAccountsUpdate(UserHandle userHandle)
public void onAccountsUpdate(UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccountsUpdate", "UserHandle userHandle"));
1.18.2.3. onAuthDescriptionsUpdated()
protected void onAuthDescriptionsUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthDescriptionsUpdated", ""));
1.18.2.4. onSyncStateUpdated()
protected void onSyncStateUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSyncStateUpdated", ""));
1.18.2.5. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.18.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.18.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.18.2.8. updateAuthDescriptions()
public void updateAuthDescriptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAuthDescriptions", ""));
1.18.2.9. getDrawableForType(final String accountType)
protected Drawable getDrawableForType(final String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getDrawableForType", "final String accountType"));
1.18.2.10. getLabelForType(final String accountType)
protected CharSequence getLabelForType(final String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getLabelForType", "final String accountType"));
1.18.2.11. formatSyncDate(Date date)
protected String formatSyncDate(Date date)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatSyncDate", "Date date"));
1.19. AccountPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.19.1. AccountPreferenceController Field属性列表
1.19.1.1. UserManager mUm;
private UserManager mUm;
1.19.1.2. SparseArray mProfiles
private SparseArray mProfiles = new SparseArray();
1.19.1.3. ManagedProfileBroadcastReceiver mManagedProfileBroadcastReceiver
private ManagedProfileBroadcastReceiver mManagedProfileBroadcastReceiver = new ManagedProfileBroadcastReceiver();
1.19.1.4. Preference mProfileNotAvailablePreference;
private Preference mProfileNotAvailablePreference;
1.19.1.5. String[] mAuthorities;
private String[] mAuthorities;
1.19.1.6. int mAuthoritiesCount
private int mAuthoritiesCount = 0;
1.19.1.7. SettingsPreferenceFragment mParent;
private SettingsPreferenceFragment mParent;
1.19.1.8. int mAccountProfileOrder
private int mAccountProfileOrder = ORDER_ACCOUNT_PROFILES;
1.19.1.9. AccountRestrictionHelper mHelper;
private AccountRestrictionHelper mHelper;
1.19.1.10. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.19.1.11. static final String TAG
private static final String TAG = "AccountPrefController";
1.19.1.12. static final int ORDER_ACCOUNT_PROFILES
private static final int ORDER_ACCOUNT_PROFILES = 1;
1.19.1.13. static final int ORDER_LAST
private static final int ORDER_LAST = 1002;
1.19.1.14. static final int ORDER_NEXT_TO_LAST
private static final int ORDER_NEXT_TO_LAST = 1001;
1.19.1.15. static final int ORDER_NEXT_TO_NEXT_TO_LAST
private static final int ORDER_NEXT_TO_NEXT_TO_LAST = 1000;
1.19.2. AccountPreferenceControllerMethod方法列表
1.19.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.19.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.19.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.19.2.4. updateRawDataToIndex(List rawData)
public void updateRawDataToIndex(List rawData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRawDataToIndex", "List rawData"));
1.19.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.19.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.19.2.7. onAccountsUpdate(UserHandle userHandle)
public void onAccountsUpdate(UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccountsUpdate", "UserHandle userHandle"));
1.19.2.8. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.19.2.9. updateUi()
private void updateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", ""));
1.19.2.10. updateProfileUi(final UserInfo userInfo)
private void updateProfileUi(final UserInfo userInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateProfileUi", "final UserInfo userInfo"));
1.19.2.11. newAddAccountPreference()
private RestrictedPreference newAddAccountPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedPreference" ,"newAddAccountPreference", ""));
1.19.2.12. newRemoveWorkProfilePreference()
private RestrictedPreference newRemoveWorkProfilePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedPreference" ,"newRemoveWorkProfilePreference", ""));
1.19.2.13. newManagedProfileSettings()
private Preference newManagedProfileSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"newManagedProfileSettings", ""));
1.19.2.14. getWorkGroupSummary(Context context,UserInfo userInfo)
private String getWorkGroupSummary(Context context, UserInfo userInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getWorkGroupSummary", "Context context,UserInfo userInfo"));
1.19.2.15. cleanUpPreferences()
void cleanUpPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cleanUpPreferences", ""));
1.19.2.16. listenToAccountUpdates()
private void listenToAccountUpdates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"listenToAccountUpdates", ""));
1.19.2.17. stopListeningToAccountUpdates()
private void stopListeningToAccountUpdates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListeningToAccountUpdates", ""));
1.19.2.18. updateAccountTypes(ProfileData profileData)
private void updateAccountTypes(ProfileData profileData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccountTypes", "ProfileData profileData"));
1.19.2.19. getAccountTypePreferences(AuthenticatorHelper helper,UserHandle userHandle,ArrayMap preferenceToRemove)
private ArrayList getAccountTypePreferences(AuthenticatorHelper helper, UserHandle userHandle, ArrayMap preferenceToRemove)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getAccountTypePreferences", "AuthenticatorHelper helper,UserHandle userHandle,ArrayMap preferenceToRemove"));
1.19.2.20. accountTypeHasAnyRequestedAuthorities(AuthenticatorHelper helper,String accountType)
private boolean accountTypeHasAnyRequestedAuthorities(AuthenticatorHelper helper, String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"accountTypeHasAnyRequestedAuthorities", "AuthenticatorHelper helper,String accountType"));
1.19.2.21. isSingleProfile()
private boolean isSingleProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSingleProfile", ""));
1.20. AccountRestrictionHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountRestrictionHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.20.1. AccountRestrictionHelper Field属性列表
1.20.1.1. final Context mContext;
private final Context mContext;
1.20.2. AccountRestrictionHelperMethod方法列表
1.20.2.1. enforceRestrictionOnPreference(RestrictedPreference preference,String userRestriction,@UserIdInt int userId)
public void enforceRestrictionOnPreference(RestrictedPreference preference, String userRestriction, @UserIdInt int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enforceRestrictionOnPreference", "RestrictedPreference preference,String userRestriction,@UserIdInt int userId"));
1.20.2.2. hasBaseUserRestriction(String userRestriction,@UserIdInt int userId)
public boolean hasBaseUserRestriction(String userRestriction, @UserIdInt int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasBaseUserRestriction", "String userRestriction,@UserIdInt int userId"));
1.20.2.3. createAccessiblePreferenceCategory(Context context)
public AccessiblePreferenceCategory createAccessiblePreferenceCategory(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessiblePreferenceCategory" ,"createAccessiblePreferenceCategory", "Context context"));
1.20.2.4. static showAccount(String[] authorities,ArrayList auths)
public static boolean showAccount(String[] authorities, ArrayList auths)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showAccount", "String[] authorities,ArrayList auths"));
1.21. AccountSyncPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountSyncPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.21.1. AccountSyncPreferenceController Field属性列表
1.21.1.1. Account mAccount;
private Account mAccount;
1.21.1.2. UserHandle mUserHandle;
private UserHandle mUserHandle;
1.21.1.3. Preference mPreference;
private Preference mPreference;
1.21.1.4. static final String TAG
private static final String TAG = "AccountSyncController";
1.21.1.5. static final String KEY_ACCOUNT_SYNC
private static final String KEY_ACCOUNT_SYNC = "account_sync";
1.21.2. AccountSyncPreferenceControllerMethod方法列表
1.21.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.21.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.21.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.21.2.4. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.21.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.21.2.6. onAccountsUpdate(UserHandle userHandle)
public void onAccountsUpdate(UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccountsUpdate", "UserHandle userHandle"));
1.21.2.7. init(Account account,UserHandle userHandle)
public void init(Account account, UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "Account account,UserHandle userHandle"));
1.21.2.8. updateSummary(Preference preference)
void updateSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "Preference preference"));
1.22. AccountSyncSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountSyncSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.22.1. AccountSyncSettings Field属性列表
1.22.1.1. TextView mUserId;
private TextView mUserId;
1.22.1.2. TextView mProviderId;
private TextView mProviderId;
1.22.1.3. ImageView mProviderIcon;
private ImageView mProviderIcon;
1.22.1.4. TextView mErrorInfoView;
private TextView mErrorInfoView;
1.22.1.5. Account mAccount;
private Account mAccount;
1.22.1.6. ArrayList mInvisibleAdapters
private ArrayList mInvisibleAdapters = Lists.newArrayList();
1.22.1.7. static final String ACCOUNT_KEY
public static final String ACCOUNT_KEY = "account";
1.22.1.8. static final int MENU_SYNC_NOW_ID
private static final int MENU_SYNC_NOW_ID = Menu.FIRST;
1.22.1.9. static final int MENU_SYNC_CANCEL_ID
private static final int MENU_SYNC_CANCEL_ID = Menu.FIRST + 1;
1.22.1.10. static final int CANT_DO_ONETIME_SYNC_DIALOG
private static final int CANT_DO_ONETIME_SYNC_DIALOG = 102;
1.22.2. AccountSyncSettingsMethod方法列表
1.22.2.1. onCreateDialog(final int id)
public Dialog onCreateDialog(final int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "final int id"));
1.22.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.22.2.3. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.22.2.4. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.22.2.5. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.22.2.6. initializeUi(final View rootView)
protected void initializeUi(final View rootView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeUi", "final View rootView"));
1.22.2.7. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.22.2.8. setAccessibilityTitle()
private void setAccessibilityTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccessibilityTitle", ""));
1.22.2.9. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.22.2.10. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.22.2.11. addSyncStateSwitch(Account account,String authority,String packageName,int uid)
private void addSyncStateSwitch(Account account, String authority, String packageName, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addSyncStateSwitch", "Account account,String authority,String packageName,int uid"));
1.22.2.12. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.22.2.13. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.22.2.14. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.22.2.15. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.22.2.16. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.22.2.17. requestAccountAccessIfNeeded(String packageName)
private boolean requestAccountAccessIfNeeded(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"requestAccountAccessIfNeeded", "String packageName"));
1.22.2.18. startSyncForEnabledProviders()
private void startSyncForEnabledProviders()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startSyncForEnabledProviders", ""));
1.22.2.19. cancelSyncForEnabledProviders()
private void cancelSyncForEnabledProviders()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelSyncForEnabledProviders", ""));
1.22.2.20. requestOrCancelSyncForEnabledProviders(boolean startSync)
private void requestOrCancelSyncForEnabledProviders(boolean startSync)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestOrCancelSyncForEnabledProviders", "boolean startSync"));
1.22.2.21. requestOrCancelSync(Account account,String authority,boolean flag)
private void requestOrCancelSync(Account account, String authority, boolean flag)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestOrCancelSync", "Account account,String authority,boolean flag"));
1.22.2.22. isSyncing(List currentSyncs,Account account,String authority)
private boolean isSyncing(List currentSyncs, Account account, String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSyncing", "List currentSyncs,Account account,String authority"));
1.22.2.23. onSyncStateUpdated()
protected void onSyncStateUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSyncStateUpdated", ""));
1.22.2.24. setFeedsState()
private void setFeedsState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFeedsState", ""));
1.22.2.25. onAccountsUpdate(final UserHandle userHandle)
public void onAccountsUpdate(final UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccountsUpdate", "final UserHandle userHandle"));
1.22.2.26. accountExists(Account account)
private boolean accountExists(Account account)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"accountExists", "Account account"));
1.22.2.27. updateAccountSwitches()
private void updateAccountSwitches()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccountSwitches", ""));
1.22.2.28. onAuthDescriptionsUpdated()
protected void onAuthDescriptionsUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthDescriptionsUpdated", ""));
1.22.2.29. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.23. AccountTypePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountTypePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.23.1. AccountTypePreference Field属性列表
1.23.1.1. final CharSequence mTitle;
/**
* Title of the tile that is shown to the user.
*
* @attr ref android.R.styleable#PreferenceHeader_title
*/
private final CharSequence mTitle;
1.23.1.2. final String mTitleResPackageName;
/**
* Packange name used to resolve the resources of the title shown to the user in the new
* fragment.
*/
private final String mTitleResPackageName;
1.23.1.3. final int mTitleResId;
/**
* Resource id of the title shown to the user in the new fragment.
*/
private final int mTitleResId;
1.23.1.4. final CharSequence mSummary;
/**
* Summary of the tile that is shown to the user.
*/
private final CharSequence mSummary;
1.23.1.5. final String mFragment;
/**
* Full class name of the fragment to display when this tile is
* selected.
*
* @attr ref android.R.styleable#PreferenceHeader_fragment
*/
private final String mFragment;
1.23.1.6. final Bundle mFragmentArguments;
/**
* Optional arguments to supply to the fragment when it is
* instantiated.
*/
private final Bundle mFragmentArguments;
1.23.1.7. final int mMetricsCategory;
private final int mMetricsCategory;
1.23.2. AccountTypePreferenceMethod方法列表
1.23.2.1. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.23.2.2. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.23.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.23.2.4. static buildKey(Account account)
public static String buildKey(Account account)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildKey", "Account account"));
1.24. AccountTypePreferenceLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AccountTypePreferenceLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.24.1. AccountTypePreferenceLoader Field属性列表
1.24.1.1. AuthenticatorHelper mAuthenticatorHelper;
private AuthenticatorHelper mAuthenticatorHelper;
1.24.1.2. UserHandle mUserHandle;
private UserHandle mUserHandle;
1.24.1.3. PreferenceFragment mFragment;
private PreferenceFragment mFragment;
1.24.1.4. static final String TAG
private static final String TAG = "AccountTypePrefLoader";
1.24.1.5. static final String ACCOUNT_KEY
// to pass to auth settings
private static final String ACCOUNT_KEY = "account";
1.24.1.6. static final // the location settings. private String LAUNCHING_LOCATION_SETTINGS
// Action name for the broadcast intent when the Google account preferences page is launching
// the location settings.
private static final String LAUNCHING_LOCATION_SETTINGS = "com.android.settings.accounts.LAUNCHING_LOCATION_SETTINGS";
1.24.2. AccountTypePreferenceLoaderMethod方法列表
1.24.2.1. addPreferencesForType(final String accountType,PreferenceScreen parent)
public PreferenceScreen addPreferencesForType(final String accountType, PreferenceScreen parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"PreferenceScreen" ,"addPreferencesForType", "final String accountType,PreferenceScreen parent"));
1.24.2.2. updatePreferenceIntents(PreferenceGroup prefs,final String acccountType,Account account)
public void updatePreferenceIntents(PreferenceGroup prefs, final String acccountType, Account account)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceIntents", "PreferenceGroup prefs,final String acccountType,Account account"));
1.24.2.3. isSafeIntent(PackageManager pm,Intent intent,String acccountType)
private boolean isSafeIntent(PackageManager pm, Intent intent, String acccountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSafeIntent", "PackageManager pm,Intent intent,String acccountType"));
1.25. ActionBarShadowController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ActionBarShadowController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.25.1. ActionBarShadowController Field属性列表
1.25.1.1. ScrollChangeWatcher mScrollChangeWatcher;
@VisibleForTesting
ScrollChangeWatcher mScrollChangeWatcher;
1.25.1.2. RecyclerView mRecyclerView;
private RecyclerView mRecyclerView;
1.25.1.3. boolean isScrollWatcherAttached;
private boolean isScrollWatcherAttached;
1.25.1.4. static final float ELEVATION_HIGH
@VisibleForTesting
static final float ELEVATION_HIGH = 8;
1.25.1.5. static final float ELEVATION_LOW
@VisibleForTesting
static final float ELEVATION_LOW = 0;
1.25.2. ActionBarShadowControllerMethod方法列表
1.25.2.1. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.25.2.2. detachScrollWatcher()
private void detachScrollWatcher()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"detachScrollWatcher", ""));
1.25.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.25.2.4. attachScrollWatcher()
private void attachScrollWatcher()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"attachScrollWatcher", ""));
1.25.2.5. static attachToRecyclerView(Activity activity,Lifecycle lifecycle,RecyclerView recyclerView)
public static ActionBarShadowController attachToRecyclerView(Activity activity, Lifecycle lifecycle, RecyclerView recyclerView)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionBarShadowController" ,"attachToRecyclerView", "Activity activity,Lifecycle lifecycle,RecyclerView recyclerView"));
1.25.2.6. static attachToRecyclerView(View anchorView,Lifecycle lifecycle,RecyclerView recyclerView)
public static ActionBarShadowController attachToRecyclerView(View anchorView, Lifecycle lifecycle, RecyclerView recyclerView)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionBarShadowController" ,"attachToRecyclerView", "View anchorView,Lifecycle lifecycle,RecyclerView recyclerView"));
1.26. ActionButtonPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ActionButtonPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.26.1. ActionButtonPreference Field属性列表
1.26.1.1. final ButtonInfo mButton1Info
private final ButtonInfo mButton1Info = new ButtonInfo();
1.26.1.2. final ButtonInfo mButton2Info
private final ButtonInfo mButton2Info = new ButtonInfo();
1.26.2. ActionButtonPreferenceMethod方法列表
1.26.2.1. init()
private void init()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", ""));
1.26.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.26.2.3. setButton1Text(@StringRes int textResId)
public ActionButtonPreference setButton1Text(@StringRes int textResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton1Text", "@StringRes int textResId"));
1.26.2.4. setButton1Enabled(boolean isEnabled)
public ActionButtonPreference setButton1Enabled(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton1Enabled", "boolean isEnabled"));
1.26.2.5. setButton2Text(@StringRes int textResId)
public ActionButtonPreference setButton2Text(@StringRes int textResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton2Text", "@StringRes int textResId"));
1.26.2.6. setButton2Enabled(boolean isEnabled)
public ActionButtonPreference setButton2Enabled(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton2Enabled", "boolean isEnabled"));
1.26.2.7. setButton1OnClickListener(View.OnClickListener listener)
public ActionButtonPreference setButton1OnClickListener(View.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton1OnClickListener", "View.OnClickListener listener"));
1.26.2.8. setButton2OnClickListener(View.OnClickListener listener)
public ActionButtonPreference setButton2OnClickListener(View.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton2OnClickListener", "View.OnClickListener listener"));
1.26.2.9. setButton1Positive(boolean isPositive)
public ActionButtonPreference setButton1Positive(boolean isPositive)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton1Positive", "boolean isPositive"));
1.26.2.10. setButton2Positive(boolean isPositive)
public ActionButtonPreference setButton2Positive(boolean isPositive)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton2Positive", "boolean isPositive"));
1.26.2.11. setButton1Visible(boolean isPositive)
public ActionButtonPreference setButton1Visible(boolean isPositive)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton1Visible", "boolean isPositive"));
1.26.2.12. setButton2Visible(boolean isPositive)
public ActionButtonPreference setButton2Visible(boolean isPositive)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActionButtonPreference" ,"setButton2Visible", "boolean isPositive"));
1.27. ActionDisabledByAdminDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ActionDisabledByAdminDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.27.1. ActionDisabledByAdminDialog Field属性列表
1.27.1.1. ActionDisabledByAdminDialogHelper mDialogHelper;
private ActionDisabledByAdminDialogHelper mDialogHelper;
1.27.2. ActionDisabledByAdminDialogMethod方法列表
1.27.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.27.2.2. onNewIntent(Intent intent)
public void onNewIntent(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNewIntent", "Intent intent"));
1.27.2.3. getAdminDetailsFromIntent(Intent intent)
EnforcedAdmin getAdminDetailsFromIntent(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getAdminDetailsFromIntent", "Intent intent"));
1.27.2.4. getRestrictionFromIntent(Intent intent)
String getRestrictionFromIntent(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getRestrictionFromIntent", "Intent intent"));
1.27.2.5. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.28. ActionDisabledByAdminDialogHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.28.1. ActionDisabledByAdminDialogHelper Field属性列表
1.28.1.1. EnforcedAdmin mEnforcedAdmin;
private EnforcedAdmin mEnforcedAdmin;
1.28.1.2. ViewGroup mDialogView;
private ViewGroup mDialogView;
1.28.1.3. String mRestriction
private String mRestriction = null;
1.28.1.4. Activity mActivity;
private Activity mActivity;
1.28.1.5. static final String TAG
private static final String TAG = ActionDisabledByAdminDialogHelper.class.getName();
1.28.2. ActionDisabledByAdminDialogHelperMethod方法列表
1.28.2.1. prepareDialogBuilder(String restriction,EnforcedAdmin enforcedAdmin)
public AlertDialog.Builder prepareDialogBuilder(String restriction, EnforcedAdmin enforcedAdmin)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog.Builder" ,"prepareDialogBuilder", "String restriction,EnforcedAdmin enforcedAdmin"));
1.28.2.2. updateDialog(String restriction,EnforcedAdmin admin)
public void updateDialog(String restriction, EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDialog", "String restriction,EnforcedAdmin admin"));
1.28.2.3. initializeDialogViews(View root,ComponentName admin,int userId,String restriction)
private void initializeDialogViews(View root, ComponentName admin, int userId, String restriction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeDialogViews", "View root,ComponentName admin,int userId,String restriction"));
1.28.2.4. setAdminSupportTitle(View root,String restriction)
void setAdminSupportTitle(View root, String restriction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAdminSupportTitle", "View root,String restriction"));
1.28.2.5. setAdminSupportDetails(final Activity activity,final View root,final EnforcedAdmin enforcedAdmin)
void setAdminSupportDetails(final Activity activity, final View root, final EnforcedAdmin enforcedAdmin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAdminSupportDetails", "final Activity activity,final View root,final EnforcedAdmin enforcedAdmin"));
1.28.2.6. showAdminPolicies(final EnforcedAdmin enforcedAdmin,final Activity activity)
void showAdminPolicies(final EnforcedAdmin enforcedAdmin, final Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showAdminPolicies", "final EnforcedAdmin enforcedAdmin,final Activity activity"));
1.29. ActivationWarningFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deletionhelper/ActivationWarningFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.29.1. ActivationWarningFragment Field属性列表
1.29.1.1. static final String TAG
public static final String TAG = "ActivationWarningFragment";
1.29.2. ActivationWarningFragmentMethod方法列表
1.29.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.29.2.2. static newInstance()
public static ActivationWarningFragment newInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"ActivationWarningFragment" ,"newInstance", ""));
1.30. ActivityPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ActivityPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.30.1. ActivityPicker Field属性列表
1.30.1.1. PickAdapter mAdapter;
/**
* Adapter of items that are displayed in this dialog.
*/
private PickAdapter mAdapter;
1.30.1.2. Intent mBaseIntent;
/**
* Base {@link Intent} used when building list.
*/
private Intent mBaseIntent;
1.30.2. ActivityPickerMethod方法列表
1.30.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.30.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.30.2.3. onCancel(DialogInterface dialog)
public void onCancel(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancel", "DialogInterface dialog"));
1.30.2.4. getIntentForPosition(int position)
protected Intent getIntentForPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentForPosition", "int position"));
1.30.2.5. getItems()
protected List getItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getItems", ""));
1.30.2.6. putIntentItems(Intent baseIntent,List items)
protected void putIntentItems(Intent baseIntent, List items)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"putIntentItems", "Intent baseIntent,List items"));
1.31. AdbClearKeysDialogHost.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AdbClearKeysDialogHost.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.32. AdbDialogHost.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AdbDialogHost.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.33. AdbOnChangeListener.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AdbOnChangeListener.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.34. AdbPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AdbPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.34.1. AdbPreferenceController Field属性列表
1.34.1.1. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.34.2. AdbPreferenceControllerMethod方法列表
1.34.2.1. onAdbDialogConfirmed()
public void onAdbDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAdbDialogConfirmed", ""));
1.34.2.2. onAdbDialogDismissed()
public void onAdbDialogDismissed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAdbDialogDismissed", ""));
1.34.2.3. showConfirmationDialog(@Nullable Preference preference)
public void showConfirmationDialog(@Nullable Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showConfirmationDialog", "@Nullable Preference preference"));
1.34.2.4. dismissConfirmationDialog()
public void dismissConfirmationDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismissConfirmationDialog", ""));
1.34.2.5. isConfirmationDialogShowing()
public boolean isConfirmationDialogShowing()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConfirmationDialogShowing", ""));
1.34.2.6. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.35. AddAccountSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/AddAccountSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.35.1. AddAccountSettings Field属性列表
1.35.1.1. PendingIntent mPendingIntent;
private PendingIntent mPendingIntent;
1.35.1.2. boolean mAddAccountCalled
private boolean mAddAccountCalled = false;
1.35.1.3. UserHandle mUserHandle;
private UserHandle mUserHandle;
1.35.1.4. final AccountManagerCallback mCallback
private final AccountManagerCallback mCallback = new AccountManagerCallback() {
@Override
public void run(AccountManagerFuture future) {
boolean done = true;
try {
Bundle bundle = future.getResult();
//bundle.keySet();
Intent intent = (Intent) bundle.get(AccountManager.KEY_INTENT);
if (intent != null) {
done = false;
Bundle addAccountOptions = new Bundle();
addAccountOptions.putParcelable(KEY_CALLER_IDENTITY, mPendingIntent);
addAccountOptions.putBoolean(EXTRA_HAS_MULTIPLE_USERS, Utils.hasMultipleUsers(AddAccountSettings.this));
addAccountOptions.putParcelable(EXTRA_USER, mUserHandle);
intent.putExtras(addAccountOptions);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityForResultAsUser(intent, ADD_ACCOUNT_REQUEST, mUserHandle);
} else {
setResult(RESULT_OK);
if (mPendingIntent != null) {
mPendingIntent.cancel();
mPendingIntent = null;
}
}
if (Log.isLoggable(TAG, Log.VERBOSE))
Log.v(TAG, "account added: " + bundle);
} catch (OperationCanceledException e) {
if (Log.isLoggable(TAG, Log.VERBOSE))
Log.v(TAG, "addAccount was canceled");
} catch (IOException e) {
if (Log.isLoggable(TAG, Log.VERBOSE))
Log.v(TAG, "addAccount failed: " + e);
} catch (AuthenticatorException e) {
if (Log.isLoggable(TAG, Log.VERBOSE))
Log.v(TAG, "addAccount failed: " + e);
} finally {
if (done) {
finish();
}
}
}
};
1.35.1.5. static final String KEY_ADD_CALLED
/**
*
*/
private static final String KEY_ADD_CALLED = "AddAccountCalled";
1.35.1.6. static final String KEY_CALLER_IDENTITY
/**
* Extra parameter to identify the caller. Applications may display a
* different UI if the calls is made from Settings or from a specific
* application.
*/
private static final String KEY_CALLER_IDENTITY = "pendingIntent";
1.35.1.7. static final String SHOULD_NOT_RESOLVE
private static final String SHOULD_NOT_RESOLVE = "SHOULDN'T RESOLVE!";
1.35.1.8. static final String TAG
private static final String TAG = "AddAccountSettings";
1.35.1.9. static final String EXTRA_SELECTED_ACCOUNT
/* package */
static final String EXTRA_SELECTED_ACCOUNT = "selected_account";
1.35.1.10. static final String EXTRA_HAS_MULTIPLE_USERS
// show additional info regarding the use of a device with multiple users
static final String EXTRA_HAS_MULTIPLE_USERS = "hasMultipleUsers";
1.35.1.11. static final int CHOOSE_ACCOUNT_REQUEST
private static final int CHOOSE_ACCOUNT_REQUEST = 1;
1.35.1.12. static final int ADD_ACCOUNT_REQUEST
private static final int ADD_ACCOUNT_REQUEST = 2;
1.35.1.13. static final int UNLOCK_WORK_PROFILE_REQUEST
private static final int UNLOCK_WORK_PROFILE_REQUEST = 3;
1.35.2. AddAccountSettingsMethod方法列表
1.35.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.35.2.2. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.35.2.3. onSaveInstanceState(Bundle outState)
protected void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.35.2.4. requestChooseAccount()
private void requestChooseAccount()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestChooseAccount", ""));
1.35.2.5. addAccount(String accountType)
private void addAccount(String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addAccount", "String accountType"));
1.36. AddDevicePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/AddDevicePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.36.1. AddDevicePreferenceController Field属性列表
1.36.1.1. Preference mPreference;
private Preference mPreference;
1.36.1.2. IntentFilter mIntentFilter;
private IntentFilter mIntentFilter;
1.36.1.3. BluetoothAdapter mBluetoothAdapter;
private BluetoothAdapter mBluetoothAdapter;
1.36.1.4. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
updateState();
}
};
1.36.2. AddDevicePreferenceControllerMethod方法列表
1.36.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.36.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.36.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.36.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.36.2.5. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.36.2.6. updateState()
void updateState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", ""));
1.37. AdditionalSystemUpdatePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/AdditionalSystemUpdatePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.37.1. AdditionalSystemUpdatePreferenceController Field属性列表
1.37.1.1. static final String KEY_UPDATE_SETTING
private static final String KEY_UPDATE_SETTING = "additional_system_update_settings";
1.37.2. AdditionalSystemUpdatePreferenceControllerMethod方法列表
1.37.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.38. AddUserWhenLockedPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/AddUserWhenLockedPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.38.1. AddUserWhenLockedPreferenceController Field属性列表
1.38.1.1. boolean mShouldUpdateUserList;
private boolean mShouldUpdateUserList;
1.38.1.2. final String mPrefKey;
private final String mPrefKey;
1.38.1.3. final UserCapabilities mUserCaps;
private final UserCapabilities mUserCaps;
1.38.2. AddUserWhenLockedPreferenceControllerMethod方法列表
1.38.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.38.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.38.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.38.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.38.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.38.2.6. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.39. AdjustVolumeRestrictedPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AdjustVolumeRestrictedPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.39.1. AdjustVolumeRestrictedPreferenceController Field属性列表
1.39.1.1. AccountRestrictionHelper mHelper;
private AccountRestrictionHelper mHelper;
1.39.2. AdjustVolumeRestrictedPreferenceControllerMethod方法列表
1.39.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.39.2.2. getIntentFilter()
public IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.40. AdminActionPreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AdminActionPreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.40.1. AdminActionPreferenceControllerBase Field属性列表
1.40.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
protected final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.40.2. AdminActionPreferenceControllerBaseMethod方法列表
1.40.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.40.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.40.2.3. abstract getAdminActionTimestamp()
protected abstract Date getAdminActionTimestamp()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getAdminActionTimestamp", ""));
1.41. AdminGrantedCameraPermissionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AdminGrantedCameraPermissionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.41.1. AdminGrantedCameraPermissionPreferenceController Field属性列表
1.41.1.1. static final String KEY_ENTERPRISE_PRIVACY_NUMBER_CAMERA_ACCESS_PACKAGES
private static final String KEY_ENTERPRISE_PRIVACY_NUMBER_CAMERA_ACCESS_PACKAGES = "enterprise_privacy_number_camera_access_packages";
1.41.2. AdminGrantedCameraPermissionPreferenceControllerMethod方法列表
1.41.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.42. AdminGrantedLocationPermissionsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AdminGrantedLocationPermissionsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.42.1. AdminGrantedLocationPermissionsPreferenceController Field属性列表
1.42.1.1. static final String KEY_ENTERPRISE_PRIVACY_NUMBER_LOCATION_ACCESS_PACKAGES
private static final String KEY_ENTERPRISE_PRIVACY_NUMBER_LOCATION_ACCESS_PACKAGES = "enterprise_privacy_number_location_access_packages";
1.42.2. AdminGrantedLocationPermissionsPreferenceControllerMethod方法列表
1.42.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.43. AdminGrantedMicrophonePermissionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AdminGrantedMicrophonePermissionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.43.1. AdminGrantedMicrophonePermissionPreferenceController Field属性列表
1.43.1.1. static final String KEY_ENTERPRISE_PRIVACY_NUMBER_MICROPHONE_ACCESS_PACKAGES
private static final String KEY_ENTERPRISE_PRIVACY_NUMBER_MICROPHONE_ACCESS_PACKAGES = "enterprise_privacy_number_microphone_access_packages";
1.43.2. AdminGrantedMicrophonePermissionPreferenceControllerMethod方法列表
1.43.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.44. AdminGrantedPermissionsPreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AdminGrantedPermissionsPreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.44.1. AdminGrantedPermissionsPreferenceControllerBase Field属性列表
1.44.1.1. boolean mHasApps;
private boolean mHasApps;
1.44.1.2. final String[] mPermissions;
private final String[] mPermissions;
1.44.1.3. final ApplicationFeatureProvider mFeatureProvider;
private final ApplicationFeatureProvider mFeatureProvider;
1.44.1.4. final boolean mAsync;
private final boolean mAsync;
1.44.2. AdminGrantedPermissionsPreferenceControllerBaseMethod方法列表
1.44.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.44.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.44.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.45. AdvancedAppInfoPreferenceCategoryController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AdvancedAppInfoPreferenceCategoryController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.45.1. AdvancedAppInfoPreferenceCategoryController Field属性列表
1.45.2. AdvancedAppInfoPreferenceCategoryControllerMethod方法列表
1.46. AdvancedConnectedDeviceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/AdvancedConnectedDeviceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.46.1. AdvancedConnectedDeviceController Field属性列表
1.46.1.1. static final String DRIVING_MODE_SETTINGS_ENABLED
private static final String DRIVING_MODE_SETTINGS_ENABLED = "gearhead:driving_mode_settings_enabled";
1.46.2. AdvancedConnectedDeviceControllerMethod方法列表
1.46.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.46.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.46.2.3. static getConnectedDevicesSummaryResourceId(Context context)
public static int getConnectedDevicesSummaryResourceId(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getConnectedDevicesSummaryResourceId", "Context context"));
1.46.2.4. static isDrivingModeAvailable(Context context)
static boolean isDrivingModeAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDrivingModeAvailable", "Context context"));
1.46.2.5. static getConnectedDevicesSummaryResourceId(NfcPreferenceController nfcPreferenceController,boolean isDrivingModeAvailable)
static int getConnectedDevicesSummaryResourceId(NfcPreferenceController nfcPreferenceController, boolean isDrivingModeAvailable)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getConnectedDevicesSummaryResourceId", "NfcPreferenceController nfcPreferenceController,boolean isDrivingModeAvailable"));
1.47. AdvancedConnectedDeviceDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/AdvancedConnectedDeviceDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.47.1. AdvancedConnectedDeviceDashboardFragment Field属性列表
1.47.1.1. static final String TAG
private static final String TAG = "AdvancedConnectedDeviceFrag";
1.47.1.2. static final String KEY_BLUETOOTH
static final String KEY_BLUETOOTH = "bluetooth_settings";
1.47.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.connected_devices_advanced;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
PackageManager pm = context.getPackageManager();
if (!pm.hasSystemFeature(PackageManager.FEATURE_NFC)) {
keys.add(AndroidBeamPreferenceController.KEY_ANDROID_BEAM_SETTINGS);
}
// Parent duplicate
keys.add(KEY_BLUETOOTH);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildControllers(context, null);
}
};
1.47.2. AdvancedConnectedDeviceDashboardFragmentMethod方法列表
1.47.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.47.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.47.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.47.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.47.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.47.2.6. static buildControllers(Context context,Lifecycle lifecycle)
private static List buildControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildControllers", "Context context,Lifecycle lifecycle"));
1.48. AdvancedPowerUsageDetail.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/AdvancedPowerUsageDetail.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.48.1. AdvancedPowerUsageDetail Field属性列表
1.48.1.1. LayoutPreference mHeaderPreference;
@VisibleForTesting
LayoutPreference mHeaderPreference;
1.48.1.2. ApplicationsState mState;
@VisibleForTesting
ApplicationsState mState;
1.48.1.3. ApplicationsState.AppEntry mAppEntry;
@VisibleForTesting
ApplicationsState.AppEntry mAppEntry;
1.48.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.48.1.5. Preference mForegroundPreference;
@VisibleForTesting
Preference mForegroundPreference;
1.48.1.6. Preference mBackgroundPreference;
@VisibleForTesting
Preference mBackgroundPreference;
1.48.1.7. AnomalySummaryPreferenceController mAnomalySummaryPreferenceController;
@VisibleForTesting
AnomalySummaryPreferenceController mAnomalySummaryPreferenceController;
1.48.1.8. AppButtonsPreferenceController mAppButtonsPreferenceController;
private AppButtonsPreferenceController mAppButtonsPreferenceController;
1.48.1.9. BackgroundActivityPreferenceController mBackgroundActivityPreferenceController;
private BackgroundActivityPreferenceController mBackgroundActivityPreferenceController;
1.48.1.10. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.48.1.11. UserManager mUserManager;
private UserManager mUserManager;
1.48.1.12. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.48.1.13. List mAnomalies;
private List mAnomalies;
1.48.1.14. String mPackageName;
private String mPackageName;
1.48.1.15. static final String TAG
public static final String TAG = "AdvancedPowerDetail";
1.48.1.16. static final String EXTRA_UID
public static final String EXTRA_UID = "extra_uid";
1.48.1.17. static final String EXTRA_PACKAGE_NAME
public static final String EXTRA_PACKAGE_NAME = "extra_package_name";
1.48.1.18. static final String EXTRA_FOREGROUND_TIME
public static final String EXTRA_FOREGROUND_TIME = "extra_foreground_time";
1.48.1.19. static final String EXTRA_BACKGROUND_TIME
public static final String EXTRA_BACKGROUND_TIME = "extra_background_time";
1.48.1.20. static final String EXTRA_LABEL
public static final String EXTRA_LABEL = "extra_label";
1.48.1.21. static final String EXTRA_ICON_ID
public static final String EXTRA_ICON_ID = "extra_icon_id";
1.48.1.22. static final String EXTRA_POWER_USAGE_PERCENT
public static final String EXTRA_POWER_USAGE_PERCENT = "extra_power_usage_percent";
1.48.1.23. static final String EXTRA_POWER_USAGE_AMOUNT
public static final String EXTRA_POWER_USAGE_AMOUNT = "extra_power_usage_amount";
1.48.1.24. static final String EXTRA_ANOMALY_LIST
public static final String EXTRA_ANOMALY_LIST = "extra_anomaly_list";
1.48.1.25. static final String KEY_PREF_FOREGROUND
private static final String KEY_PREF_FOREGROUND = "app_usage_foreground";
1.48.1.26. static final String KEY_PREF_BACKGROUND
private static final String KEY_PREF_BACKGROUND = "app_usage_background";
1.48.1.27. static final String KEY_PREF_HEADER
private static final String KEY_PREF_HEADER = "header_view";
1.48.1.28. static final int REQUEST_UNINSTALL
private static final int REQUEST_UNINSTALL = 0;
1.48.1.29. static final int REQUEST_REMOVE_DEVICE_ADMIN
private static final int REQUEST_REMOVE_DEVICE_ADMIN = 1;
1.48.1.30. static final int ANOMALY_LOADER
private static final int ANOMALY_LOADER = 0;
1.48.2. AdvancedPowerUsageDetailMethod方法列表
1.48.2.1. onAttach(Activity activity)
public void onAttach(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Activity activity"));
1.48.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.48.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.48.2.4. initAnomalyInfo()
void initAnomalyInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initAnomalyInfo", ""));
1.48.2.5. initHeader()
void initHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initHeader", ""));
1.48.2.6. initPreference()
void initPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreference", ""));
1.48.2.7. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.48.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.48.2.9. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.48.2.10. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.48.2.11. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.48.2.12. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.48.2.13. handleDialogClick(int id)
public void handleDialogClick(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleDialogClick", "int id"));
1.48.2.14. onAnomalyHandled(Anomaly anomaly)
public void onAnomalyHandled(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAnomalyHandled", "Anomaly anomaly"));
1.48.2.15. onCreateLoader(int id,Bundle args)
public Loader> onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader>" ,"onCreateLoader", "int id,Bundle args"));
1.48.2.16. onLoadFinished(Loader> loader,List data)
public void onLoadFinished(Loader> loader, List data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader> loader,List data"));
1.48.2.17. onLoaderReset(Loader> loader)
public void onLoaderReset(Loader> loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader> loader"));
1.48.2.18. onBatteryTipHandled(BatteryTip batteryTip)
public void onBatteryTipHandled(BatteryTip batteryTip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryTipHandled", "BatteryTip batteryTip"));
1.48.2.19. static startBatteryDetailPage(Activity caller,BatteryUtils batteryUtils,InstrumentedPreferenceFragment fragment,BatteryStatsHelper helper,int which,BatteryEntry entry,String usagePercent,List anomalies)
static void startBatteryDetailPage(Activity caller, BatteryUtils batteryUtils, InstrumentedPreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, List anomalies)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startBatteryDetailPage", "Activity caller,BatteryUtils batteryUtils,InstrumentedPreferenceFragment fragment,BatteryStatsHelper helper,int which,BatteryEntry entry,String usagePercent,List anomalies"));
1.48.2.20. static getUserIdToLaunchAdvancePowerUsageDetail(BatterySipper bs)
private static int getUserIdToLaunchAdvancePowerUsageDetail(BatterySipper bs)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserIdToLaunchAdvancePowerUsageDetail", "BatterySipper bs"));
1.48.2.21. static startBatteryDetailPage(Activity caller,InstrumentedPreferenceFragment fragment,BatteryStatsHelper helper,int which,BatteryEntry entry,String usagePercent,List anomalies)
public static void startBatteryDetailPage(Activity caller, InstrumentedPreferenceFragment fragment, BatteryStatsHelper helper, int which, BatteryEntry entry, String usagePercent, List anomalies)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startBatteryDetailPage", "Activity caller,InstrumentedPreferenceFragment fragment,BatteryStatsHelper helper,int which,BatteryEntry entry,String usagePercent,List anomalies"));
1.48.2.22. static startBatteryDetailPage(Activity caller,InstrumentedPreferenceFragment fragment,String packageName)
public static void startBatteryDetailPage(Activity caller, InstrumentedPreferenceFragment fragment, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startBatteryDetailPage", "Activity caller,InstrumentedPreferenceFragment fragment,String packageName"));
1.49. AirplaneModeCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/AirplaneModeCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.49.1. AirplaneModeCondition Field属性列表
1.49.1.1. final Receiver mReceiver;
private final Receiver mReceiver;
1.49.1.2. static String TAG
public static String TAG = "APM_Condition";
1.49.1.3. static final IntentFilter AIRPLANE_MODE_FILTER
private static final IntentFilter AIRPLANE_MODE_FILTER = new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED);
1.49.2. AirplaneModeConditionMethod方法列表
1.49.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.49.2.2. getReceiver()
protected BroadcastReceiver getReceiver()
methodList.add(new ZMethod(mZAndroidAPPClass,"BroadcastReceiver" ,"getReceiver", ""));
1.49.2.3. getIntentFilter()
protected IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.49.2.4. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.49.2.5. setActive(boolean active)
protected void setActive(boolean active)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActive", "boolean active"));
1.49.2.6. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.49.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.49.2.8. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.49.2.9. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.49.2.10. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.49.2.11. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.50. AirplaneModeEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AirplaneModeEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.50.1. AirplaneModeEnabler Field属性列表
1.50.1.1. PhoneStateIntentReceiver mPhoneStateReceiver;
private PhoneStateIntentReceiver mPhoneStateReceiver;
1.50.1.2. OnAirplaneModeChangedListener mOnAirplaneModeChangedListener;
private OnAirplaneModeChangedListener mOnAirplaneModeChangedListener;
1.50.1.3. Handler mHandler
private Handler mHandler = new Handler(Looper.getMainLooper()) {
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case EVENT_SERVICE_STATE_CHANGED:
onAirplaneModeChanged();
break;
}
}
};
1.50.1.4. ContentObserver mAirplaneModeObserver
private ContentObserver mAirplaneModeObserver = new ContentObserver(new Handler(Looper.getMainLooper())) {
@Override
public void onChange(boolean selfChange) {
onAirplaneModeChanged();
}
};
1.50.1.5. final Context mContext;
private final Context mContext;
1.50.1.6. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.50.1.7. static final int EVENT_SERVICE_STATE_CHANGED
private static final int EVENT_SERVICE_STATE_CHANGED = 3;
1.50.2. AirplaneModeEnablerMethod方法列表
1.50.2.1. resume()
public void resume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", ""));
1.50.2.2. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.50.2.3. setAirplaneModeOn(boolean enabling)
private void setAirplaneModeOn(boolean enabling)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAirplaneModeOn", "boolean enabling"));
1.50.2.4. onAirplaneModeChanged()
private void onAirplaneModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAirplaneModeChanged", ""));
1.50.2.5. setAirplaneMode(boolean isAirplaneModeOn)
public void setAirplaneMode(boolean isAirplaneModeOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAirplaneMode", "boolean isAirplaneModeOn"));
1.50.2.6. setAirplaneModeInECM(boolean isECMExit,boolean isAirplaneModeOn)
public void setAirplaneModeInECM(boolean isECMExit, boolean isAirplaneModeOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAirplaneModeInECM", "boolean isECMExit,boolean isAirplaneModeOn"));
1.50.2.7. isAirplaneModeOn()
public boolean isAirplaneModeOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAirplaneModeOn", ""));
1.51. AirplaneModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/AirplaneModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.51.1. AirplaneModePreferenceController Field属性列表
1.51.1.1. Fragment mFragment;
private Fragment mFragment;
1.51.1.2. AirplaneModeEnabler mAirplaneModeEnabler;
private AirplaneModeEnabler mAirplaneModeEnabler;
1.51.1.3. SwitchPreference mAirplaneModePreference;
private SwitchPreference mAirplaneModePreference;
1.51.1.4. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.51.1.5. static final int REQUEST_CODE_EXIT_ECM
public static final int REQUEST_CODE_EXIT_ECM = 1;
1.51.1.6. static final String EXIT_ECM_RESULT
private static final String EXIT_ECM_RESULT = "exit_ecm_result";
1.51.2. AirplaneModePreferenceControllerMethod方法列表
1.51.2.1. setFragment(Fragment hostFragment)
public void setFragment(Fragment hostFragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFragment", "Fragment hostFragment"));
1.51.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.51.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.51.2.4. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.51.2.5. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.51.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.51.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.51.2.8. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.51.2.9. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.51.2.10. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.51.2.11. onAirplaneModeChanged(boolean isAirplaneModeOn)
public void onAirplaneModeChanged(boolean isAirplaneModeOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAirplaneModeChanged", "boolean isAirplaneModeOn"));
1.51.2.12. static isAvailable(Context context)
public static boolean isAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", "Context context"));
1.52. AirplaneModeVoiceActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AirplaneModeVoiceActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.52.1. AirplaneModeVoiceActivity Field属性列表
1.52.1.1. static final String TAG
private static final String TAG = "AirplaneModeVoiceActivity";
1.52.2. AirplaneModeVoiceActivityMethod方法列表
1.52.2.1. onVoiceSettingInteraction(Intent intent)
protected boolean onVoiceSettingInteraction(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onVoiceSettingInteraction", "Intent intent"));
1.53. AlarmRingtonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AlarmRingtonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.53.1. AlarmRingtonePreferenceController Field属性列表
1.53.1.1. static final String KEY_ALARM_RINGTONE
private static final String KEY_ALARM_RINGTONE = "alarm_ringtone";
1.53.2. AlarmRingtonePreferenceControllerMethod方法列表
1.53.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.53.2.2. getRingtoneType()
public int getRingtoneType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingtoneType", ""));
1.54. AlarmVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AlarmVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.54.1. AlarmVolumePreferenceController Field属性列表
1.54.1.1. static final String KEY_ALARM_VOLUME
private static final String KEY_ALARM_VOLUME = "alarm_volume";
1.54.2. AlarmVolumePreferenceControllerMethod方法列表
1.54.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.54.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.54.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.54.2.4. getAudioStream()
public int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.54.2.5. getMuteIcon()
public int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.55. AllowAppsOnExternalPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AllowAppsOnExternalPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.55.1. AllowAppsOnExternalPreferenceController Field属性列表
1.55.1.1. static final String FORCE_ALLOW_ON_EXTERNAL_KEY
private static final String FORCE_ALLOW_ON_EXTERNAL_KEY = "force_allow_on_external";
1.55.1.2. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.55.1.3. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.55.2. AllowAppsOnExternalPreferenceControllerMethod方法列表
1.55.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.55.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.55.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.55.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.56. AllowBindAppWidgetActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AllowBindAppWidgetActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.56.1. AllowBindAppWidgetActivity Field属性列表
1.56.1.1. CheckBox mAlwaysUse;
private CheckBox mAlwaysUse;
1.56.1.2. int mAppWidgetId;
private int mAppWidgetId;
1.56.1.3. Bundle mBindOptions;
private Bundle mBindOptions;
1.56.1.4. UserHandle mProfile;
private UserHandle mProfile;
1.56.1.5. ComponentName mComponentName;
private ComponentName mComponentName;
1.56.1.6. String mCallingPackage;
private String mCallingPackage;
1.56.1.7. AppWidgetManager mAppWidgetManager;
private AppWidgetManager mAppWidgetManager;
1.56.1.8. boolean mClicked;
// Indicates whether this activity was closed because of a click
private boolean mClicked;
1.56.2. AllowBindAppWidgetActivityMethod方法列表
1.56.2.1. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.56.2.2. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.56.2.3. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.57. AllowSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AllowSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.57.1. AllowSoundPreferenceController Field属性列表
1.57.1.1. NotificationSettingsBase.ImportanceListener mImportanceListener;
private NotificationSettingsBase.ImportanceListener mImportanceListener;
1.57.1.2. static final String TAG
private static final String TAG = "AllowSoundPrefContr";
1.57.1.3. static final String KEY_IMPORTANCE
private static final String KEY_IMPORTANCE = "allow_sound";
1.57.2. AllowSoundPreferenceControllerMethod方法列表
1.57.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.57.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.57.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.57.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.58. AlwaysDiscoverable.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/AlwaysDiscoverable.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.58.1. AlwaysDiscoverable Field属性列表
1.58.1.1. Context mContext;
private Context mContext;
1.58.1.2. LocalBluetoothAdapter mLocalAdapter;
private LocalBluetoothAdapter mLocalAdapter;
1.58.1.3. IntentFilter mIntentFilter;
private IntentFilter mIntentFilter;
1.58.1.4. boolean mStarted;
@VisibleForTesting
boolean mStarted;
1.58.1.5. static final String TAG
private static final String TAG = "AlwaysDiscoverable";
1.58.2. AlwaysDiscoverableMethod方法列表
1.58.2.1. start()
public void start()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"start", ""));
1.58.2.2. stop()
public void stop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stop", ""));
1.58.2.3. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.59. AlwaysOnVpnCurrentUserPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AlwaysOnVpnCurrentUserPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.59.1. AlwaysOnVpnCurrentUserPreferenceController Field属性列表
1.59.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.59.1.2. static final String KEY_ALWAYS_ON_VPN_PRIMARY_USER
private static final String KEY_ALWAYS_ON_VPN_PRIMARY_USER = "always_on_vpn_primary_user";
1.59.2. AlwaysOnVpnCurrentUserPreferenceControllerMethod方法列表
1.59.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.59.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.59.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.60. AlwaysOnVpnManagedProfilePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/AlwaysOnVpnManagedProfilePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.60.1. AlwaysOnVpnManagedProfilePreferenceController Field属性列表
1.60.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.60.1.2. static final String KEY_ALWAYS_ON_VPN_MANAGED_PROFILE
private static final String KEY_ALWAYS_ON_VPN_MANAGED_PROFILE = "always_on_vpn_managed_profile";
1.60.2. AlwaysOnVpnManagedProfilePreferenceControllerMethod方法列表
1.60.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.60.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.61. AmbientDisplayAlwaysOnPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AmbientDisplayAlwaysOnPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.61.1. AmbientDisplayAlwaysOnPreferenceController Field属性列表
1.61.1.1. AmbientDisplayConfiguration mConfig;
private AmbientDisplayConfiguration mConfig;
1.61.1.2. OnPreferenceChangedCallback mCallback;
private OnPreferenceChangedCallback mCallback;
1.61.1.3. final int ON
private final int ON = 1;
1.61.1.4. final int OFF
private final int OFF = 0;
1.61.1.5. static final int MY_USER
private static final int MY_USER = UserHandle.myUserId();
1.61.2. AmbientDisplayAlwaysOnPreferenceControllerMethod方法列表
1.61.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.61.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.61.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.61.2.4. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.61.2.5. setConfig(AmbientDisplayConfiguration config)
public AmbientDisplayAlwaysOnPreferenceController setConfig(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"AmbientDisplayAlwaysOnPreferenceController" ,"setConfig", "AmbientDisplayConfiguration config"));
1.61.2.6. setCallback(OnPreferenceChangedCallback callback)
public AmbientDisplayAlwaysOnPreferenceController setCallback(OnPreferenceChangedCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"AmbientDisplayAlwaysOnPreferenceController" ,"setCallback", "OnPreferenceChangedCallback callback"));
1.61.2.7. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.61.2.8. static isAlwaysOnEnabled(AmbientDisplayConfiguration config)
public static boolean isAlwaysOnEnabled(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAlwaysOnEnabled", "AmbientDisplayConfiguration config"));
1.61.2.9. static isAvailable(AmbientDisplayConfiguration config)
public static boolean isAvailable(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", "AmbientDisplayConfiguration config"));
1.61.2.10. static accessibilityInversionEnabled(AmbientDisplayConfiguration config)
public static boolean accessibilityInversionEnabled(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"accessibilityInversionEnabled", "AmbientDisplayConfiguration config"));
1.62. AmbientDisplayNotificationsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AmbientDisplayNotificationsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.62.1. AmbientDisplayNotificationsPreferenceController Field属性列表
1.62.1.1. AmbientDisplayConfiguration mConfig;
private AmbientDisplayConfiguration mConfig;
1.62.1.2. final int ON
private final int ON = 1;
1.62.1.3. final int OFF
private final int OFF = 0;
1.62.1.4. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.62.1.5. static final String KEY_AMBIENT_DISPLAY_NOTIFICATIONS
@VisibleForTesting
static final String KEY_AMBIENT_DISPLAY_NOTIFICATIONS = "ambient_display_notification";
1.62.1.6. static final int MY_USER
private static final int MY_USER = UserHandle.myUserId();
1.62.2. AmbientDisplayNotificationsPreferenceControllerMethod方法列表
1.62.2.1. setConfig(AmbientDisplayConfiguration config)
public AmbientDisplayNotificationsPreferenceController setConfig(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"AmbientDisplayNotificationsPreferenceController" ,"setConfig", "AmbientDisplayConfiguration config"));
1.62.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.62.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.62.2.4. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.62.2.5. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.62.2.6. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.62.2.7. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.63. AmbientDisplayPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AmbientDisplayPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.63.1. AmbientDisplayPreferenceController Field属性列表
1.63.1.1. final AmbientDisplayConfiguration mConfig;
private final AmbientDisplayConfiguration mConfig;
1.63.1.2. final String mKey;
private final String mKey;
1.63.1.3. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.63.2. AmbientDisplayPreferenceControllerMethod方法列表
1.63.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.63.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.63.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.64. AmbientDisplaySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AmbientDisplaySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.64.1. AmbientDisplaySettings Field属性列表
1.64.1.1. AmbientDisplayConfiguration mConfig;
private AmbientDisplayConfiguration mConfig;
1.64.1.2. static final String KEY_AMBIENT_DISPLAY_ALWAYS_ON
public static final String KEY_AMBIENT_DISPLAY_ALWAYS_ON = "ambient_display_always_on";
1.64.1.3. static final String TAG
private static final String TAG = "AmbientDisplaySettings";
1.64.1.4. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.ambient_display_settings;
result.add(sir);
return result;
}
};
1.64.2. AmbientDisplaySettingsMethod方法列表
1.64.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.64.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.64.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.64.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.64.2.5. getConfig(Context context)
private AmbientDisplayConfiguration getConfig(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AmbientDisplayConfiguration" ,"getConfig", "Context context"));
1.65. AndroidBeam.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/AndroidBeam.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.65.1. AndroidBeam Field属性列表
1.65.1.1. View mView;
private View mView;
1.65.1.2. NfcAdapter mNfcAdapter;
private NfcAdapter mNfcAdapter;
1.65.1.3. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.65.1.4. CharSequence mOldActivityTitle;
private CharSequence mOldActivityTitle;
1.65.1.5. boolean mBeamDisallowedByBase;
private boolean mBeamDisallowedByBase;
1.65.1.6. boolean mBeamDisallowedByOnlyAdmin;
private boolean mBeamDisallowedByOnlyAdmin;
1.65.2. AndroidBeamMethod方法列表
1.65.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.65.2.2. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.65.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.65.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.65.2.5. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.65.2.6. onSwitchChanged(Switch switchView,boolean desiredState)
public void onSwitchChanged(Switch switchView, boolean desiredState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean desiredState"));
1.65.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.66. AndroidBeamEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/AndroidBeamEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.66.1. AndroidBeamEnabler Field属性列表
1.66.1.1. final boolean mBeamDisallowedBySystem;
private final boolean mBeamDisallowedBySystem;
1.66.1.2. final RestrictedPreference mPreference;
private final RestrictedPreference mPreference;
1.66.2. AndroidBeamEnablerMethod方法列表
1.66.2.1. handleNfcStateChanged(int newState)
protected void handleNfcStateChanged(int newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleNfcStateChanged", "int newState"));
1.67. AndroidBeamPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/AndroidBeamPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.67.1. AndroidBeamPreferenceController Field属性列表
1.67.1.1. AndroidBeamEnabler mAndroidBeamEnabler;
private AndroidBeamEnabler mAndroidBeamEnabler;
1.67.1.2. NfcAirplaneModeObserver mAirplaneModeObserver;
private NfcAirplaneModeObserver mAirplaneModeObserver;
1.67.1.3. final NfcAdapter mNfcAdapter;
private final NfcAdapter mNfcAdapter;
1.67.1.4. static final String KEY_ANDROID_BEAM_SETTINGS
public static final String KEY_ANDROID_BEAM_SETTINGS = "android_beam_settings";
1.67.2. AndroidBeamPreferenceControllerMethod方法列表
1.67.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.67.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.67.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.67.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.68. AnimatorDurationScalePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AnimatorDurationScalePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.68.1. AnimatorDurationScalePreferenceController Field属性列表
1.68.1.1. final IWindowManager mWindowManager;
private final IWindowManager mWindowManager;
1.68.1.2. final String[] mListValues;
private final String[] mListValues;
1.68.1.3. final String[] mListSummaries;
private final String[] mListSummaries;
1.68.1.4. static final String ANIMATOR_DURATION_SCALE_KEY
private static final String ANIMATOR_DURATION_SCALE_KEY = "animator_duration_scale";
1.68.1.5. static final int ANIMATOR_DURATION_SCALE_SELECTOR
@VisibleForTesting
static final int ANIMATOR_DURATION_SCALE_SELECTOR = 2;
1.68.1.6. static final float DEFAULT_VALUE
@VisibleForTesting
static final float DEFAULT_VALUE = 1;
1.68.2. AnimatorDurationScalePreferenceControllerMethod方法列表
1.68.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.68.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.68.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.68.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.68.2.5. writeAnimationScaleOption(Object newValue)
private void writeAnimationScaleOption(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeAnimationScaleOption", "Object newValue"));
1.68.2.6. updateAnimationScaleValue()
private void updateAnimationScaleValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnimationScaleValue", ""));
1.69. AnnotationSpan.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/AnnotationSpan.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.69.1. AnnotationSpan Field属性列表
1.69.1.1. final View.OnClickListener mClickListener;
private final View.OnClickListener mClickListener;
1.69.2. AnnotationSpanMethod方法列表
1.69.2.1. onClick(View widget)
public void onClick(View widget)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View widget"));
1.69.2.2. updateDrawState(TextPaint ds)
public void updateDrawState(TextPaint ds)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDrawState", "TextPaint ds"));
1.69.2.3. static linkify(CharSequence rawText,LinkInfo... linkInfos)
public static CharSequence linkify(CharSequence rawText, LinkInfo... linkInfos)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"linkify", "CharSequence rawText,LinkInfo... linkInfos"));
1.70. Anomaly.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/Anomaly.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.70.1. Anomaly Field属性列表
1.70.1.1. final int type;
/**
* Type of this this anomaly
*/
public final int type;
1.70.1.2. final int uid;
public final int uid;
1.70.1.3. final int targetSdkVersion;
public final int targetSdkVersion;
1.70.1.4. final long wakelockTimeMs;
public final long wakelockTimeMs;
1.70.1.5. final long bluetoothScanningTimeMs;
public final long bluetoothScanningTimeMs;
1.70.1.6. final int wakeupAlarmCount;
public final int wakeupAlarmCount;
1.70.1.7. final boolean backgroundRestrictionEnabled;
/**
* {@code true} if background restriction is enabled
*
* @see android.app.AppOpsManager.OP_RUN_IN_BACKGROUND
*/
public final boolean backgroundRestrictionEnabled;
1.70.1.8. final CharSequence displayName;
/**
* Display name of this anomaly, usually it is the app name
*/
public final CharSequence displayName;
1.70.1.9. final String packageName;
public final String packageName;
1.70.1.10. static final int[] ANOMALY_TYPE_LIST
@AnomalyType
public static final int[] ANOMALY_TYPE_LIST = { AnomalyType.WAKE_LOCK, AnomalyType.WAKEUP_ALARM, AnomalyType.BLUETOOTH_SCAN };
1.70.1.11. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public Anomaly createFromParcel(Parcel in) {
return new Anomaly(in);
}
public Anomaly[] newArray(int size) {
return new Anomaly[size];
}
};
1.70.2. AnomalyMethod方法列表
1.70.2.1. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.70.2.2. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.70.2.3. equals(Object obj)
public boolean equals(Object obj)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object obj"));
1.70.2.4. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.70.2.5. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.70.2.6. toAnomalyTypeText(@AnomalyType int type)
private String toAnomalyTypeText(@AnomalyType int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toAnomalyTypeText", "@AnomalyType int type"));
1.71. AnomalyAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/AnomalyAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.71.1. AnomalyAction Field属性列表
1.71.1.1. Context mContext;
protected Context mContext;
1.71.1.2. int mActionMetricKey;
protected int mActionMetricKey;
1.71.1.3. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.71.2. AnomalyActionMethod方法列表
1.71.2.1. handlePositiveAction(Anomaly anomaly,int contextMetricsKey)
public void handlePositiveAction(Anomaly anomaly, int contextMetricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "Anomaly anomaly,int contextMetricsKey"));
1.71.2.2. abstract isActionActive(Anomaly anomaly)
public abstract boolean isActionActive(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActionActive", "Anomaly anomaly"));
1.71.2.3. abstract getActionType()
public abstract int getActionType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getActionType", ""));
1.72. AnomalyCleanupJobService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyCleanupJobService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.72.1. AnomalyCleanupJobService Field属性列表
1.72.1.1. static final String TAG
private static final String TAG = "AnomalyCleanUpJobService";
1.72.1.2. static final long CLEAN_UP_FREQUENCY_MS
@VisibleForTesting
static final long CLEAN_UP_FREQUENCY_MS = TimeUnit.DAYS.toMillis(1);
1.72.2. AnomalyCleanupJobServiceMethod方法列表
1.72.2.1. onStartJob(JobParameters params)
public boolean onStartJob(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStartJob", "JobParameters params"));
1.72.2.2. onStopJob(JobParameters jobParameters)
public boolean onStopJob(JobParameters jobParameters)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStopJob", "JobParameters jobParameters"));
1.72.2.3. static scheduleCleanUp(Context context)
public static void scheduleCleanUp(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleCleanUp", "Context context"));
1.73. AnomalyConfigJobService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyConfigJobService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.73.1. AnomalyConfigJobService Field属性列表
1.73.1.1. static final String TAG
private static final String TAG = "AnomalyConfigJobService";
1.73.1.2. static final String PREF_DB
public static final String PREF_DB = "anomaly_pref";
1.73.1.3. static final String KEY_ANOMALY_CONFIG_VERSION
public static final String KEY_ANOMALY_CONFIG_VERSION = "anomaly_config_version";
1.73.1.4. static final int DEFAULT_VERSION
private static final int DEFAULT_VERSION = 0;
1.73.1.5. static final long CONFIG_UPDATE_FREQUENCY_MS
@VisibleForTesting
static final long CONFIG_UPDATE_FREQUENCY_MS = TimeUnit.DAYS.toMillis(1);
1.73.2. AnomalyConfigJobServiceMethod方法列表
1.73.2.1. onStartJob(JobParameters params)
public boolean onStartJob(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStartJob", "JobParameters params"));
1.73.2.2. onStopJob(JobParameters jobParameters)
public boolean onStopJob(JobParameters jobParameters)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStopJob", "JobParameters jobParameters"));
1.73.2.3. sync checkAnomalyConfig(StatsManager statsManager)
synchronized void checkAnomalyConfig(StatsManager statsManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkAnomalyConfig", "StatsManager statsManager"));
1.73.2.4. static scheduleConfigUpdate(Context context)
public static void scheduleConfigUpdate(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleConfigUpdate", "Context context"));
1.74. AnomalyConfigReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyConfigReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.74.1. AnomalyConfigReceiver Field属性列表
1.74.1.1. static final String TAG
private static final String TAG = "AnomalyConfigReceiver";
1.74.2. AnomalyConfigReceiverMethod方法列表
1.74.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.75. AnomalyDatabaseHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDatabaseHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.75.1. AnomalyDatabaseHelper Field属性列表
1.75.1.1. static AnomalyDatabaseHelper sSingleton;
private static AnomalyDatabaseHelper sSingleton;
1.75.1.2. static final String TAG
private static final String TAG = "BatteryDatabaseHelper";
1.75.1.3. static final String DATABASE_NAME
private static final String DATABASE_NAME = "battery_settings.db";
1.75.1.4. static final int DATABASE_VERSION
private static final int DATABASE_VERSION = 4;
1.75.1.5. static final String CREATE_ANOMALY_TABLE
private static final String CREATE_ANOMALY_TABLE = "CREATE TABLE " + Tables.TABLE_ANOMALY + "(" + AnomalyColumns.UID + " INTEGER NOT NULL, " + AnomalyColumns.PACKAGE_NAME + " TEXT, " + AnomalyColumns.ANOMALY_TYPE + " INTEGER NOT NULL, " + AnomalyColumns.ANOMALY_STATE + " INTEGER NOT NULL, " + AnomalyColumns.TIME_STAMP_MS + " INTEGER NOT NULL, " + " PRIMARY KEY (" + AnomalyColumns.UID + "," + AnomalyColumns.ANOMALY_TYPE + "," + AnomalyColumns.ANOMALY_STATE + "," + AnomalyColumns.TIME_STAMP_MS + ")" + ")";
1.75.2. AnomalyDatabaseHelperMethod方法列表
1.75.2.1. onCreate(SQLiteDatabase db)
public void onCreate(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "SQLiteDatabase db"));
1.75.2.2. bootstrapDB(SQLiteDatabase db)
private void bootstrapDB(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bootstrapDB", "SQLiteDatabase db"));
1.75.2.3. onUpgrade(SQLiteDatabase db,int oldVersion,int newVersion)
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUpgrade", "SQLiteDatabase db,int oldVersion,int newVersion"));
1.75.2.4. onDowngrade(SQLiteDatabase db,int oldVersion,int newVersion)
public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDowngrade", "SQLiteDatabase db,int oldVersion,int newVersion"));
1.75.2.5. reconstruct(SQLiteDatabase db)
public void reconstruct(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reconstruct", "SQLiteDatabase db"));
1.75.2.6. dropTables(SQLiteDatabase db)
private void dropTables(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dropTables", "SQLiteDatabase db"));
1.75.2.7. static sync getInstance(Context context)
public static synchronized AnomalyDatabaseHelper getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyDatabaseHelper" ,"getInstance", "Context context"));
1.76. AnomalyDetectionJobService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDetectionJobService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.76.1. AnomalyDetectionJobService Field属性列表
1.76.1.1. @VisibleForTesting boolean mIsJobCanceled
@GuardedBy("mLock")
@VisibleForTesting
boolean mIsJobCanceled = false;
1.76.1.2. final Object mLock
private final Object mLock = new Object();
1.76.1.3. static final String TAG
private static final String TAG = "AnomalyDetectionService";
1.76.1.4. static final int ON
private static final int ON = 1;
1.76.1.5. static final int UID_NULL
@VisibleForTesting
static final int UID_NULL = -1;
1.76.1.6. static final int STATSD_UID_FILED
@VisibleForTesting
static final int STATSD_UID_FILED = 1;
1.76.1.7. static final long MAX_DELAY_MS
@VisibleForTesting
static final long MAX_DELAY_MS = TimeUnit.MINUTES.toMillis(30);
1.76.2. AnomalyDetectionJobServiceMethod方法列表
1.76.2.1. onStartJob(JobParameters params)
public boolean onStartJob(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStartJob", "JobParameters params"));
1.76.2.2. onStopJob(JobParameters jobParameters)
public boolean onStopJob(JobParameters jobParameters)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStopJob", "JobParameters jobParameters"));
1.76.2.3. saveAnomalyToDatabase(Context context,UserManager userManager,BatteryDatabaseManager databaseManager,BatteryUtils batteryUtils,BatteryTipPolicy policy,PowerWhitelistBackend powerWhitelistBackend,ContentResolver contentResolver,PowerUsageFeatureProvider powerUsageFeatureProvider,MetricsFeatureProvider metricsFeatureProvider,Bundle bundle)
void saveAnomalyToDatabase(Context context, UserManager userManager, BatteryDatabaseManager databaseManager, BatteryUtils batteryUtils, BatteryTipPolicy policy, PowerWhitelistBackend powerWhitelistBackend, ContentResolver contentResolver, PowerUsageFeatureProvider powerUsageFeatureProvider, MetricsFeatureProvider metricsFeatureProvider, Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveAnomalyToDatabase", "Context context,UserManager userManager,BatteryDatabaseManager databaseManager,BatteryUtils batteryUtils,BatteryTipPolicy policy,PowerWhitelistBackend powerWhitelistBackend,ContentResolver contentResolver,PowerUsageFeatureProvider powerUsageFeatureProvider,MetricsFeatureProvider metricsFeatureProvider,Bundle bundle"));
1.76.2.4. extractUidFromStatsDimensionsValue(StatsDimensionsValue statsDimensionsValue)
int extractUidFromStatsDimensionsValue(StatsDimensionsValue statsDimensionsValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"extractUidFromStatsDimensionsValue", "StatsDimensionsValue statsDimensionsValue"));
1.76.2.5. dequeueWork(JobParameters parameters)
JobWorkItem dequeueWork(JobParameters parameters)
methodList.add(new ZMethod(mZAndroidAPPClass,"JobWorkItem" ,"dequeueWork", "JobParameters parameters"));
1.76.2.6. completeWork(JobParameters parameters,JobWorkItem item)
void completeWork(JobParameters parameters, JobWorkItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"completeWork", "JobParameters parameters,JobWorkItem item"));
1.76.2.7. static scheduleAnomalyDetection(Context context,Intent intent)
public static void scheduleAnomalyDetection(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleAnomalyDetection", "Context context,Intent intent"));
1.77. AnomalyDetectionPolicy.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalyDetectionPolicy.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.77.1. AnomalyDetectionPolicy Field属性列表
1.77.1.1. final boolean anomalyDetectionEnabled;
/**
* {@code true} if general anomaly detection is enabled
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_ANOMALY_DETECTION_ENABLED
*/
final boolean anomalyDetectionEnabled;
1.77.1.2. final boolean wakeLockDetectionEnabled;
/**
* {@code true} if wakelock anomaly detection is enabled
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_WAKELOCK_DETECTION_ENABLED
*/
final boolean wakeLockDetectionEnabled;
1.77.1.3. final boolean wakeupAlarmDetectionEnabled;
/**
* {@code true} if wakeup alarm detection is enabled
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_WAKEUP_ALARM_DETECTION_ENABLED
*/
final boolean wakeupAlarmDetectionEnabled;
1.77.1.4. final boolean bluetoothScanDetectionEnabled;
/**
* {@code true} if bluetooth scanning detection is enabled
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_BLUETOOTH_SCAN_THRESHOLD
*/
final boolean bluetoothScanDetectionEnabled;
1.77.1.5. final long wakeLockThreshold;
/**
* Threshold for wakelock time in milli seconds
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_WAKELOCK_THRESHOLD
*/
public final long wakeLockThreshold;
1.77.1.6. final long wakeupAlarmThreshold;
/**
* Threshold for wakeup alarm count per hour
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_WAKEUP_ALARM_THRESHOLD
*/
public final long wakeupAlarmThreshold;
1.77.1.7. final Set wakeupBlacklistedTags;
/**
* Array of blacklisted wakeups, by tag.
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_WAKEUP_BLACKLISTED_TAGS
*/
public final Set wakeupBlacklistedTags;
1.77.1.8. final long bluetoothScanThreshold;
/**
* Threshold for bluetooth unoptimized scanning time in milli seconds
*
* @see Settings.Global#ANOMALY_DETECTION_CONSTANTS
* @see #KEY_BLUETOOTH_SCAN_THRESHOLD
*/
public final long bluetoothScanThreshold;
1.77.1.9. final KeyValueListParser mParser;
private final KeyValueListParser mParser;
1.77.1.10. static final String TAG
public static final String TAG = "AnomalyDetectionPolicy";
1.77.1.11. static final String KEY_ANOMALY_DETECTION_ENABLED
@VisibleForTesting
static final String KEY_ANOMALY_DETECTION_ENABLED = "anomaly_detection_enabled";
1.77.1.12. static final String KEY_WAKELOCK_DETECTION_ENABLED
@VisibleForTesting
static final String KEY_WAKELOCK_DETECTION_ENABLED = "wakelock_enabled";
1.77.1.13. static final String KEY_WAKEUP_ALARM_DETECTION_ENABLED
@VisibleForTesting
static final String KEY_WAKEUP_ALARM_DETECTION_ENABLED = "wakeup_alarm_enabled";
1.77.1.14. static final String KEY_BLUETOOTH_SCAN_DETECTION_ENABLED
@VisibleForTesting
static final String KEY_BLUETOOTH_SCAN_DETECTION_ENABLED = "bluetooth_scan_enabled";
1.77.1.15. static final String KEY_WAKELOCK_THRESHOLD
@VisibleForTesting
static final String KEY_WAKELOCK_THRESHOLD = "wakelock_threshold";
1.77.1.16. static final String KEY_WAKEUP_ALARM_THRESHOLD
@VisibleForTesting
static final String KEY_WAKEUP_ALARM_THRESHOLD = "wakeup_alarm_threshold";
1.77.1.17. static final String KEY_WAKEUP_BLACKLISTED_TAGS
@VisibleForTesting
static final String KEY_WAKEUP_BLACKLISTED_TAGS = "wakeup_blacklisted_tags";
1.77.1.18. static final String KEY_BLUETOOTH_SCAN_THRESHOLD
@VisibleForTesting
static final String KEY_BLUETOOTH_SCAN_THRESHOLD = "bluetooth_scan_threshold";
1.77.2. AnomalyDetectionPolicyMethod方法列表
1.77.2.1. isAnomalyDetectionEnabled()
public boolean isAnomalyDetectionEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAnomalyDetectionEnabled", ""));
1.77.2.2. isAnomalyDetectorEnabled(@Anomaly.AnomalyType int type)
public boolean isAnomalyDetectorEnabled(@Anomaly.AnomalyType int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAnomalyDetectorEnabled", "@Anomaly.AnomalyType int type"));
1.77.2.3. parseStringSet(final String key,final Set defaultSet)
private Set parseStringSet(final String key, final Set defaultSet)
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"parseStringSet", "final String key,final Set defaultSet"));
1.78. AnomalyDetectionReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyDetectionReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.78.1. AnomalyDetectionReceiver Field属性列表
1.78.1.1. static final String TAG
private static final String TAG = "SettingsAnomalyReceiver";
1.78.1.2. static final String KEY_ANOMALY_TIMESTAMP
public static final String KEY_ANOMALY_TIMESTAMP = "key_anomaly_timestamp";
1.78.2. AnomalyDetectionReceiverMethod方法列表
1.78.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.79. AnomalyDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/AnomalyDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.80. AnomalyDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalyDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.80.1. AnomalyDialogFragment Field属性列表
1.80.1.1. Anomaly mAnomaly;
@VisibleForTesting
Anomaly mAnomaly;
1.80.1.2. AnomalyUtils mAnomalyUtils;
@VisibleForTesting
AnomalyUtils mAnomalyUtils;
1.80.1.3. static final String ARG_ANOMALY
private static final String ARG_ANOMALY = "anomaly";
1.80.1.4. static final String ARG_METRICS_KEY
private static final String ARG_METRICS_KEY = "metrics_key";
1.80.2. AnomalyDialogFragmentMethod方法列表
1.80.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.80.2.2. initAnomalyUtils()
void initAnomalyUtils()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initAnomalyUtils", ""));
1.80.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.80.2.4. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.80.2.5. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.80.2.6. static newInstance(Anomaly anomaly,int metricsKey)
public static AnomalyDialogFragment newInstance(Anomaly anomaly, int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyDialogFragment" ,"newInstance", "Anomaly anomaly,int metricsKey"));
1.81. AnomalyInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AnomalyInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.81.1. AnomalyInfo Field属性列表
1.81.1.1. final Integer anomalyType;
public final Integer anomalyType;
1.81.1.2. final boolean autoRestriction;
public final boolean autoRestriction;
1.81.1.3. static final String TAG
private static final String TAG = "AnomalyInfo";
1.81.1.4. static final String KEY_ANOMALY_TYPE
private static final String KEY_ANOMALY_TYPE = "anomaly_type";
1.81.1.5. static final String KEY_AUTO_RESTRICTION
private static final String KEY_AUTO_RESTRICTION = "auto_restriction";
1.81.2. AnomalyInfoMethod方法列表
1.82. AnomalyLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalyLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.82.1. AnomalyLoader Field属性列表
1.82.1.1. BatteryStatsHelper mBatteryStatsHelper;
private BatteryStatsHelper mBatteryStatsHelper;
1.82.1.2. String mPackageName;
private String mPackageName;
1.82.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.82.1.4. AnomalyUtils mAnomalyUtils;
@VisibleForTesting
AnomalyUtils mAnomalyUtils;
1.82.1.5. AnomalyDetectionPolicy mPolicy;
@VisibleForTesting
AnomalyDetectionPolicy mPolicy;
1.82.1.6. static final String TAG
private static final String TAG = "AnomalyLoader";
1.82.1.7. static final boolean USE_FAKE_DATA
private static final boolean USE_FAKE_DATA = false;
1.82.2. AnomalyLoaderMethod方法列表
1.82.2.1. onDiscardResult(List result)
protected void onDiscardResult(List result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "List result"));
1.82.2.2. loadInBackground()
public List loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadInBackground", ""));
1.82.2.3. generateFakeData()
List generateFakeData()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"generateFakeData", ""));
1.83. AnomalyPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalyPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.83.1. AnomalyPreference Field属性列表
1.83.1.1. Anomaly mAnomaly;
private Anomaly mAnomaly;
1.83.2. AnomalyPreferenceMethod方法列表
1.83.2.1. getAnomaly()
public Anomaly getAnomaly()
methodList.add(new ZMethod(mZAndroidAPPClass,"Anomaly" ,"getAnomaly", ""));
1.84. AnomalySummaryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalySummaryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.84.1. AnomalySummaryPreferenceController Field属性列表
1.84.1.1. InstrumentedPreferenceFragment mFragment;
private InstrumentedPreferenceFragment mFragment;
1.84.1.2. Preference mAnomalyPreference;
@VisibleForTesting
Preference mAnomalyPreference;
1.84.1.3. List mAnomalies;
@VisibleForTesting
List mAnomalies;
1.84.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.84.1.5. SettingsActivity mSettingsActivity;
private SettingsActivity mSettingsActivity;
1.84.1.6. int mMetricsKey;
/**
* Metrics key about fragment that create this controller
*
* @see com.android.internal.logging.nano.MetricsProto.MetricsEvent
*/
private int mMetricsKey;
1.84.1.7. static final String TAG
private static final String TAG = "HighUsagePreferenceController";
1.84.1.8. static final String ANOMALY_KEY
public static final String ANOMALY_KEY = "high_usage";
1.84.1.9. static final int REQUEST_ANOMALY_ACTION
private static final int REQUEST_ANOMALY_ACTION = 0;
1.84.2. AnomalySummaryPreferenceControllerMethod方法列表
1.84.2.1. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.84.2.2. updateAnomalySummaryPreference(List anomalies)
public void updateAnomalySummaryPreference(List anomalies)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnomalySummaryPreference", "List anomalies"));
1.84.2.3. hideHighUsagePreference()
public void hideHighUsagePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hideHighUsagePreference", ""));
1.85. AnomalyUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/AnomalyUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.85.1. AnomalyUtils Field属性列表
1.85.1.1. Context mContext;
private Context mContext;
1.85.1.2. static AnomalyUtils sInstance;
private static AnomalyUtils sInstance;
1.85.1.3. static final SparseIntArray mMetricArray;
private static final SparseIntArray mMetricArray;
1.85.2. AnomalyUtilsMethod方法列表
1.85.2.1. getAnomalyAction(Anomaly anomaly)
public AnomalyAction getAnomalyAction(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyAction" ,"getAnomalyAction", "Anomaly anomaly"));
1.85.2.2. getAnomalyDetector(@Anomaly.AnomalyType int anomalyType)
public AnomalyDetector getAnomalyDetector(@Anomaly.AnomalyType int anomalyType)
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyDetector" ,"getAnomalyDetector", "@Anomaly.AnomalyType int anomalyType"));
1.85.2.3. detectAnomalies(BatteryStatsHelper batteryStatsHelper,AnomalyDetectionPolicy policy,String targetPackageName)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper, AnomalyDetectionPolicy policy, String targetPackageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper,AnomalyDetectionPolicy policy,String targetPackageName"));
1.85.2.4. logAnomalies(MetricsFeatureProvider provider,List anomalies,int contextId)
public void logAnomalies(MetricsFeatureProvider provider, List anomalies, int contextId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logAnomalies", "MetricsFeatureProvider provider,List anomalies,int contextId"));
1.85.2.5. logAnomaly(MetricsFeatureProvider provider,Anomaly anomaly,int contextId)
public void logAnomaly(MetricsFeatureProvider provider, Anomaly anomaly, int contextId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logAnomaly", "MetricsFeatureProvider provider,Anomaly anomaly,int contextId"));
1.85.2.6. static getInstance(Context context)
public static AnomalyUtils getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyUtils" ,"getInstance", "Context context"));
1.86. ApnEditor.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/ApnEditor.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.86.1. ApnEditor Field属性列表
1.86.1.1. EditTextPreference mName;
@VisibleForTesting
EditTextPreference mName;
1.86.1.2. EditTextPreference mApn;
@VisibleForTesting
EditTextPreference mApn;
1.86.1.3. EditTextPreference mProxy;
@VisibleForTesting
EditTextPreference mProxy;
1.86.1.4. EditTextPreference mPort;
@VisibleForTesting
EditTextPreference mPort;
1.86.1.5. EditTextPreference mUser;
@VisibleForTesting
EditTextPreference mUser;
1.86.1.6. EditTextPreference mServer;
@VisibleForTesting
EditTextPreference mServer;
1.86.1.7. EditTextPreference mPassword;
@VisibleForTesting
EditTextPreference mPassword;
1.86.1.8. EditTextPreference mMmsc;
@VisibleForTesting
EditTextPreference mMmsc;
1.86.1.9. EditTextPreference mMcc;
@VisibleForTesting
EditTextPreference mMcc;
1.86.1.10. EditTextPreference mMnc;
@VisibleForTesting
EditTextPreference mMnc;
1.86.1.11. EditTextPreference mMmsProxy;
@VisibleForTesting
EditTextPreference mMmsProxy;
1.86.1.12. EditTextPreference mMmsPort;
@VisibleForTesting
EditTextPreference mMmsPort;
1.86.1.13. ListPreference mAuthType;
@VisibleForTesting
ListPreference mAuthType;
1.86.1.14. EditTextPreference mApnType;
@VisibleForTesting
EditTextPreference mApnType;
1.86.1.15. ListPreference mProtocol;
@VisibleForTesting
ListPreference mProtocol;
1.86.1.16. ListPreference mRoamingProtocol;
@VisibleForTesting
ListPreference mRoamingProtocol;
1.86.1.17. SwitchPreference mCarrierEnabled;
@VisibleForTesting
SwitchPreference mCarrierEnabled;
1.86.1.18. MultiSelectListPreference mBearerMulti;
@VisibleForTesting
MultiSelectListPreference mBearerMulti;
1.86.1.19. ListPreference mMvnoType;
@VisibleForTesting
ListPreference mMvnoType;
1.86.1.20. EditTextPreference mMvnoMatchData;
@VisibleForTesting
EditTextPreference mMvnoMatchData;
1.86.1.21. ApnData mApnData;
@VisibleForTesting
ApnData mApnData;
1.86.1.22. String mCurMnc;
private String mCurMnc;
1.86.1.23. String mCurMcc;
private String mCurMcc;
1.86.1.24. boolean mNewApn;
private boolean mNewApn;
1.86.1.25. int mSubId;
private int mSubId;
1.86.1.26. TelephonyManager mTelephonyManager;
private TelephonyManager mTelephonyManager;
1.86.1.27. int mBearerInitialVal
private int mBearerInitialVal = 0;
1.86.1.28. String mMvnoTypeStr;
private String mMvnoTypeStr;
1.86.1.29. String mMvnoMatchDataStr;
private String mMvnoMatchDataStr;
1.86.1.30. String[] mReadOnlyApnTypes;
private String[] mReadOnlyApnTypes;
1.86.1.31. String[] mReadOnlyApnFields;
private String[] mReadOnlyApnFields;
1.86.1.32. boolean mReadOnlyApn;
private boolean mReadOnlyApn;
1.86.1.33. Uri mCarrierUri;
private Uri mCarrierUri;
1.86.1.34. static String sNotSet;
@VisibleForTesting
static String sNotSet;
1.86.1.35. static final String TAG
private static final String TAG = ApnEditor.class.getSimpleName();
1.86.1.36. static final boolean VDBG
// STOPSHIP if true
private static final boolean VDBG = false;
1.86.1.37. static final String KEY_AUTH_TYPE
private static final String KEY_AUTH_TYPE = "auth_type";
1.86.1.38. static final String KEY_PROTOCOL
private static final String KEY_PROTOCOL = "apn_protocol";
1.86.1.39. static final String KEY_ROAMING_PROTOCOL
private static final String KEY_ROAMING_PROTOCOL = "apn_roaming_protocol";
1.86.1.40. static final String KEY_CARRIER_ENABLED
private static final String KEY_CARRIER_ENABLED = "carrier_enabled";
1.86.1.41. static final String KEY_BEARER_MULTI
private static final String KEY_BEARER_MULTI = "bearer_multi";
1.86.1.42. static final String KEY_MVNO_TYPE
private static final String KEY_MVNO_TYPE = "mvno_type";
1.86.1.43. static final String KEY_PASSWORD
private static final String KEY_PASSWORD = "apn_password";
1.86.1.44. static final int MENU_DELETE
private static final int MENU_DELETE = Menu.FIRST;
1.86.1.45. static final int MENU_SAVE
private static final int MENU_SAVE = Menu.FIRST + 1;
1.86.1.46. static final int MENU_CANCEL
private static final int MENU_CANCEL = Menu.FIRST + 2;
1.86.1.47. static final String[] sProjection
/**
* Standard projection for the interesting columns of a normal note.
*/
private static final String[] sProjection = new String[] { // 0
Telephony.Carriers._ID, // 1
Telephony.Carriers.NAME, // 2
Telephony.Carriers.APN, // 3
Telephony.Carriers.PROXY, // 4
Telephony.Carriers.PORT, // 5
Telephony.Carriers.USER, // 6
Telephony.Carriers.SERVER, // 7
Telephony.Carriers.PASSWORD, // 8
Telephony.Carriers.MMSC, // 9
Telephony.Carriers.MCC, // 10
Telephony.Carriers.MNC, // 11
Telephony.Carriers.NUMERIC, // 12
Telephony.Carriers.MMSPROXY, // 13
Telephony.Carriers.MMSPORT, // 14
Telephony.Carriers.AUTH_TYPE, // 15
Telephony.Carriers.TYPE, // 16
Telephony.Carriers.PROTOCOL, // 17
Telephony.Carriers.CARRIER_ENABLED, // 18
Telephony.Carriers.BEARER, // 19
Telephony.Carriers.BEARER_BITMASK, // 20
Telephony.Carriers.ROAMING_PROTOCOL, // 21
Telephony.Carriers.MVNO_TYPE, // 22
Telephony.Carriers.MVNO_MATCH_DATA, // 23
Telephony.Carriers.EDITED, //24
Telephony.Carriers.USER_EDITABLE };
1.86.1.48. static final int ID_INDEX
private static final int ID_INDEX = 0;
1.86.1.49. static final int NAME_INDEX
@VisibleForTesting
static final int NAME_INDEX = 1;
1.86.1.50. static final int APN_INDEX
@VisibleForTesting
static final int APN_INDEX = 2;
1.86.1.51. static final int PROXY_INDEX
private static final int PROXY_INDEX = 3;
1.86.1.52. static final int PORT_INDEX
private static final int PORT_INDEX = 4;
1.86.1.53. static final int USER_INDEX
private static final int USER_INDEX = 5;
1.86.1.54. static final int SERVER_INDEX
private static final int SERVER_INDEX = 6;
1.86.1.55. static final int PASSWORD_INDEX
private static final int PASSWORD_INDEX = 7;
1.86.1.56. static final int MMSC_INDEX
private static final int MMSC_INDEX = 8;
1.86.1.57. static final int MCC_INDEX
@VisibleForTesting
static final int MCC_INDEX = 9;
1.86.1.58. static final int MNC_INDEX
@VisibleForTesting
static final int MNC_INDEX = 10;
1.86.1.59. static final int MMSPROXY_INDEX
private static final int MMSPROXY_INDEX = 12;
1.86.1.60. static final int MMSPORT_INDEX
private static final int MMSPORT_INDEX = 13;
1.86.1.61. static final int AUTH_TYPE_INDEX
private static final int AUTH_TYPE_INDEX = 14;
1.86.1.62. static final int TYPE_INDEX
private static final int TYPE_INDEX = 15;
1.86.1.63. static final int PROTOCOL_INDEX
private static final int PROTOCOL_INDEX = 16;
1.86.1.64. static final int CARRIER_ENABLED_INDEX
@VisibleForTesting
static final int CARRIER_ENABLED_INDEX = 17;
1.86.1.65. static final int BEARER_INDEX
private static final int BEARER_INDEX = 18;
1.86.1.66. static final int BEARER_BITMASK_INDEX
private static final int BEARER_BITMASK_INDEX = 19;
1.86.1.67. static final int ROAMING_PROTOCOL_INDEX
private static final int ROAMING_PROTOCOL_INDEX = 20;
1.86.1.68. static final int MVNO_TYPE_INDEX
private static final int MVNO_TYPE_INDEX = 21;
1.86.1.69. static final int MVNO_MATCH_DATA_INDEX
private static final int MVNO_MATCH_DATA_INDEX = 22;
1.86.1.70. static final int EDITED_INDEX
private static final int EDITED_INDEX = 23;
1.86.1.71. static final int USER_EDITABLE_INDEX
private static final int USER_EDITABLE_INDEX = 24;
1.86.2. ApnEditorMethod方法列表
1.86.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.86.2.2. apnTypesMatch(String[] apnTypesArray1,String apnTypes2)
private boolean apnTypesMatch(String[] apnTypesArray1, String apnTypes2)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"apnTypesMatch", "String[] apnTypesArray1,String apnTypes2"));
1.86.2.3. getPreferenceFromFieldName(String apnField)
private Preference getPreferenceFromFieldName(String apnField)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"getPreferenceFromFieldName", "String apnField"));
1.86.2.4. disableFields(String[] apnFields)
private void disableFields(String[] apnFields)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableFields", "String[] apnFields"));
1.86.2.5. disableAllFields()
private void disableAllFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableAllFields", ""));
1.86.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.86.2.7. fillUI(boolean firstTime)
void fillUI(boolean firstTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fillUI", "boolean firstTime"));
1.86.2.8. protocolDescription(String raw,ListPreference protocol)
private String protocolDescription(String raw, ListPreference protocol)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"protocolDescription", "String raw,ListPreference protocol"));
1.86.2.9. bearerMultiDescription(Set raw)
private String bearerMultiDescription(Set raw)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"bearerMultiDescription", "Set raw"));
1.86.2.10. mvnoDescription(String newValue)
private String mvnoDescription(String newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"mvnoDescription", "String newValue"));
1.86.2.11. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.86.2.12. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.86.2.13. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.86.2.14. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.86.2.15. onKey(View v,int keyCode,KeyEvent event)
public boolean onKey(View v, int keyCode, KeyEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onKey", "View v,int keyCode,KeyEvent event"));
1.86.2.16. setStringValueAndCheckIfDiff(ContentValues cv,String key,String value,boolean assumeDiff,int index)
boolean setStringValueAndCheckIfDiff(ContentValues cv, String key, String value, boolean assumeDiff, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setStringValueAndCheckIfDiff", "ContentValues cv,String key,String value,boolean assumeDiff,int index"));
1.86.2.17. setIntValueAndCheckIfDiff(ContentValues cv,String key,int value,boolean assumeDiff,int index)
boolean setIntValueAndCheckIfDiff(ContentValues cv, String key, int value, boolean assumeDiff, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setIntValueAndCheckIfDiff", "ContentValues cv,String key,int value,boolean assumeDiff,int index"));
1.86.2.18. validateAndSaveApnData()
boolean validateAndSaveApnData()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"validateAndSaveApnData", ""));
1.86.2.19. updateApnDataToDatabase(Uri uri,ContentValues values)
private void updateApnDataToDatabase(Uri uri, ContentValues values)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateApnDataToDatabase", "Uri uri,ContentValues values"));
1.86.2.20. validateApnData()
String validateApnData()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"validateApnData", ""));
1.86.2.21. showError()
void showError()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", ""));
1.86.2.22. deleteApn()
private void deleteApn()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"deleteApn", ""));
1.86.2.23. starify(String value)
private String starify(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"starify", "String value"));
1.86.2.24. checkNull(String value)
private String checkNull(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"checkNull", "String value"));
1.86.2.25. checkNotSet(String value)
private String checkNotSet(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"checkNotSet", "String value"));
1.86.2.26. getUserEnteredApnType()
private String getUserEnteredApnType()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getUserEnteredApnType", ""));
1.86.2.27. getApnDataFromUri(Uri uri)
ApnData getApnDataFromUri(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"ApnData" ,"getApnDataFromUri", "Uri uri"));
1.86.2.28. static formatInteger(String value)
static String formatInteger(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatInteger", "String value"));
1.86.2.29. static hasAllApns(String[] apnTypes)
static boolean hasAllApns(String[] apnTypes)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAllApns", "String[] apnTypes"));
1.87. ApnPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/ApnPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.87.1. ApnPreference Field属性列表
1.87.1.1. int mSubId
private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
1.87.1.2. boolean mProtectFromCheckedChange
private boolean mProtectFromCheckedChange = false;
1.87.1.3. boolean mSelectable
private boolean mSelectable = true;
1.87.1.4. static String mSelectedKey
private static String mSelectedKey = null;
1.87.1.5. static CompoundButton mCurrentChecked
private static CompoundButton mCurrentChecked = null;
1.87.1.6. static final String TAG
static final String TAG = "ApnPreference";
1.87.2. ApnPreferenceMethod方法列表
1.87.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.87.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.87.2.3. setChecked()
public void setChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", ""));
1.87.2.4. onCheckedChanged(CompoundButton buttonView,boolean isChecked)
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton buttonView,boolean isChecked"));
1.87.2.5. onClick(android.view.View v)
public void onClick(android.view.View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "android.view.View v"));
1.87.2.6. setSelectable(boolean selectable)
public void setSelectable(boolean selectable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelectable", "boolean selectable"));
1.87.2.7. getSelectable()
public boolean getSelectable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getSelectable", ""));
1.87.2.8. setSubId(int subId)
public void setSubId(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSubId", "int subId"));
1.88. ApnSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/ApnSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.88.1. ApnSettings Field属性列表
1.88.1.1. UserManager mUserManager;
private UserManager mUserManager;
1.88.1.2. RestoreApnUiHandler mRestoreApnUiHandler;
private RestoreApnUiHandler mRestoreApnUiHandler;
1.88.1.3. RestoreApnProcessHandler mRestoreApnProcessHandler;
private RestoreApnProcessHandler mRestoreApnProcessHandler;
1.88.1.4. HandlerThread mRestoreDefaultApnThread;
private HandlerThread mRestoreDefaultApnThread;
1.88.1.5. SubscriptionInfo mSubscriptionInfo;
private SubscriptionInfo mSubscriptionInfo;
1.88.1.6. UiccController mUiccController;
private UiccController mUiccController;
1.88.1.7. String mMvnoType;
private String mMvnoType;
1.88.1.8. String mMvnoMatchData;
private String mMvnoMatchData;
1.88.1.9. String mSelectedKey;
private String mSelectedKey;
1.88.1.10. IntentFilter mMobileStateFilter;
private IntentFilter mMobileStateFilter;
1.88.1.11. boolean mUnavailable;
private boolean mUnavailable;
1.88.1.12. boolean mHideImsApn;
private boolean mHideImsApn;
1.88.1.13. boolean mAllowAddingApns;
private boolean mAllowAddingApns;
1.88.1.14. final BroadcastReceiver mMobileStateReceiver
private final BroadcastReceiver mMobileStateReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED)) {
PhoneConstants.DataState state = getMobileDataState(intent);
switch(state) {
case CONNECTED:
if (!mRestoreDefaultApnMode) {
fillList();
} else {
showDialog(DIALOG_RESTORE_DEFAULTAPN);
}
break;
}
}
}
};
1.88.1.15. static boolean mRestoreDefaultApnMode;
private static boolean mRestoreDefaultApnMode;
1.88.1.16. static final String TAG
static final String TAG = "ApnSettings";
1.88.1.17. static final String EXTRA_POSITION
public static final String EXTRA_POSITION = "position";
1.88.1.18. static final String RESTORE_CARRIERS_URI
public static final String RESTORE_CARRIERS_URI = "content://telephony/carriers/restore";
1.88.1.19. static final String PREFERRED_APN_URI
public static final String PREFERRED_APN_URI = "content://telephony/carriers/preferapn";
1.88.1.20. static final String APN_ID
public static final String APN_ID = "apn_id";
1.88.1.21. static final String SUB_ID
public static final String SUB_ID = "sub_id";
1.88.1.22. static final String MVNO_TYPE
public static final String MVNO_TYPE = "mvno_type";
1.88.1.23. static final String MVNO_MATCH_DATA
public static final String MVNO_MATCH_DATA = "mvno_match_data";
1.88.1.24. static final int ID_INDEX
private static final int ID_INDEX = 0;
1.88.1.25. static final int NAME_INDEX
private static final int NAME_INDEX = 1;
1.88.1.26. static final int APN_INDEX
private static final int APN_INDEX = 2;
1.88.1.27. static final int TYPES_INDEX
private static final int TYPES_INDEX = 3;
1.88.1.28. static final int MVNO_TYPE_INDEX
private static final int MVNO_TYPE_INDEX = 4;
1.88.1.29. static final int MVNO_MATCH_DATA_INDEX
private static final int MVNO_MATCH_DATA_INDEX = 5;
1.88.1.30. static final int MENU_NEW
private static final int MENU_NEW = Menu.FIRST;
1.88.1.31. static final int MENU_RESTORE
private static final int MENU_RESTORE = Menu.FIRST + 1;
1.88.1.32. static final int EVENT_RESTORE_DEFAULTAPN_START
private static final int EVENT_RESTORE_DEFAULTAPN_START = 1;
1.88.1.33. static final int EVENT_RESTORE_DEFAULTAPN_COMPLETE
private static final int EVENT_RESTORE_DEFAULTAPN_COMPLETE = 2;
1.88.1.34. static final int DIALOG_RESTORE_DEFAULTAPN
private static final int DIALOG_RESTORE_DEFAULTAPN = 1001;
1.88.1.35. static final Uri DEFAULTAPN_URI
private static final Uri DEFAULTAPN_URI = Uri.parse(RESTORE_CARRIERS_URI);
1.88.1.36. static final Uri PREFERAPN_URI
private static final Uri PREFERAPN_URI = Uri.parse(PREFERRED_APN_URI);
1.88.2. ApnSettingsMethod方法列表
1.88.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.88.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.88.2.3. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.88.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.88.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.88.2.6. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.88.2.7. getRestrictionEnforcedAdmin()
public EnforcedAdmin getRestrictionEnforcedAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getRestrictionEnforcedAdmin", ""));
1.88.2.8. fillList()
private void fillList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fillList", ""));
1.88.2.9. addApnToList(ApnPreference pref,ArrayList mnoList,ArrayList mvnoList,IccRecords r,String mvnoType,String mvnoMatchData)
private void addApnToList(ApnPreference pref, ArrayList mnoList, ArrayList mvnoList, IccRecords r, String mvnoType, String mvnoMatchData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addApnToList", "ApnPreference pref,ArrayList mnoList,ArrayList mvnoList,IccRecords r,String mvnoType,String mvnoMatchData"));
1.88.2.10. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.88.2.11. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.88.2.12. addNewApn()
private void addNewApn()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addNewApn", ""));
1.88.2.13. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.88.2.14. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.88.2.15. setSelectedApnKey(String key)
private void setSelectedApnKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelectedApnKey", "String key"));
1.88.2.16. getSelectedApnKey()
private String getSelectedApnKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSelectedApnKey", ""));
1.88.2.17. restoreDefaultApn()
private boolean restoreDefaultApn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"restoreDefaultApn", ""));
1.88.2.18. getUriForCurrSubId(Uri uri)
private Uri getUriForCurrSubId(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUriForCurrSubId", "Uri uri"));
1.88.2.19. onCreateDialog(int id)
public Dialog onCreateDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int id"));
1.88.2.20. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.88.2.21. static getMobileDataState(Intent intent)
private static PhoneConstants.DataState getMobileDataState(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"PhoneConstants.DataState" ,"getMobileDataState", "Intent intent"));
1.89. AppActionButtonPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppActionButtonPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.89.1. AppActionButtonPreferenceController Field属性列表
1.89.1.1. ActionButtonPreference mActionButtons;
@VisibleForTesting
ActionButtonPreference mActionButtons;
1.89.1.2. int mUserId;
private int mUserId;
1.89.1.3. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.89.1.4. UserManager mUserManager;
private UserManager mUserManager;
1.89.1.5. PackageManager mPm;
private PackageManager mPm;
1.89.1.6. final AppInfoDashboardFragment mParent;
private final AppInfoDashboardFragment mParent;
1.89.1.7. final String mPackageName;
private final String mPackageName;
1.89.1.8. final HashSet mHomePackages
private final HashSet mHomePackages = new HashSet<>();
1.89.1.9. final ApplicationFeatureProvider mApplicationFeatureProvider;
private final ApplicationFeatureProvider mApplicationFeatureProvider;
1.89.1.10. final BroadcastReceiver mCheckKillProcessesReceiver
private final BroadcastReceiver mCheckKillProcessesReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
Log.d(TAG, "Got broadcast response: Restart status for " + mParent.getAppEntry().info.packageName + " " + enabled);
updateForceStopButton(enabled);
}
};
1.89.1.11. static final String TAG
private static final String TAG = "AppActionButtonControl";
1.89.1.12. static final String KEY_ACTION_BUTTONS
private static final String KEY_ACTION_BUTTONS = "action_buttons";
1.89.2. AppActionButtonPreferenceControllerMethod方法列表
1.89.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.89.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.89.2.3. refreshUi()
public void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.89.2.4. initUninstallButtons(AppEntry appEntry,PackageInfo packageInfo)
void initUninstallButtons(AppEntry appEntry, PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initUninstallButtons", "AppEntry appEntry,PackageInfo packageInfo"));
1.89.2.5. initUninstallButtonForUserApp()
boolean initUninstallButtonForUserApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"initUninstallButtonForUserApp", ""));
1.89.2.6. handleDisableable(AppEntry appEntry,PackageInfo packageInfo)
boolean handleDisableable(AppEntry appEntry, PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handleDisableable", "AppEntry appEntry,PackageInfo packageInfo"));
1.89.2.7. updateForceStopButton(boolean enabled)
private void updateForceStopButton(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateForceStopButton", "boolean enabled"));
1.89.2.8. checkForceStop(AppEntry appEntry,PackageInfo packageInfo)
void checkForceStop(AppEntry appEntry, PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkForceStop", "AppEntry appEntry,PackageInfo packageInfo"));
1.89.2.9. signaturesMatch(String pkg1,String pkg2)
private boolean signaturesMatch(String pkg1, String pkg2)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"signaturesMatch", "String pkg1,String pkg2"));
1.90. AppAndNotificationDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppAndNotificationDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.90.1. AppAndNotificationDashboardFragment Field属性列表
1.90.1.1. static final String TAG
private static final String TAG = "AppAndNotifDashboard";
1.90.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.app_and_notification;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add((new SpecialAppAccessPreferenceController(context)).getPreferenceKey());
return keys;
}
};
1.90.2. AppAndNotificationDashboardFragmentMethod方法列表
1.90.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.90.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.90.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.90.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.90.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.90.2.6. static buildPreferenceControllers(Context context,Application app,Fragment host)
private static List buildPreferenceControllers(Context context, Application app, Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Application app,Fragment host"));
1.91. AppBatteryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppBatteryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.91.1. AppBatteryPreferenceController Field属性列表
1.91.1.1. BatterySipper mSipper;
@VisibleForTesting
BatterySipper mSipper;
1.91.1.2. BatteryStatsHelper mBatteryHelper;
@VisibleForTesting
BatteryStatsHelper mBatteryHelper;
1.91.1.3. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.91.1.4. Preference mPreference;
private Preference mPreference;
1.91.1.5. String mBatteryPercent;
private String mBatteryPercent;
1.91.1.6. final AppInfoDashboardFragment mParent;
private final AppInfoDashboardFragment mParent;
1.91.1.7. final String mPackageName;
private final String mPackageName;
1.91.1.8. static final String KEY_BATTERY
private static final String KEY_BATTERY = "battery";
1.91.2. AppBatteryPreferenceControllerMethod方法列表
1.91.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.91.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.91.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.91.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.91.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.91.2.6. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.91.2.7. onLoadFinished(Loader loader,BatteryStatsHelper batteryHelper)
public void onLoadFinished(Loader loader, BatteryStatsHelper batteryHelper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,BatteryStatsHelper batteryHelper"));
1.91.2.8. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.91.2.9. updateBattery()
void updateBattery()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBattery", ""));
1.91.2.10. isBatteryStatsAvailable()
boolean isBatteryStatsAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBatteryStatsAvailable", ""));
1.91.2.11. findTargetSipper(BatteryStatsHelper batteryHelper,int uid)
BatterySipper findTargetSipper(BatteryStatsHelper batteryHelper, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatterySipper" ,"findTargetSipper", "BatteryStatsHelper batteryHelper,int uid"));
1.92. AppButtonsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/AppButtonsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.92.1. AppButtonsPreferenceController Field属性列表
1.92.1.1. ApplicationsState mState;
@VisibleForTesting
ApplicationsState mState;
1.92.1.2. ApplicationsState.AppEntry mAppEntry;
@VisibleForTesting
ApplicationsState.AppEntry mAppEntry;
1.92.1.3. PackageInfo mPackageInfo;
@VisibleForTesting
PackageInfo mPackageInfo;
1.92.1.4. String mPackageName;
@VisibleForTesting
String mPackageName;
1.92.1.5. boolean mDisableAfterUninstall
@VisibleForTesting
boolean mDisableAfterUninstall = false;
1.92.1.6. ActionButtonPreference mButtonsPref;
@VisibleForTesting
ActionButtonPreference mButtonsPref;
1.92.1.7. ApplicationsState.Session mSession;
private ApplicationsState.Session mSession;
1.92.1.8. RestrictedLockUtils.EnforcedAdmin mAppsControlDisallowedAdmin;
private RestrictedLockUtils.EnforcedAdmin mAppsControlDisallowedAdmin;
1.92.1.9. boolean mUpdatedSysApp
private boolean mUpdatedSysApp = false;
1.92.1.10. boolean mListeningToPackageRemove
private boolean mListeningToPackageRemove = false;
1.92.1.11. boolean mFinishing
private boolean mFinishing = false;
1.92.1.12. boolean mAppsControlDisallowedBySystem;
private boolean mAppsControlDisallowedBySystem;
1.92.1.13. final HashSet mHomePackages
@VisibleForTesting
final HashSet mHomePackages = new HashSet<>();
1.92.1.14. final int mRequestUninstall;
private final int mRequestUninstall;
1.92.1.15. final int mRequestRemoveDeviceAdmin;
private final int mRequestRemoveDeviceAdmin;
1.92.1.16. final DevicePolicyManager mDpm;
private final DevicePolicyManager mDpm;
1.92.1.17. final UserManager mUserManager;
private final UserManager mUserManager;
1.92.1.18. final PackageManager mPm;
private final PackageManager mPm;
1.92.1.19. final SettingsActivity mActivity;
private final SettingsActivity mActivity;
1.92.1.20. final Fragment mFragment;
private final Fragment mFragment;
1.92.1.21. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.92.1.22. final ApplicationFeatureProvider mApplicationFeatureProvider;
private final ApplicationFeatureProvider mApplicationFeatureProvider;
1.92.1.23. final int mUserId;
private final int mUserId;
1.92.1.24. final BroadcastReceiver mCheckKillProcessesReceiver
private final BroadcastReceiver mCheckKillProcessesReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final boolean enabled = getResultCode() != Activity.RESULT_CANCELED;
Log.d(TAG, "Got broadcast response: Restart status for " + mAppEntry.info.packageName + " " + enabled);
updateForceStopButtonInner(enabled);
}
};
1.92.1.25. final BroadcastReceiver mPackageRemovedReceiver
/**
* Receiver to listen to the remove action for packages
*/
private final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String packageName = intent.getData().getSchemeSpecificPart();
if (!mFinishing && mAppEntry.info.packageName.equals(packageName)) {
mActivity.finishAndRemoveTask();
}
}
};
1.92.1.26. static final String APP_CHG
public static final String APP_CHG = "chg";
1.92.1.27. static final String TAG
private static final String TAG = "AppButtonsPrefCtl";
1.92.1.28. static final String KEY_ACTION_BUTTONS
private static final String KEY_ACTION_BUTTONS = "action_buttons";
1.92.1.29. static final boolean LOCAL_LOGV
private static final boolean LOCAL_LOGV = false;
1.92.2. AppButtonsPreferenceControllerMethod方法列表
1.92.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.92.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.92.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.92.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.92.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.92.2.6. handleActivityResult(int requestCode,int resultCode,Intent data)
public void handleActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleActivityResult", "int requestCode,int resultCode,Intent data"));
1.92.2.7. handleDialogClick(int id)
public void handleDialogClick(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleDialogClick", "int id"));
1.92.2.8. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.92.2.9. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.92.2.10. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.92.2.11. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.92.2.12. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.92.2.13. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.92.2.14. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.92.2.15. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.92.2.16. retrieveAppEntry()
void retrieveAppEntry()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"retrieveAppEntry", ""));
1.92.2.17. updateUninstallButton()
void updateUninstallButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUninstallButton", ""));
1.92.2.18. setIntentAndFinish(boolean appChanged)
private void setIntentAndFinish(boolean appChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIntentAndFinish", "boolean appChanged"));
1.92.2.19. refreshAndFinishIfPossible()
private void refreshAndFinishIfPossible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshAndFinishIfPossible", ""));
1.92.2.20. isFallbackPackage(String packageName)
boolean isFallbackPackage(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFallbackPackage", "String packageName"));
1.92.2.21. updateForceStopButton()
void updateForceStopButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateForceStopButton", ""));
1.92.2.22. updateForceStopButtonInner(boolean enabled)
void updateForceStopButtonInner(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateForceStopButtonInner", "boolean enabled"));
1.92.2.23. uninstallPkg(String packageName,boolean allUsers,boolean andDisable)
void uninstallPkg(String packageName, boolean allUsers, boolean andDisable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"uninstallPkg", "String packageName,boolean allUsers,boolean andDisable"));
1.92.2.24. forceStopPackage(String pkgName)
void forceStopPackage(String pkgName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceStopPackage", "String pkgName"));
1.92.2.25. handleDisableable()
boolean handleDisableable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handleDisableable", ""));
1.92.2.26. isSystemPackage(Resources resources,PackageManager pm,PackageInfo packageInfo)
boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemPackage", "Resources resources,PackageManager pm,PackageInfo packageInfo"));
1.92.2.27. isDisabledUntilUsed()
private boolean isDisabledUntilUsed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledUntilUsed", ""));
1.92.2.28. showDialogInner(@ButtonActionDialogFragment.DialogType int id)
private void showDialogInner(@ButtonActionDialogFragment.DialogType int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialogInner", "@ButtonActionDialogFragment.DialogType int id"));
1.92.2.29. isSingleUser()
private boolean isSingleUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSingleUser", ""));
1.92.2.30. signaturesMatch(String pkg1,String pkg2)
private boolean signaturesMatch(String pkg1, String pkg2)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"signaturesMatch", "String pkg1,String pkg2"));
1.92.2.31. refreshUi()
boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.92.2.32. startListeningToPackageRemove()
private void startListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListeningToPackageRemove", ""));
1.92.2.33. stopListeningToPackageRemove()
private void stopListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListeningToPackageRemove", ""));
1.93. AppCheckBoxPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/AppCheckBoxPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.93.1. AppCheckBoxPreference Field属性列表
1.93.2. AppCheckBoxPreferenceMethod方法列表
1.94. AppCounter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppCounter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.94.1. AppCounter Field属性列表
1.94.1.1. final PackageManagerWrapper mPm;
protected final PackageManagerWrapper mPm;
1.94.1.2. final UserManager mUm;
protected final UserManager mUm;
1.94.2. AppCounterMethod方法列表
1.94.2.1. doInBackground(Void... params)
protected Integer doInBackground(Void... params)
methodList.add(new ZMethod(mZAndroidAPPClass,"Integer" ,"doInBackground", "Void... params"));
1.94.2.2. onPostExecute(Integer count)
protected void onPostExecute(Integer count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPostExecute", "Integer count"));
1.94.2.3. executeInForeground()
void executeInForeground()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"executeInForeground", ""));
1.94.2.4. abstract onCountComplete(int num)
protected abstract void onCountComplete(int num)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCountComplete", "int num"));
1.94.2.5. abstract includeInCount(ApplicationInfo info)
protected abstract boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.95. AppDataUsage.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/AppDataUsage.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.95.1. AppDataUsage Field属性列表
1.95.1.1. PackageManagerWrapper mPackageManagerWrapper;
private PackageManagerWrapper mPackageManagerWrapper;
1.95.1.2. Preference mTotalUsage;
private Preference mTotalUsage;
1.95.1.3. Preference mForegroundUsage;
private Preference mForegroundUsage;
1.95.1.4. Preference mBackgroundUsage;
private Preference mBackgroundUsage;
1.95.1.5. Preference mAppSettings;
private Preference mAppSettings;
1.95.1.6. RestrictedSwitchPreference mRestrictBackground;
private RestrictedSwitchPreference mRestrictBackground;
1.95.1.7. PreferenceCategory mAppList;
private PreferenceCategory mAppList;
1.95.1.8. Drawable mIcon;
private Drawable mIcon;
1.95.1.9. CharSequence mLabel;
private CharSequence mLabel;
1.95.1.10. String mPackageName;
private String mPackageName;
1.95.1.11. INetworkStatsSession mStatsSession;
private INetworkStatsSession mStatsSession;
1.95.1.12. CycleAdapter mCycleAdapter;
private CycleAdapter mCycleAdapter;
1.95.1.13. long mStart;
private long mStart;
1.95.1.14. long mEnd;
private long mEnd;
1.95.1.15. ChartData mChartData;
private ChartData mChartData;
1.95.1.16. NetworkTemplate mTemplate;
private NetworkTemplate mTemplate;
1.95.1.17. NetworkPolicy mPolicy;
private NetworkPolicy mPolicy;
1.95.1.18. AppItem mAppItem;
private AppItem mAppItem;
1.95.1.19. Intent mAppSettingsIntent;
private Intent mAppSettingsIntent;
1.95.1.20. SpinnerPreference mCycle;
private SpinnerPreference mCycle;
1.95.1.21. RestrictedSwitchPreference mUnrestrictedData;
private RestrictedSwitchPreference mUnrestrictedData;
1.95.1.22. DataSaverBackend mDataSaverBackend;
private DataSaverBackend mDataSaverBackend;
1.95.1.23. AdapterView.OnItemSelectedListener mCycleListener
private AdapterView.OnItemSelectedListener mCycleListener = new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView parent, View view, int position, long id) {
final CycleAdapter.CycleItem cycle = (CycleAdapter.CycleItem) mCycle.getSelectedItem();
mStart = cycle.start;
mEnd = cycle.end;
bindData();
}
@Override
public void onNothingSelected(AdapterView parent) {
// ignored
}
};
1.95.1.24. final ArraySet mPackages
private final ArraySet mPackages = new ArraySet<>();
1.95.1.25. final LoaderManager.LoaderCallbacks mChartDataCallbacks
private final LoaderManager.LoaderCallbacks mChartDataCallbacks = new LoaderManager.LoaderCallbacks() {
@Override
public Loader onCreateLoader(int id, Bundle args) {
return new ChartDataLoader(getActivity(), mStatsSession, args);
}
@Override
public void onLoadFinished(Loader loader, ChartData data) {
mChartData = data;
mCycleAdapter.updateCycleList(mPolicy, mChartData);
bindData();
}
@Override
public void onLoaderReset(Loader loader) {
}
};
1.95.1.26. final LoaderManager.LoaderCallbacks> mAppPrefCallbacks
private final LoaderManager.LoaderCallbacks> mAppPrefCallbacks = new LoaderManager.LoaderCallbacks>() {
@Override
public Loader> onCreateLoader(int i, Bundle bundle) {
return new AppPrefLoader(getPrefContext(), mPackages, getPackageManager());
}
@Override
public void onLoadFinished(Loader> loader, ArraySet preferences) {
if (preferences != null && mAppList != null) {
for (Preference preference : preferences) {
mAppList.addPreference(preference);
}
}
}
@Override
public void onLoaderReset(Loader> loader) {
}
};
1.95.1.27. static final String TAG
private static final String TAG = "AppDataUsage";
1.95.1.28. static final String ARG_APP_ITEM
public static final String ARG_APP_ITEM = "app_item";
1.95.1.29. static final String ARG_NETWORK_TEMPLATE
public static final String ARG_NETWORK_TEMPLATE = "network_template";
1.95.1.30. static final String KEY_TOTAL_USAGE
private static final String KEY_TOTAL_USAGE = "total_usage";
1.95.1.31. static final String KEY_FOREGROUND_USAGE
private static final String KEY_FOREGROUND_USAGE = "foreground_usage";
1.95.1.32. static final String KEY_BACKGROUND_USAGE
private static final String KEY_BACKGROUND_USAGE = "background_usage";
1.95.1.33. static final String KEY_APP_SETTINGS
private static final String KEY_APP_SETTINGS = "app_settings";
1.95.1.34. static final String KEY_RESTRICT_BACKGROUND
private static final String KEY_RESTRICT_BACKGROUND = "restrict_background";
1.95.1.35. static final String KEY_APP_LIST
private static final String KEY_APP_LIST = "app_list";
1.95.1.36. static final String KEY_CYCLE
private static final String KEY_CYCLE = "cycle";
1.95.1.37. static final String KEY_UNRESTRICTED_DATA
private static final String KEY_UNRESTRICTED_DATA = "unrestricted_data_saver";
1.95.1.38. static final int LOADER_CHART_DATA
private static final int LOADER_CHART_DATA = 2;
1.95.1.39. static final int LOADER_APP_PREF
private static final int LOADER_APP_PREF = 3;
1.95.2. AppDataUsageMethod方法列表
1.95.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.95.2.2. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.95.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.95.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.95.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.95.2.6. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.95.2.7. updatePrefs()
void updatePrefs()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePrefs", ""));
1.95.2.8. updatePrefs(boolean restrictBackground,boolean unrestrictData)
private void updatePrefs(boolean restrictBackground, boolean unrestrictData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePrefs", "boolean restrictBackground,boolean unrestrictData"));
1.95.2.9. addUid(int uid)
private void addUid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addUid", "int uid"));
1.95.2.10. bindData()
private void bindData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindData", ""));
1.95.2.11. getAppRestrictBackground()
private boolean getAppRestrictBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getAppRestrictBackground", ""));
1.95.2.12. getUnrestrictData()
private boolean getUnrestrictData()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getUnrestrictData", ""));
1.95.2.13. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.95.2.14. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.95.2.15. onDataSaverChanged(boolean isDataSaving)
public void onDataSaverChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSaverChanged", "boolean isDataSaving"));
1.95.2.16. onWhitelistStatusChanged(int uid,boolean isWhitelisted)
public void onWhitelistStatusChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWhitelistStatusChanged", "int uid,boolean isWhitelisted"));
1.95.2.17. onBlacklistStatusChanged(int uid,boolean isBlacklisted)
public void onBlacklistStatusChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBlacklistStatusChanged", "int uid,boolean isBlacklisted"));
1.96. AppDataUsageActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/AppDataUsageActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.96.1. AppDataUsageActivity Field属性列表
1.96.1.1. static final boolean DEBUG
private static final boolean DEBUG = false;
1.96.1.2. static final String TAG
private static final String TAG = "AppDataUsageActivity";
1.96.2. AppDataUsageActivityMethod方法列表
1.96.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.96.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.97. AppDataUsagePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/AppDataUsagePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.97.1. AppDataUsagePreference Field属性列表
1.97.1.1. UidDetail mDetail;
private UidDetail mDetail;
1.97.1.2. final AppItem mItem;
private final AppItem mItem;
1.97.1.3. final int mPercent;
private final int mPercent;
1.97.2. AppDataUsagePreferenceMethod方法列表
1.97.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.97.2.2. setAppInfo()
private void setAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAppInfo", ""));
1.97.2.3. getItem()
public AppItem getItem()
methodList.add(new ZMethod(mZAndroidAPPClass,"AppItem" ,"getItem", ""));
1.98. AppDataUsagePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppDataUsagePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.98.1. AppDataUsagePreferenceController Field属性列表
1.98.1.1. ChartData mChartData;
private ChartData mChartData;
1.98.1.2. INetworkStatsSession mStatsSession;
private INetworkStatsSession mStatsSession;
1.98.2. AppDataUsagePreferenceControllerMethod方法列表
1.98.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.98.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.98.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.98.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.98.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.98.2.6. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.98.2.7. onLoadFinished(Loader loader,ChartData data)
public void onLoadFinished(Loader loader, ChartData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,ChartData data"));
1.98.2.8. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.98.2.9. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.98.2.10. getDataSummary()
private CharSequence getDataSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDataSummary", ""));
1.98.2.11. isBandwidthControlEnabled()
boolean isBandwidthControlEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBandwidthControlEnabled", ""));
1.98.2.12. static getTemplate(Context context)
private static NetworkTemplate getTemplate(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getTemplate", "Context context"));
1.99. AppDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/AppDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.99.1. AppDialog Field属性列表
1.99.1.1. final Listener mListener;
private final Listener mListener;
1.99.1.2. final PackageInfo mPackageInfo;
private final PackageInfo mPackageInfo;
1.99.1.3. final String mLabel;
private final String mLabel;
1.99.2. AppDialogMethod方法列表
1.99.2.1. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.99.2.2. createButtons()
protected void createButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createButtons", ""));
1.99.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.99.2.4. final getPackageInfo()
public final PackageInfo getPackageInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"getPackageInfo", ""));
1.100. AppDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/AppDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.100.1. AppDialogFragment Field属性列表
1.100.1.1. PackageInfo mPackageInfo;
private PackageInfo mPackageInfo;
1.100.1.2. Listener mListener;
private Listener mListener;
1.100.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.100.1.4. final IConnectivityManager mService
private final IConnectivityManager mService = IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
1.100.1.5. static final String TAG_APP_DIALOG
private static final String TAG_APP_DIALOG = "vpnappdialog";
1.100.1.6. static final String TAG
private static final String TAG = "AppDialogFragment";
1.100.1.7. static final String ARG_MANAGING
private static final String ARG_MANAGING = "managing";
1.100.1.8. static final String ARG_LABEL
private static final String ARG_LABEL = "label";
1.100.1.9. static final String ARG_CONNECTED
private static final String ARG_CONNECTED = "connected";
1.100.1.10. static final String ARG_PACKAGE
private static final String ARG_PACKAGE = "package";
1.100.2. AppDialogFragmentMethod方法列表
1.100.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.100.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.100.2.3. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.100.2.4. onCancel(DialogInterface dialog)
public void onCancel(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancel", "DialogInterface dialog"));
1.100.2.5. onForget(final DialogInterface dialog)
public void onForget(final DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForget", "final DialogInterface dialog"));
1.100.2.6. onDisconnect(final DialogInterface dialog)
private void onDisconnect(final DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisconnect", "final DialogInterface dialog"));
1.100.2.7. isUiRestricted()
private boolean isUiRestricted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUiRestricted", ""));
1.100.2.8. getUserId()
private int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.100.2.9. static show(Fragment parent,PackageInfo packageInfo,String label,boolean managing,boolean connected)
public static void show(Fragment parent, PackageInfo packageInfo, String label, boolean managing, boolean connected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent,PackageInfo packageInfo,String label,boolean managing,boolean connected"));
1.100.2.10. static show(Fragment parent,Listener listener,PackageInfo packageInfo,String label,boolean managing,boolean connected)
public static void show(Fragment parent, Listener listener, PackageInfo packageInfo, String label, boolean managing, boolean connected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent,Listener listener,PackageInfo packageInfo,String label,boolean managing,boolean connected"));
1.101. AppDomainsPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppDomainsPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.101.1. AppDomainsPreference Field属性列表
1.101.1.1. int mNumEntries;
private int mNumEntries;
1.101.2. AppDomainsPreferenceMethod方法列表
1.101.2.1. setTitles(CharSequence[] titles)
public void setTitles(CharSequence[] titles)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitles", "CharSequence[] titles"));
1.101.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.101.2.3. onBindListItem(View view,int index)
protected void onBindListItem(View view, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindListItem", "View view,int index"));
1.102. AppFilterItem.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/AppFilterItem.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.102.1. AppFilterItem Field属性列表
1.102.1.1. final int mTitle;
@StringRes
private final int mTitle;
1.102.1.2. final int mFilterType;
@AppFilterRegistry.FilterType
private final int mFilterType;
1.102.1.3. final ApplicationsState.AppFilter mFilter;
private final ApplicationsState.AppFilter mFilter;
1.102.2. AppFilterItemMethod方法列表
1.102.2.1. getTitle()
public int getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTitle", ""));
1.102.2.2. getFilter()
public ApplicationsState.AppFilter getFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ApplicationsState.AppFilter" ,"getFilter", ""));
1.102.2.3. getFilterType()
public int getFilterType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getFilterType", ""));
1.102.2.4. compareTo(AppFilterItem appFilter)
public int compareTo(AppFilterItem appFilter)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "AppFilterItem appFilter"));
1.102.2.5. equals(Object o)
public boolean equals(Object o)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object o"));
1.102.2.6. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.103. AppFilterRegistry.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/AppFilterRegistry.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.103.1. AppFilterRegistry Field属性列表
1.103.1.1. final AppFilterItem[] mFilters;
private final AppFilterItem[] mFilters;
1.103.1.2. static AppFilterRegistry sRegistry;
// Next id: 16
private static AppFilterRegistry sRegistry;
1.103.1.3. static final // Filters will appear sorted based on their value defined here. public int FILTER_APPS_POWER_WHITELIST
// Filter options used for displayed list of applications
// Filters will appear sorted based on their value defined here.
public static final int FILTER_APPS_POWER_WHITELIST = 0;
1.103.1.4. static final int FILTER_APPS_POWER_WHITELIST_ALL
public static final int FILTER_APPS_POWER_WHITELIST_ALL = 1;
1.103.1.5. static final int FILTER_APPS_ALL
public static final int FILTER_APPS_ALL = 2;
1.103.1.6. static final int FILTER_APPS_ENABLED
public static final int FILTER_APPS_ENABLED = 3;
1.103.1.7. static final int FILTER_APPS_INSTANT
public static final int FILTER_APPS_INSTANT = 4;
1.103.1.8. static final int FILTER_APPS_DISABLED
public static final int FILTER_APPS_DISABLED = 5;
1.103.1.9. static final int FILTER_APPS_RECENT
public static final int FILTER_APPS_RECENT = 6;
1.103.1.10. static final int FILTER_APPS_FREQUENT
public static final int FILTER_APPS_FREQUENT = 7;
1.103.1.11. static final int FILTER_APPS_PERSONAL
public static final int FILTER_APPS_PERSONAL = 8;
1.103.1.12. static final int FILTER_APPS_WORK
public static final int FILTER_APPS_WORK = 9;
1.103.1.13. static final int FILTER_APPS_USAGE_ACCESS
public static final int FILTER_APPS_USAGE_ACCESS = 10;
1.103.1.14. static final int FILTER_APPS_WITH_OVERLAY
public static final int FILTER_APPS_WITH_OVERLAY = 11;
1.103.1.15. static final int FILTER_APPS_WRITE_SETTINGS
public static final int FILTER_APPS_WRITE_SETTINGS = 12;
1.103.1.16. static final int FILTER_APPS_INSTALL_SOURCES
public static final int FILTER_APPS_INSTALL_SOURCES = 13;
1.103.1.17. static final int FILTER_APP_HAS_DIRECTORY_ACCESS
public static final int FILTER_APP_HAS_DIRECTORY_ACCESS = 14;
1.103.1.18. static final int FILTER_APP_CAN_CHANGE_WIFI_STATE
public static final int FILTER_APP_CAN_CHANGE_WIFI_STATE = 15;
1.103.2. AppFilterRegistryMethod方法列表
1.103.2.1. getDefaultFilterType(int listType)
public int getDefaultFilterType(int listType)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultFilterType", "int listType"));
1.103.2.2. get(@FilterType int filterType)
public AppFilterItem get(@FilterType int filterType)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppFilterItem" ,"get", "@FilterType int filterType"));
1.103.2.3. static getInstance()
public static AppFilterRegistry getInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"AppFilterRegistry" ,"getInstance", ""));
1.104. AppGridView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AppGridView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.104.1. AppGridView Field属性列表
1.104.2. AppGridViewMethod方法列表
1.105. AppHeaderViewPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppHeaderViewPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.105.1. AppHeaderViewPreferenceController Field属性列表
1.105.1.1. LayoutPreference mHeader;
private LayoutPreference mHeader;
1.105.1.2. EntityHeaderController mEntityHeaderController;
private EntityHeaderController mEntityHeaderController;
1.105.1.3. final AppInfoDashboardFragment mParent;
private final AppInfoDashboardFragment mParent;
1.105.1.4. final String mPackageName;
private final String mPackageName;
1.105.1.5. final Lifecycle mLifecycle;
private final Lifecycle mLifecycle;
1.105.1.6. static final String KEY_HEADER
private static final String KEY_HEADER = "header_view";
1.105.2. AppHeaderViewPreferenceControllerMethod方法列表
1.105.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.105.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.105.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.105.2.4. refreshUi()
public void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.105.2.5. setAppLabelAndIcon(PackageInfo pkgInfo,AppEntry appEntry)
private void setAppLabelAndIcon(PackageInfo pkgInfo, AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAppLabelAndIcon", "PackageInfo pkgInfo,AppEntry appEntry"));
1.106. AppInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/AppInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.106.1. AppInfo Field属性列表
1.106.1.1. final String packageName;
public final String packageName;
1.106.1.2. final ArraySet anomalyTypes;
/**
* Anomaly type of the app
* @see Anomaly.AnomalyType
*/
public final ArraySet anomalyTypes;
1.106.1.3. final long screenOnTimeMs;
public final long screenOnTimeMs;
1.106.1.4. final int uid;
public final int uid;
1.106.1.5. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public AppInfo createFromParcel(Parcel in) {
return new AppInfo(in);
}
public AppInfo[] newArray(int size) {
return new AppInfo[size];
}
};
1.106.2. AppInfoMethod方法列表
1.106.2.1. compareTo(AppInfo o)
public int compareTo(AppInfo o)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "AppInfo o"));
1.106.2.2. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.106.2.3. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.106.2.4. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.106.2.5. equals(Object obj)
public boolean equals(Object obj)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object obj"));
1.107. AppInfoBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppInfoBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.107.1. AppInfoBase Field属性列表
1.107.1.1. EnforcedAdmin mAppsControlDisallowedAdmin;
protected EnforcedAdmin mAppsControlDisallowedAdmin;
1.107.1.2. boolean mAppsControlDisallowedBySystem;
protected boolean mAppsControlDisallowedBySystem;
1.107.1.3. ApplicationFeatureProvider mApplicationFeatureProvider;
protected ApplicationFeatureProvider mApplicationFeatureProvider;
1.107.1.4. ApplicationsState mState;
protected ApplicationsState mState;
1.107.1.5. ApplicationsState.Session mSession;
protected ApplicationsState.Session mSession;
1.107.1.6. ApplicationsState.AppEntry mAppEntry;
protected ApplicationsState.AppEntry mAppEntry;
1.107.1.7. PackageInfo mPackageInfo;
protected PackageInfo mPackageInfo;
1.107.1.8. int mUserId;
protected int mUserId;
1.107.1.9. String mPackageName;
protected String mPackageName;
1.107.1.10. IUsbManager mUsbManager;
protected IUsbManager mUsbManager;
1.107.1.11. DevicePolicyManager mDpm;
protected DevicePolicyManager mDpm;
1.107.1.12. UserManager mUserManager;
protected UserManager mUserManager;
1.107.1.13. PackageManager mPm;
protected PackageManager mPm;
1.107.1.14. boolean mFinishing;
protected boolean mFinishing;
1.107.1.15. boolean mListeningToPackageRemove;
protected boolean mListeningToPackageRemove;
1.107.1.16. final BroadcastReceiver mPackageRemovedReceiver
protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String packageName = intent.getData().getSchemeSpecificPart();
if (!mFinishing && (mAppEntry == null || mAppEntry.info == null || TextUtils.equals(mAppEntry.info.packageName, packageName))) {
onPackageRemoved();
}
}
};
1.107.1.17. static final String ARG_PACKAGE_NAME
public static final String ARG_PACKAGE_NAME = "package";
1.107.1.18. static final String ARG_PACKAGE_UID
public static final String ARG_PACKAGE_UID = "uid";
1.107.1.19. static final String TAG
protected static final String TAG = AppInfoBase.class.getSimpleName();
1.107.1.20. static final boolean localLOGV
protected static final boolean localLOGV = false;
1.107.1.21. static final int DLG_BASE
// Dialog identifiers used in showDialog
protected static final int DLG_BASE = 0;
1.107.2. AppInfoBaseMethod方法列表
1.107.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.107.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.107.2.3. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.107.2.4. retrieveAppEntry()
protected String retrieveAppEntry()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"retrieveAppEntry", ""));
1.107.2.5. setIntentAndFinish(boolean finish,boolean appChanged)
protected void setIntentAndFinish(boolean finish, boolean appChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIntentAndFinish", "boolean finish,boolean appChanged"));
1.107.2.6. showDialogInner(int id,int moveErrorCode)
protected void showDialogInner(int id, int moveErrorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialogInner", "int id,int moveErrorCode"));
1.107.2.7. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.107.2.8. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.107.2.9. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.107.2.10. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.107.2.11. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.107.2.12. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.107.2.13. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.107.2.14. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.107.2.15. startListeningToPackageRemove()
protected void startListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListeningToPackageRemove", ""));
1.107.2.16. stopListeningToPackageRemove()
protected void stopListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListeningToPackageRemove", ""));
1.107.2.17. onPackageRemoved()
protected void onPackageRemoved()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageRemoved", ""));
1.107.2.18. abstract refreshUi()
protected abstract boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.107.2.19. abstract createDialog(int id,int errorCode)
protected abstract AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.107.2.20. static startAppInfoFragment(Class fragment,int titleRes,String pkg,int uid,Fragment source,int request,int sourceMetricsCategory)
public static void startAppInfoFragment(Class fragment, int titleRes, String pkg, int uid, Fragment source, int request, int sourceMetricsCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAppInfoFragment", "Class fragment,int titleRes,String pkg,int uid,Fragment source,int request,int sourceMetricsCategory"));
1.108. AppInfoDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppInfoDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.108.1. AppInfoDashboardFragment Field属性列表
1.108.1.1. EnforcedAdmin mAppsControlDisallowedAdmin;
private EnforcedAdmin mAppsControlDisallowedAdmin;
1.108.1.2. boolean mAppsControlDisallowedBySystem;
private boolean mAppsControlDisallowedBySystem;
1.108.1.3. ApplicationsState mState;
private ApplicationsState mState;
1.108.1.4. ApplicationsState.Session mSession;
private ApplicationsState.Session mSession;
1.108.1.5. ApplicationsState.AppEntry mAppEntry;
private ApplicationsState.AppEntry mAppEntry;
1.108.1.6. PackageInfo mPackageInfo;
private PackageInfo mPackageInfo;
1.108.1.7. int mUserId;
private int mUserId;
1.108.1.8. String mPackageName;
private String mPackageName;
1.108.1.9. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.108.1.10. UserManager mUserManager;
private UserManager mUserManager;
1.108.1.11. PackageManager mPm;
private PackageManager mPm;
1.108.1.12. boolean mFinishing;
private boolean mFinishing;
1.108.1.13. boolean mListeningToPackageRemove;
private boolean mListeningToPackageRemove;
1.108.1.14. boolean mInitialized;
private boolean mInitialized;
1.108.1.15. boolean mShowUninstalled;
private boolean mShowUninstalled;
1.108.1.16. boolean mUpdatedSysApp
private boolean mUpdatedSysApp = false;
1.108.1.17. boolean mDisableAfterUninstall;
private boolean mDisableAfterUninstall;
1.108.1.18. List mCallbacks
private List mCallbacks = new ArrayList<>();
1.108.1.19. InstantAppButtonsPreferenceController mInstantAppButtonPreferenceController;
private InstantAppButtonsPreferenceController mInstantAppButtonPreferenceController;
1.108.1.20. AppActionButtonPreferenceController mAppActionButtonPreferenceController;
private AppActionButtonPreferenceController mAppActionButtonPreferenceController;
1.108.1.21. final BroadcastReceiver mPackageRemovedReceiver
@VisibleForTesting
final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final String packageName = intent.getData().getSchemeSpecificPart();
if (!mFinishing && (mAppEntry == null || mAppEntry.info == null || TextUtils.equals(mAppEntry.info.packageName, packageName))) {
onPackageRemoved();
}
}
};
1.108.1.22. static final String TAG
private static final String TAG = "AppInfoDashboard";
1.108.1.23. static final @VisibleForTesting static int UNINSTALL_ALL_USERS_MENU
// Menu identifiers
@VisibleForTesting
static final int UNINSTALL_ALL_USERS_MENU = 1;
1.108.1.24. static final int UNINSTALL_UPDATES
@VisibleForTesting
static final int UNINSTALL_UPDATES = 2;
1.108.1.25. static final int INSTALL_INSTANT_APP_MENU
static final int INSTALL_INSTANT_APP_MENU = 3;
1.108.1.26. static final @VisibleForTesting static int REQUEST_UNINSTALL
// Result code identifiers
@VisibleForTesting
static final int REQUEST_UNINSTALL = 0;
1.108.1.27. static final int REQUEST_REMOVE_DEVICE_ADMIN
private static final int REQUEST_REMOVE_DEVICE_ADMIN = 1;
1.108.1.28. static final int SUB_INFO_FRAGMENT
static final int SUB_INFO_FRAGMENT = 1;
1.108.1.29. static final int LOADER_CHART_DATA
static final int LOADER_CHART_DATA = 2;
1.108.1.30. static final int LOADER_STORAGE
static final int LOADER_STORAGE = 3;
1.108.1.31. static final int LOADER_BATTERY
static final int LOADER_BATTERY = 4;
1.108.1.32. static final int DLG_BASE
// Dialog identifiers used in showDialog
private static final int DLG_BASE = 0;
1.108.1.33. static final int DLG_FORCE_STOP
private static final int DLG_FORCE_STOP = DLG_BASE + 1;
1.108.1.34. static final int DLG_DISABLE
private static final int DLG_DISABLE = DLG_BASE + 2;
1.108.1.35. static final int DLG_SPECIAL_DISABLE
private static final int DLG_SPECIAL_DISABLE = DLG_BASE + 3;
1.108.1.36. static final int DLG_CLEAR_INSTANT_APP
static final int DLG_CLEAR_INSTANT_APP = DLG_BASE + 4;
1.108.1.37. static final String ARG_PACKAGE_NAME
public static final String ARG_PACKAGE_NAME = "package";
1.108.1.38. static final String ARG_PACKAGE_UID
public static final String ARG_PACKAGE_UID = "uid";
1.108.1.39. static final boolean localLOGV
private static final boolean localLOGV = false;
1.108.2. AppInfoDashboardFragmentMethod方法列表
1.108.2.1. isDisabledUntilUsed()
private boolean isDisabledUntilUsed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledUntilUsed", ""));
1.108.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.108.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.108.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.108.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.108.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.108.2.7. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.108.2.8. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.108.2.9. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.108.2.10. addToCallbackList(Callback callback)
void addToCallbackList(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addToCallbackList", "Callback callback"));
1.108.2.11. getAppEntry()
ApplicationsState.AppEntry getAppEntry()
methodList.add(new ZMethod(mZAndroidAPPClass,"ApplicationsState.AppEntry" ,"getAppEntry", ""));
1.108.2.12. setAppEntry(ApplicationsState.AppEntry appEntry)
void setAppEntry(ApplicationsState.AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAppEntry", "ApplicationsState.AppEntry appEntry"));
1.108.2.13. getPackageInfo()
PackageInfo getPackageInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"getPackageInfo", ""));
1.108.2.14. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.108.2.15. ensurePackageInfoAvailable(Activity activity)
boolean ensurePackageInfoAvailable(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"ensurePackageInfoAvailable", "Activity activity"));
1.108.2.16. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.108.2.17. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.108.2.18. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.108.2.19. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.108.2.20. shouldShowUninstallForAll(AppEntry appEntry)
boolean shouldShowUninstallForAll(AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowUninstallForAll", "AppEntry appEntry"));
1.108.2.21. refreshUi()
boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.108.2.22. createDialog(int id,int errorCode)
AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.108.2.23. uninstallPkg(String packageName,boolean allUsers,boolean andDisable)
private void uninstallPkg(String packageName, boolean allUsers, boolean andDisable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"uninstallPkg", "String packageName,boolean allUsers,boolean andDisable"));
1.108.2.24. forceStopPackage(String pkgName)
private void forceStopPackage(String pkgName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceStopPackage", "String pkgName"));
1.108.2.25. handleUninstallButtonClick()
void handleUninstallButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUninstallButtonClick", ""));
1.108.2.26. handleForceStopButtonClick()
void handleForceStopButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleForceStopButtonClick", ""));
1.108.2.27. isSingleUser()
private boolean isSingleUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSingleUser", ""));
1.108.2.28. onPackageRemoved()
private void onPackageRemoved()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageRemoved", ""));
1.108.2.29. getNumberOfUserWithPackageInstalled(String packageName)
int getNumberOfUserWithPackageInstalled(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfUserWithPackageInstalled", "String packageName"));
1.108.2.30. getPackageName()
private String getPackageName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageName", ""));
1.108.2.31. retrieveAppEntry()
void retrieveAppEntry()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"retrieveAppEntry", ""));
1.108.2.32. setIntentAndFinish(boolean finish,boolean appChanged)
private void setIntentAndFinish(boolean finish, boolean appChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIntentAndFinish", "boolean finish,boolean appChanged"));
1.108.2.33. showDialogInner(int id,int moveErrorCode)
void showDialogInner(int id, int moveErrorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialogInner", "int id,int moveErrorCode"));
1.108.2.34. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.108.2.35. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.108.2.36. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.108.2.37. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.108.2.38. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.108.2.39. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.108.2.40. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.108.2.41. startListeningToPackageRemove()
void startListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListeningToPackageRemove", ""));
1.108.2.42. stopListeningToPackageRemove()
private void stopListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListeningToPackageRemove", ""));
1.108.2.43. static startAppInfoFragment(Class fragment,int title,Bundle args,SettingsPreferenceFragment caller,AppEntry appEntry)
public static void startAppInfoFragment(Class fragment, int title, Bundle args, SettingsPreferenceFragment caller, AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAppInfoFragment", "Class fragment,int title,Bundle args,SettingsPreferenceFragment caller,AppEntry appEntry"));
1.109. AppInfoPreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppInfoPreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.109.1. AppInfoPreferenceControllerBase Field属性列表
1.109.1.1. AppInfoDashboardFragment mParent;
protected AppInfoDashboardFragment mParent;
1.109.1.2. Preference mPreference;
protected Preference mPreference;
1.109.1.3. final Class mDetailFragmentClass;
private final Class mDetailFragmentClass;
1.109.2. AppInfoPreferenceControllerBaseMethod方法列表
1.109.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.109.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.109.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.109.2.4. refreshUi()
public void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.109.2.5. setParentFragment(AppInfoDashboardFragment parent)
public void setParentFragment(AppInfoDashboardFragment parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setParentFragment", "AppInfoDashboardFragment parent"));
1.109.2.6. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.109.2.7. getArguments()
protected Bundle getArguments()
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"getArguments", ""));
1.110. AppInfoWithHeader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppInfoWithHeader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.110.1. AppInfoWithHeader Field属性列表
1.110.1.1. boolean mCreated;
private boolean mCreated;
1.110.2. AppInfoWithHeaderMethod方法列表
1.110.2.1. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.111. AppInstallerInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppInstallerInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.111.1. AppInstallerInfoPreferenceController Field属性列表
1.111.1.1. String mPackageName;
private String mPackageName;
1.111.1.2. String mInstallerPackage;
private String mInstallerPackage;
1.111.1.3. CharSequence mInstallerLabel;
private CharSequence mInstallerLabel;
1.111.2. AppInstallerInfoPreferenceControllerMethod方法列表
1.111.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.111.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.111.2.3. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.112. AppInstallerPreferenceCategoryController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppInstallerPreferenceCategoryController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.112.1. AppInstallerPreferenceCategoryController Field属性列表
1.112.2. AppInstallerPreferenceCategoryControllerMethod方法列表
1.113. AppLabelPredicate.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/AppLabelPredicate.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.113.1. AppLabelPredicate Field属性列表
1.113.1.1. Context mContext;
private Context mContext;
1.113.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.113.2. AppLabelPredicateMethod方法列表
1.113.2.1. test(AppInfo appInfo)
public boolean test(AppInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"test", "AppInfo appInfo"));
1.114. AppLaunchSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppLaunchSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.114.1. AppLaunchSettings Field属性列表
1.114.1.1. PackageManager mPm;
private PackageManager mPm;
1.114.1.2. boolean mIsBrowser;
private boolean mIsBrowser;
1.114.1.3. boolean mHasDomainUrls;
private boolean mHasDomainUrls;
1.114.1.4. DropDownPreference mAppLinkState;
private DropDownPreference mAppLinkState;
1.114.1.5. AppDomainsPreference mAppDomainUrls;
private AppDomainsPreference mAppDomainUrls;
1.114.1.6. ClearDefaultsPreference mClearDefaultsPreference;
private ClearDefaultsPreference mClearDefaultsPreference;
1.114.1.7. static final String TAG
private static final String TAG = "AppLaunchSettings";
1.114.1.8. static final String KEY_APP_LINK_STATE
private static final String KEY_APP_LINK_STATE = "app_link_state";
1.114.1.9. static final String KEY_SUPPORTED_DOMAIN_URLS
private static final String KEY_SUPPORTED_DOMAIN_URLS = "app_launch_supported_domain_urls";
1.114.1.10. static final String KEY_CLEAR_DEFAULTS
private static final String KEY_CLEAR_DEFAULTS = "app_launch_clear_defaults";
1.114.1.11. static final Intent sBrowserIntent;
private static final Intent sBrowserIntent;
1.114.2. AppLaunchSettingsMethod方法列表
1.114.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.114.2.2. isBrowserApp(String packageName)
private boolean isBrowserApp(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBrowserApp", "String packageName"));
1.114.2.3. buildStateDropDown()
private void buildStateDropDown()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildStateDropDown", ""));
1.114.2.4. updateAppLinkState(final int newState)
private boolean updateAppLinkState(final int newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"updateAppLinkState", "final int newState"));
1.114.2.5. getEntries(String packageName,List iviList,List filters)
private CharSequence[] getEntries(String packageName, List iviList, List filters)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getEntries", "String packageName,List iviList,List filters"));
1.114.2.6. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.114.2.7. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.114.2.8. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.114.2.9. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.114.2.10. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.115. ApplicationFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ApplicationFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.116. ApplicationFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ApplicationFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.116.1. ApplicationFeatureProviderImpl Field属性列表
1.116.1.1. final Context mContext;
private final Context mContext;
1.116.1.2. final PackageManagerWrapper mPm;
private final PackageManagerWrapper mPm;
1.116.1.3. final IPackageManager mPms;
private final IPackageManager mPms;
1.116.1.4. final DevicePolicyManager mDpm;
private final DevicePolicyManager mDpm;
1.116.1.5. final UserManager mUm;
private final UserManager mUm;
1.116.2. ApplicationFeatureProviderImplMethod方法列表
1.116.2.1. calculateNumberOfPolicyInstalledApps(boolean async,NumberOfAppsCallback callback)
public void calculateNumberOfPolicyInstalledApps(boolean async, NumberOfAppsCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateNumberOfPolicyInstalledApps", "boolean async,NumberOfAppsCallback callback"));
1.116.2.2. listPolicyInstalledApps(ListOfAppsCallback callback)
public void listPolicyInstalledApps(ListOfAppsCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"listPolicyInstalledApps", "ListOfAppsCallback callback"));
1.116.2.3. calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions,boolean async,NumberOfAppsCallback callback)
public void calculateNumberOfAppsWithAdminGrantedPermissions(String[] permissions, boolean async, NumberOfAppsCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateNumberOfAppsWithAdminGrantedPermissions", "String[] permissions,boolean async,NumberOfAppsCallback callback"));
1.116.2.4. listAppsWithAdminGrantedPermissions(String[] permissions,ListOfAppsCallback callback)
public void listAppsWithAdminGrantedPermissions(String[] permissions, ListOfAppsCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"listAppsWithAdminGrantedPermissions", "String[] permissions,ListOfAppsCallback callback"));
1.116.2.5. findPersistentPreferredActivities(int userId,Intent[] intents)
public List findPersistentPreferredActivities(int userId, Intent[] intents)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"findPersistentPreferredActivities", "int userId,Intent[] intents"));
1.116.2.6. getKeepEnabledPackages()
public Set getKeepEnabledPackages()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getKeepEnabledPackages", ""));
1.117. ApplicationListFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ApplicationListFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.117.1. ApplicationListFragment Field属性列表
1.117.1.1. static final String TAG
static final String TAG = "EnterprisePrivacySettings";
1.117.2. ApplicationListFragmentMethod方法列表
1.117.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.117.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.117.2.3. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.118. ApplicationListPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ApplicationListPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.118.1. ApplicationListPreferenceController Field属性列表
1.118.1.1. SettingsPreferenceFragment mParent;
private SettingsPreferenceFragment mParent;
1.118.1.2. final PackageManager mPm;
private final PackageManager mPm;
1.118.2. ApplicationListPreferenceControllerMethod方法列表
1.118.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.118.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.118.2.3. onListOfAppsResult(List result)
public void onListOfAppsResult(List result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListOfAppsResult", "List result"));
1.119. ApplicationViewHolder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ApplicationViewHolder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.119.1. ApplicationViewHolder Field属性列表
1.119.1.1. View mSummaryContainer;
@VisibleForTesting
View mSummaryContainer;
1.119.1.2. final TextView mAppName;
private final TextView mAppName;
1.119.1.3. final ImageView mAppIcon;
private final ImageView mAppIcon;
1.119.1.4. final boolean mKeepStableHeight;
private final boolean mKeepStableHeight;
1.119.1.5. final TextView mSummary;
@VisibleForTesting
final TextView mSummary;
1.119.1.6. final TextView mDisabled;
@VisibleForTesting
final TextView mDisabled;
1.119.1.7. final ViewGroup mWidgetContainer;
@VisibleForTesting
final ViewGroup mWidgetContainer;
1.119.1.8. final Switch mSwitch;
@VisibleForTesting
final Switch mSwitch;
1.119.2. ApplicationViewHolderMethod方法列表
1.119.2.1. setSummary(CharSequence summary)
void setSummary(CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummary", "CharSequence summary"));
1.119.2.2. setSummary(@StringRes int summary)
void setSummary(@StringRes int summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummary", "@StringRes int summary"));
1.119.2.3. setEnabled(boolean isEnabled)
void setEnabled(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean isEnabled"));
1.119.2.4. setTitle(CharSequence title)
void setTitle(CharSequence title)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitle", "CharSequence title"));
1.119.2.5. setIcon(int drawableRes)
void setIcon(int drawableRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIcon", "int drawableRes"));
1.119.2.6. setIcon(Drawable icon)
void setIcon(Drawable icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIcon", "Drawable icon"));
1.119.2.7. updateDisableView(ApplicationInfo info)
void updateDisableView(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisableView", "ApplicationInfo info"));
1.119.2.8. updateSummaryContainer()
void updateSummaryContainer()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummaryContainer", ""));
1.119.2.9. updateSizeText(AppEntry entry,CharSequence invalidSizeStr,int whichSize)
void updateSizeText(AppEntry entry, CharSequence invalidSizeStr, int whichSize)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSizeText", "AppEntry entry,CharSequence invalidSizeStr,int whichSize"));
1.119.2.10. updateSwitch(View.OnClickListener listener,boolean enabled,boolean checked)
void updateSwitch(View.OnClickListener listener, boolean enabled, boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSwitch", "View.OnClickListener listener,boolean enabled,boolean checked"));
1.119.2.11. static newView(ViewGroup parent)
static View newView(ViewGroup parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"newView", "ViewGroup parent"));
1.119.2.12. static newView(ViewGroup parent,boolean twoTarget)
static View newView(ViewGroup parent, boolean twoTarget)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"newView", "ViewGroup parent,boolean twoTarget"));
1.120. AppLinkPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AppLinkPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.120.1. AppLinkPreferenceController Field属性列表
1.120.1.1. static final String TAG
private static final String TAG = "AppLinkPrefContr";
1.120.1.2. static final String KEY_APP_LINK
private static final String KEY_APP_LINK = "app_link";
1.120.2. AppLinkPreferenceControllerMethod方法列表
1.120.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.120.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.120.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.121. AppLister.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppLister.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.121.1. AppLister Field属性列表
1.121.1.1. final PackageManagerWrapper mPm;
protected final PackageManagerWrapper mPm;
1.121.1.2. final UserManager mUm;
protected final UserManager mUm;
1.121.2. AppListerMethod方法列表
1.121.2.1. doInBackground(Void... params)
protected List doInBackground(Void... params)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"doInBackground", "Void... params"));
1.121.2.2. onPostExecute(List list)
protected void onPostExecute(List list)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPostExecute", "List list"));
1.121.2.3. abstract onAppListBuilt(List list)
protected abstract void onAppListBuilt(List list)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAppListBuilt", "List list"));
1.121.2.4. abstract includeInCount(ApplicationInfo info)
protected abstract boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.122. AppLocationPermissionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/AppLocationPermissionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.122.1. AppLocationPermissionPreferenceController Field属性列表
1.122.1.1. static final String KEY_APP_LEVEL_PERMISSIONS
private static final String KEY_APP_LEVEL_PERMISSIONS = "app_level_permissions";
1.122.2. AppLocationPermissionPreferenceControllerMethod方法列表
1.122.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.122.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.123. AppManagementFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/AppManagementFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.123.1. AppManagementFragment Field属性列表
1.123.1.1. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.123.1.2. ConnectivityManager mConnectivityManager;
private ConnectivityManager mConnectivityManager;
1.123.1.3. IConnectivityManager mConnectivityService;
private IConnectivityManager mConnectivityService;
1.123.1.4. String mPackageName;
private String mPackageName;
1.123.1.5. PackageInfo mPackageInfo;
private PackageInfo mPackageInfo;
1.123.1.6. String mVpnLabel;
private String mVpnLabel;
1.123.1.7. Preference mPreferenceVersion;
// UI preference
private Preference mPreferenceVersion;
1.123.1.8. RestrictedSwitchPreference mPreferenceAlwaysOn;
private RestrictedSwitchPreference mPreferenceAlwaysOn;
1.123.1.9. RestrictedSwitchPreference mPreferenceLockdown;
private RestrictedSwitchPreference mPreferenceLockdown;
1.123.1.10. RestrictedPreference mPreferenceForget;
private RestrictedPreference mPreferenceForget;
1.123.1.11. final int mUserId
// VPN app info
private final int mUserId = UserHandle.myUserId();
1.123.1.12. final AppDialogFragment.Listener mForgetVpnDialogFragmentListener
// Listener
private final AppDialogFragment.Listener mForgetVpnDialogFragmentListener = new AppDialogFragment.Listener() {
@Override
public void onForget() {
// Unset always-on-vpn when forgetting the VPN
if (isVpnAlwaysOn()) {
setAlwaysOnVpn(false, false);
}
// Also dismiss and go back to VPN list
finish();
}
@Override
public void onCancel() {
// do nothing
}
};
1.123.1.13. static final String TAG
private static final String TAG = "AppManagementFragment";
1.123.1.14. static final String ARG_PACKAGE_NAME
private static final String ARG_PACKAGE_NAME = "package";
1.123.1.15. static final String KEY_VERSION
private static final String KEY_VERSION = "version";
1.123.1.16. static final String KEY_ALWAYS_ON_VPN
private static final String KEY_ALWAYS_ON_VPN = "always_on_vpn";
1.123.1.17. static final String KEY_LOCKDOWN_VPN
private static final String KEY_LOCKDOWN_VPN = "lockdown_vpn";
1.123.1.18. static final String KEY_FORGET_VPN
private static final String KEY_FORGET_VPN = "forget_vpn";
1.123.2. AppManagementFragmentMethod方法列表
1.123.2.1. onCreate(Bundle savedState)
public void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.123.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.123.2.3. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.123.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.123.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.123.2.6. onForgetVpnClick()
private boolean onForgetVpnClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onForgetVpnClick", ""));
1.123.2.7. onAlwaysOnVpnClick(final boolean alwaysOnSetting,final boolean lockdown)
private boolean onAlwaysOnVpnClick(final boolean alwaysOnSetting, final boolean lockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onAlwaysOnVpnClick", "final boolean alwaysOnSetting,final boolean lockdown"));
1.123.2.8. onConfirmLockdown(Bundle options,boolean isEnabled,boolean isLockdown)
public void onConfirmLockdown(Bundle options, boolean isEnabled, boolean isLockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConfirmLockdown", "Bundle options,boolean isEnabled,boolean isLockdown"));
1.123.2.9. setAlwaysOnVpnByUI(boolean isEnabled,boolean isLockdown)
private boolean setAlwaysOnVpnByUI(boolean isEnabled, boolean isLockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setAlwaysOnVpnByUI", "boolean isEnabled,boolean isLockdown"));
1.123.2.10. setAlwaysOnVpn(boolean isEnabled,boolean isLockdown)
private boolean setAlwaysOnVpn(boolean isEnabled, boolean isLockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setAlwaysOnVpn", "boolean isEnabled,boolean isLockdown"));
1.123.2.11. updateUI()
private void updateUI()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUI", ""));
1.123.2.12. updateRestrictedViews()
private void updateRestrictedViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRestrictedViews", ""));
1.123.2.13. getAlwaysOnVpnPackage()
private String getAlwaysOnVpnPackage()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAlwaysOnVpnPackage", ""));
1.123.2.14. isVpnAlwaysOn()
private boolean isVpnAlwaysOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVpnAlwaysOn", ""));
1.123.2.15. loadInfo()
private boolean loadInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"loadInfo", ""));
1.123.2.16. isAnotherVpnActive()
private boolean isAnotherVpnActive()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAnotherVpnActive", ""));
1.123.2.17. static show(Context context,AppPreference pref,int sourceMetricsCategory)
public static void show(Context context, AppPreference pref, int sourceMetricsCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Context context,AppPreference pref,int sourceMetricsCategory"));
1.123.2.18. static appHasVpnPermission(Context context,@NonNull ApplicationInfo application)
static boolean appHasVpnPermission(Context context, @NonNull ApplicationInfo application)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"appHasVpnPermission", "Context context,@NonNull ApplicationInfo application"));
1.124. AppMemoryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppMemoryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.124.1. AppMemoryPreferenceController Field属性列表
1.124.1.1. Preference mPreference;
private Preference mPreference;
1.124.1.2. ProcStatsData mStatsManager;
private ProcStatsData mStatsManager;
1.124.1.3. ProcStatsPackageEntry mStats;
private ProcStatsPackageEntry mStats;
1.124.1.4. final AppInfoDashboardFragment mParent;
private final AppInfoDashboardFragment mParent;
1.124.1.5. static final String KEY_MEMORY
private static final String KEY_MEMORY = "memory";
1.124.2. AppMemoryPreferenceControllerMethod方法列表
1.124.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.124.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.124.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.124.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.125. AppNotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppNotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.125.1. AppNotificationPreferenceController Field属性列表
1.125.1.1. String mChannelId
private String mChannelId = null;
1.125.1.2. final NotificationBackend mBackend
// Used for updating notification preference.
private final NotificationBackend mBackend = new NotificationBackend();
1.125.2. AppNotificationPreferenceControllerMethod方法列表
1.125.2.1. setParentFragment(AppInfoDashboardFragment parent)
public void setParentFragment(AppInfoDashboardFragment parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setParentFragment", "AppInfoDashboardFragment parent"));
1.125.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.125.2.3. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.125.2.4. getArguments()
protected Bundle getArguments()
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"getArguments", ""));
1.125.2.5. getNotificationSummary(ApplicationsState.AppEntry appEntry,Context context,NotificationBackend backend)
private CharSequence getNotificationSummary(ApplicationsState.AppEntry appEntry, Context context, NotificationBackend backend)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getNotificationSummary", "ApplicationsState.AppEntry appEntry,Context context,NotificationBackend backend"));
1.125.2.6. static getNotificationSummary(NotificationBackend.AppRow appRow,Context context)
public static CharSequence getNotificationSummary(NotificationBackend.AppRow appRow, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getNotificationSummary", "NotificationBackend.AppRow appRow,Context context"));
1.126. AppNotificationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AppNotificationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.126.1. AppNotificationSettings Field属性列表
1.126.1.1. List mChannelGroupList;
private List mChannelGroupList;
1.126.1.2. Comparator mChannelGroupComparator
private Comparator mChannelGroupComparator = new Comparator() {
@Override
public int compare(NotificationChannelGroup left, NotificationChannelGroup right) {
// Non-grouped channels (in placeholder group with a null id) come last
if (left.getId() == null && right.getId() != null) {
return 1;
} else if (right.getId() == null && left.getId() != null) {
return -1;
}
return left.getId().compareTo(right.getId());
}
};
1.126.1.3. static String KEY_GENERAL_CATEGORY
private static String KEY_GENERAL_CATEGORY = "categories";
1.126.1.4. static String KEY_ADVANCED_CATEGORY
private static String KEY_ADVANCED_CATEGORY = "app_advanced";
1.126.1.5. static String KEY_BADGE
private static String KEY_BADGE = "badge";
1.126.1.6. static String KEY_APP_LINK
private static String KEY_APP_LINK = "app_link";
1.126.1.7. static final String TAG
private static final String TAG = "AppNotificationSettings";
1.126.1.8. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.126.2. AppNotificationSettingsMethod方法列表
1.126.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.126.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.126.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.126.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.126.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.126.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.126.2.7. populateList()
private void populateList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateList", ""));
1.126.2.8. populateGroupList()
private void populateGroupList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateGroupList", ""));
1.126.2.9. populateGroupToggle(final PreferenceGroup parent,NotificationChannelGroup group)
protected void populateGroupToggle(final PreferenceGroup parent, NotificationChannelGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateGroupToggle", "final PreferenceGroup parent,NotificationChannelGroup group"));
1.126.2.10. onGroupBlockStateChanged(NotificationChannelGroup group)
protected void onGroupBlockStateChanged(NotificationChannelGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onGroupBlockStateChanged", "NotificationChannelGroup group"));
1.127. AppOpenByDefaultPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppOpenByDefaultPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.127.1. AppOpenByDefaultPreferenceController Field属性列表
1.127.1.1. IUsbManager mUsbManager;
private IUsbManager mUsbManager;
1.127.1.2. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.127.2. AppOpenByDefaultPreferenceControllerMethod方法列表
1.127.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.127.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.127.2.3. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.128. AppOpsCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appops/AppOpsCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.128.1. AppOpsCategory Field属性列表
1.128.1.1. AppOpsState mState;
AppOpsState mState;
1.128.1.2. AppListAdapter mAdapter;
// This is the Adapter being used to display the list's data.
AppListAdapter mAdapter;
1.128.2. AppOpsCategoryMethod方法列表
1.128.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.128.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.128.2.3. onListItemClick(ListView l,View v,int position,long id)
public void onListItemClick(ListView l, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView l,View v,int position,long id"));
1.128.2.4. onCreateLoader(int id,Bundle args)
public Loader> onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader>" ,"onCreateLoader", "int id,Bundle args"));
1.128.2.5. onLoadFinished(Loader> loader,List data)
public void onLoadFinished(Loader> loader, List data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader> loader,List data"));
1.128.2.6. onLoaderReset(Loader> loader)
public void onLoaderReset(Loader> loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader> loader"));
1.129. AppOpsState.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appops/AppOpsState.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.129.1. AppOpsState Field属性列表
1.129.1.1. final Context mContext;
final Context mContext;
1.129.1.2. final AppOpsManager mAppOps;
final AppOpsManager mAppOps;
1.129.1.3. final PackageManager mPm;
final PackageManager mPm;
1.129.1.4. final CharSequence[] mOpSummaries;
final CharSequence[] mOpSummaries;
1.129.1.5. final CharSequence[] mOpLabels;
final CharSequence[] mOpLabels;
1.129.1.6. static final String TAG
static final String TAG = "AppOpsState";
1.129.1.7. static final boolean DEBUG
static final boolean DEBUG = false;
1.129.1.8. static final OpsTemplate LOCATION_TEMPLATE
public static final OpsTemplate LOCATION_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_COARSE_LOCATION, AppOpsManager.OP_FINE_LOCATION, AppOpsManager.OP_GPS, AppOpsManager.OP_WIFI_SCAN, AppOpsManager.OP_NEIGHBORING_CELLS, AppOpsManager.OP_MONITOR_LOCATION, AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION }, new boolean[] { true, true, false, false, false, false, false });
1.129.1.9. static final OpsTemplate PERSONAL_TEMPLATE
public static final OpsTemplate PERSONAL_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_READ_CONTACTS, AppOpsManager.OP_WRITE_CONTACTS, AppOpsManager.OP_READ_CALL_LOG, AppOpsManager.OP_WRITE_CALL_LOG, AppOpsManager.OP_READ_CALENDAR, AppOpsManager.OP_WRITE_CALENDAR, AppOpsManager.OP_READ_CLIPBOARD, AppOpsManager.OP_WRITE_CLIPBOARD }, new boolean[] { true, true, true, true, true, true, false, false });
1.129.1.10. static final OpsTemplate MESSAGING_TEMPLATE
public static final OpsTemplate MESSAGING_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_READ_SMS, AppOpsManager.OP_RECEIVE_SMS, AppOpsManager.OP_RECEIVE_EMERGECY_SMS, AppOpsManager.OP_RECEIVE_MMS, AppOpsManager.OP_RECEIVE_WAP_PUSH, AppOpsManager.OP_WRITE_SMS, AppOpsManager.OP_SEND_SMS, AppOpsManager.OP_READ_ICC_SMS, AppOpsManager.OP_WRITE_ICC_SMS }, new boolean[] { true, true, true, true, true, true, true, true, true });
1.129.1.11. static final OpsTemplate MEDIA_TEMPLATE
public static final OpsTemplate MEDIA_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_VIBRATE, AppOpsManager.OP_CAMERA, AppOpsManager.OP_RECORD_AUDIO, AppOpsManager.OP_PLAY_AUDIO, AppOpsManager.OP_TAKE_MEDIA_BUTTONS, AppOpsManager.OP_TAKE_AUDIO_FOCUS, AppOpsManager.OP_AUDIO_MASTER_VOLUME, AppOpsManager.OP_AUDIO_VOICE_VOLUME, AppOpsManager.OP_AUDIO_RING_VOLUME, AppOpsManager.OP_AUDIO_MEDIA_VOLUME, AppOpsManager.OP_AUDIO_ALARM_VOLUME, AppOpsManager.OP_AUDIO_NOTIFICATION_VOLUME, AppOpsManager.OP_AUDIO_BLUETOOTH_VOLUME, AppOpsManager.OP_AUDIO_ACCESSIBILITY_VOLUME, AppOpsManager.OP_MUTE_MICROPHONE }, new boolean[] { false, true, true, false, false, false, false, false, false, false, false, false, false, false });
1.129.1.12. static final OpsTemplate DEVICE_TEMPLATE
public static final OpsTemplate DEVICE_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_POST_NOTIFICATION, AppOpsManager.OP_ACCESS_NOTIFICATIONS, AppOpsManager.OP_CALL_PHONE, AppOpsManager.OP_WRITE_SETTINGS, AppOpsManager.OP_SYSTEM_ALERT_WINDOW, AppOpsManager.OP_WAKE_LOCK, AppOpsManager.OP_PROJECT_MEDIA, AppOpsManager.OP_ACTIVATE_VPN, AppOpsManager.OP_ASSIST_STRUCTURE, AppOpsManager.OP_ASSIST_SCREENSHOT }, new boolean[] { false, true, true, true, true, true, false, false, false, false });
1.129.1.13. static final OpsTemplate RUN_IN_BACKGROUND_TEMPLATE
public static final OpsTemplate RUN_IN_BACKGROUND_TEMPLATE = new OpsTemplate(new int[] { AppOpsManager.OP_RUN_IN_BACKGROUND }, new boolean[] { false });
1.129.1.14. static final OpsTemplate[] ALL_TEMPLATES
public static final OpsTemplate[] ALL_TEMPLATES = new OpsTemplate[] { LOCATION_TEMPLATE, PERSONAL_TEMPLATE, MESSAGING_TEMPLATE, MEDIA_TEMPLATE, DEVICE_TEMPLATE, RUN_IN_BACKGROUND_TEMPLATE };
1.129.1.15. static final Comparator RECENCY_COMPARATOR
/**
* Perform app op state comparison of application entry objects.
*/
public static final Comparator RECENCY_COMPARATOR = new Comparator() {
private final Collator sCollator = Collator.getInstance();
@Override
public int compare(AppOpEntry object1, AppOpEntry object2) {
if (object1.getSwitchOrder() != object2.getSwitchOrder()) {
return object1.getSwitchOrder() < object2.getSwitchOrder() ? -1 : 1;
}
if (object1.isRunning() != object2.isRunning()) {
// Currently running ops go first.
return object1.isRunning() ? -1 : 1;
}
if (object1.getTime() != object2.getTime()) {
// More recent times go first.
return object1.getTime() > object2.getTime() ? -1 : 1;
}
return sCollator.compare(object1.getAppEntry().getLabel(), object2.getAppEntry().getLabel());
}
};
1.129.1.16. static final Comparator LABEL_COMPARATOR
/**
* Perform alphabetical comparison of application entry objects.
*/
public static final Comparator LABEL_COMPARATOR = new Comparator() {
private final Collator sCollator = Collator.getInstance();
@Override
public int compare(AppOpEntry object1, AppOpEntry object2) {
return sCollator.compare(object1.getAppEntry().getLabel(), object2.getAppEntry().getLabel());
}
};
1.129.2. AppOpsStateMethod方法列表
1.129.2.1. addOp(List entries,AppOpsManager.PackageOps pkgOps,AppEntry appEntry,AppOpsManager.OpEntry opEntry,boolean allowMerge,int switchOrder)
private void addOp(List entries, AppOpsManager.PackageOps pkgOps, AppEntry appEntry, AppOpsManager.OpEntry opEntry, boolean allowMerge, int switchOrder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addOp", "List entries,AppOpsManager.PackageOps pkgOps,AppEntry appEntry,AppOpsManager.OpEntry opEntry,boolean allowMerge,int switchOrder"));
1.129.2.2. getAppOpsManager()
public AppOpsManager getAppOpsManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"AppOpsManager" ,"getAppOpsManager", ""));
1.129.2.3. buildState(OpsTemplate tpl)
public List buildState(OpsTemplate tpl)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildState", "OpsTemplate tpl"));
1.129.2.4. getAppEntry(final Context context,final HashMap appEntries,final String packageName,ApplicationInfo appInfo)
private AppEntry getAppEntry(final Context context, final HashMap appEntries, final String packageName, ApplicationInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppEntry" ,"getAppEntry", "final Context context,final HashMap appEntries,final String packageName,ApplicationInfo appInfo"));
1.129.2.5. buildState(OpsTemplate tpl,int uid,String packageName)
public List buildState(OpsTemplate tpl, int uid, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildState", "OpsTemplate tpl,int uid,String packageName"));
1.129.2.6. buildState(OpsTemplate tpl,int uid,String packageName,Comparator comparator)
public List buildState(OpsTemplate tpl, int uid, String packageName, Comparator comparator)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildState", "OpsTemplate tpl,int uid,String packageName,Comparator comparator"));
1.130. AppPermissionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppPermissionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.130.1. AppPermissionPreferenceController Field属性列表
1.130.1.1. String mPackageName;
private String mPackageName;
1.130.1.2. final PermissionsSummaryHelper.PermissionsResultCallback mPermissionCallback
@VisibleForTesting
final PermissionsSummaryHelper.PermissionsResultCallback mPermissionCallback = new PermissionsSummaryHelper.PermissionsResultCallback() {
@Override
public void onPermissionSummaryResult(int standardGrantedPermissionCount, int requestedPermissionCount, int additionalGrantedPermissionCount, List grantedGroupLabels) {
if (mParent.getActivity() == null) {
return;
}
final Resources res = mContext.getResources();
CharSequence summary = null;
if (requestedPermissionCount == 0) {
summary = res.getString(R.string.runtime_permissions_summary_no_permissions_requested);
mPreference.setEnabled(false);
} else {
final ArrayList list = new ArrayList<>(grantedGroupLabels);
if (additionalGrantedPermissionCount > 0) {
// N additional permissions.
list.add(res.getQuantityString(R.plurals.runtime_permissions_additional_count, additionalGrantedPermissionCount, additionalGrantedPermissionCount));
}
if (list.size() == 0) {
summary = res.getString(R.string.runtime_permissions_summary_no_permissions_granted);
} else {
summary = ListFormatter.getInstance().format(list);
}
mPreference.setEnabled(true);
}
mPreference.setSummary(summary);
}
};
1.130.1.3. static final String TAG
private static final String TAG = "PermissionPrefControl";
1.130.1.4. static final String EXTRA_HIDE_INFO_BUTTON
private static final String EXTRA_HIDE_INFO_BUTTON = "hideInfoButton";
1.130.2. AppPermissionPreferenceControllerMethod方法列表
1.130.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.130.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.130.2.3. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.130.2.4. startManagePermissionsActivity()
private void startManagePermissionsActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startManagePermissionsActivity", ""));
1.131. AppPermissions.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppPermissions.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.131.1. AppPermissions Field属性列表
1.131.1.1. final ArrayMap mGroups
private final ArrayMap mGroups = new ArrayMap<>();
1.131.1.2. final Context mContext;
private final Context mContext;
1.131.1.3. final PackageInfo mPackageInfo;
private final PackageInfo mPackageInfo;
1.131.1.4. static final String TAG
private static final String TAG = "AppPermissions";
1.131.2. AppPermissionsMethod方法列表
1.131.2.1. getPackageInfo(String packageName)
private PackageInfo getPackageInfo(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"getPackageInfo", "String packageName"));
1.131.2.2. refresh()
public void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.131.2.3. getPermissionCount()
public int getPermissionCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPermissionCount", ""));
1.131.2.4. getGrantedPermissionsCount()
public int getGrantedPermissionsCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getGrantedPermissionsCount", ""));
1.131.2.5. loadPermissionGroups()
private void loadPermissionGroups()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadPermissionGroups", ""));
1.131.2.6. static appSupportsRuntime(ApplicationInfo info)
public static boolean appSupportsRuntime(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"appSupportsRuntime", "ApplicationInfo info"));
1.132. AppPermissionsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppPermissionsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.132.1. AppPermissionsPreferenceController Field属性列表
1.132.1.1. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.132.1.2. static final String TAG
private static final String TAG = "AppPermissionPrefCtrl";
1.132.1.3. static final String KEY_APP_PERMISSION_GROUPS
private static final String KEY_APP_PERMISSION_GROUPS = "manage_perms";
1.132.1.4. static final String[] PERMISSION_GROUPS
private static final String[] PERMISSION_GROUPS = new String[] { "android.permission-group.LOCATION", "android.permission-group.MICROPHONE", "android.permission-group.CAMERA", "android.permission-group.SMS", "android.permission-group.CONTACTS", "android.permission-group.PHONE" };
1.132.1.5. static final int NUM_PERMISSION_TO_USE
private static final int NUM_PERMISSION_TO_USE = 3;
1.132.2. AppPermissionsPreferenceControllerMethod方法列表
1.132.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.132.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.132.2.3. getGrantedPermissionGroups(Set permissions)
private Set getGrantedPermissionGroups(Set permissions)
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getGrantedPermissionGroups", "Set permissions"));
1.132.2.4. concatSummaryText(CharSequence currentSummary,String permission)
private CharSequence concatSummaryText(CharSequence currentSummary, String permission)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"concatSummaryText", "CharSequence currentSummary,String permission"));
1.132.2.5. getPermissionGroupLabel(String group)
private CharSequence getPermissionGroupLabel(String group)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPermissionGroupLabel", "String group"));
1.132.2.6. getAllPermissionsInGroups()
private Set getAllPermissionsInGroups()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getAllPermissionsInGroups", ""));
1.133. AppPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AppPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.133.1. AppPicker Field属性列表
1.133.1.1. AppListAdapter mAdapter;
private AppListAdapter mAdapter;
1.133.1.2. String mPermissionName;
private String mPermissionName;
1.133.1.3. boolean mDebuggableOnly;
private boolean mDebuggableOnly;
1.133.1.4. static final String EXTRA_REQUESTIING_PERMISSION
public static final String EXTRA_REQUESTIING_PERMISSION = "com.android.settings.extra.REQUESTIING_PERMISSION";
1.133.1.5. static final String EXTRA_DEBUGGABLE
public static final String EXTRA_DEBUGGABLE = "com.android.settings.extra.DEBUGGABLE";
1.133.1.6. static final Comparator sDisplayNameComparator
private static final Comparator sDisplayNameComparator = new Comparator() {
public final int compare(MyApplicationInfo a, MyApplicationInfo b) {
return collator.compare(a.label, b.label);
}
private final Collator collator = Collator.getInstance();
};
1.133.2. AppPickerMethod方法列表
1.133.2.1. onCreate(Bundle icicle)
protected void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.133.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.133.2.3. onStop()
protected void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.133.2.4. onListItemClick(ListView l,View v,int position,long id)
protected void onListItemClick(ListView l, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView l,View v,int position,long id"));
1.134. AppPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/AppPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.134.1. AppPreference Field属性列表
1.134.1.1. final String mPackageName;
private final String mPackageName;
1.134.1.2. final String mName;
private final String mName;
1.134.1.3. static final int STATE_CONNECTED
public static final int STATE_CONNECTED = LegacyVpnInfo.STATE_CONNECTED;
1.134.1.4. static final int STATE_DISCONNECTED
public static final int STATE_DISCONNECTED = STATE_NONE;
1.134.2. AppPreferenceMethod方法列表
1.134.2.1. getPackageInfo()
public PackageInfo getPackageInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"getPackageInfo", ""));
1.134.2.2. getLabel()
public String getLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLabel", ""));
1.134.2.3. getPackageName()
public String getPackageName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageName", ""));
1.134.2.4. getUserContext()
private Context getUserContext() throws PackageManager.NameNotFoundException
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"getUserContext", ""));
1.134.2.5. compareTo(Preference preference)
public int compareTo(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "Preference preference"));
1.135. AppPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/AppPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.135.1. AppPreference Field属性列表
1.135.1.1. int mProgress;
private int mProgress;
1.135.1.2. boolean mProgressVisible;
private boolean mProgressVisible;
1.135.2. AppPreferenceMethod方法列表
1.135.2.1. setProgress(int amount)
public void setProgress(int amount)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "int amount"));
1.135.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.136. AppPrefLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/AppPrefLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.136.1. AppPrefLoader Field属性列表
1.136.1.1. ArraySet mPackages;
private ArraySet mPackages;
1.136.1.2. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.136.1.3. Context mPrefContext;
private Context mPrefContext;
1.136.2. AppPrefLoaderMethod方法列表
1.136.2.1. loadInBackground()
public ArraySet loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArraySet" ,"loadInBackground", ""));
1.136.2.2. onDiscardResult(ArraySet result)
protected void onDiscardResult(ArraySet result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "ArraySet result"));
1.137. AppRestrictionPredicate.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/AppRestrictionPredicate.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.137.1. AppRestrictionPredicate Field属性列表
1.137.1.1. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.137.2. AppRestrictionPredicateMethod方法列表
1.137.2.1. test(AppInfo appInfo)
public boolean test(AppInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"test", "AppInfo appInfo"));
1.138. AppRestrictionsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/AppRestrictionsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.138.1. AppRestrictionsFragment Field属性列表
1.138.1.1. PackageManager mPackageManager;
protected PackageManager mPackageManager;
1.138.1.2. UserManager mUserManager;
protected UserManager mUserManager;
1.138.1.3. IPackageManager mIPm;
protected IPackageManager mIPm;
1.138.1.4. UserHandle mUser;
protected UserHandle mUser;
1.138.1.5. PackageInfo mSysPackageInfo;
private PackageInfo mSysPackageInfo;
1.138.1.6. AppRestrictionsHelper mHelper;
private AppRestrictionsHelper mHelper;
1.138.1.7. PreferenceGroup mAppList;
private PreferenceGroup mAppList;
1.138.1.8. boolean mFirstTime
private boolean mFirstTime = true;
1.138.1.9. boolean mNewUser;
private boolean mNewUser;
1.138.1.10. boolean mAppListChanged;
private boolean mAppListChanged;
1.138.1.11. boolean mRestrictedProfile;
protected boolean mRestrictedProfile;
1.138.1.12. int mCustomRequestCode
private int mCustomRequestCode = CUSTOM_REQUEST_CODE_START;
1.138.1.13. HashMap mCustomRequestMap
private HashMap mCustomRequestMap = new HashMap<>();
1.138.1.14. AsyncTask mAppLoadingTask;
private AsyncTask mAppLoadingTask;
1.138.1.15. BroadcastReceiver mUserBackgrounding
private BroadcastReceiver mUserBackgrounding = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
// have been scheduled during user startup.
if (mAppListChanged) {
if (DEBUG)
Log.d(TAG, "User backgrounding, update app list");
mHelper.applyUserAppsStates(AppRestrictionsFragment.this);
if (DEBUG)
Log.d(TAG, "User backgrounding, done updating app list");
}
}
};
1.138.1.16. BroadcastReceiver mPackageObserver
private BroadcastReceiver mPackageObserver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
onPackageChanged(intent);
}
};
1.138.1.17. static final String TAG
private static final String TAG = AppRestrictionsFragment.class.getSimpleName();
1.138.1.18. static final boolean DEBUG
private static final boolean DEBUG = false;
1.138.1.19. static final String PKG_PREFIX
private static final String PKG_PREFIX = "pkg_";
1.138.1.20. static final int MAX_APP_RESTRICTIONS
private static final int MAX_APP_RESTRICTIONS = 100;
1.138.1.21. static final String DELIMITER
private static final String DELIMITER = ";";
1.138.1.22. static final String EXTRA_USER_ID
/** Key for extra passed in from calling fragment for the userId of the user being edited */
public static final String EXTRA_USER_ID = "user_id";
1.138.1.23. static final String EXTRA_NEW_USER
/** Key for extra passed in from calling fragment to indicate if this is a newly created user */
public static final String EXTRA_NEW_USER = "new_user";
1.138.1.24. static final int CUSTOM_REQUEST_CODE_START
private static final int CUSTOM_REQUEST_CODE_START = 1000;
1.138.2. AppRestrictionsFragmentMethod方法列表
1.138.2.1. init(Bundle icicle)
protected void init(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "Bundle icicle"));
1.138.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.138.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.138.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.138.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.138.2.6. onPackageChanged(Intent intent)
private void onPackageChanged(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageChanged", "Intent intent"));
1.138.2.7. getAppPreferenceGroup()
protected PreferenceGroup getAppPreferenceGroup()
methodList.add(new ZMethod(mZAndroidAPPClass,"PreferenceGroup" ,"getAppPreferenceGroup", ""));
1.138.2.8. onDisableUiForPackage(String packageName)
public void onDisableUiForPackage(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisableUiForPackage", "String packageName"));
1.138.2.9. isPlatformSigned(PackageInfo pi)
private boolean isPlatformSigned(PackageInfo pi)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPlatformSigned", "PackageInfo pi"));
1.138.2.10. isAppEnabledForUser(PackageInfo pi)
private boolean isAppEnabledForUser(PackageInfo pi)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAppEnabledForUser", "PackageInfo pi"));
1.138.2.11. populateApps()
private void populateApps()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateApps", ""));
1.138.2.12. getPackageSummary(PackageInfo pi,AppRestrictionsHelper.SelectableAppInfo app)
private String getPackageSummary(PackageInfo pi, AppRestrictionsHelper.SelectableAppInfo app)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageSummary", "PackageInfo pi,AppRestrictionsHelper.SelectableAppInfo app"));
1.138.2.13. addLocationAppRestrictionsPreference(AppRestrictionsHelper.SelectableAppInfo app,AppRestrictionsPreference p)
private void addLocationAppRestrictionsPreference(AppRestrictionsHelper.SelectableAppInfo app, AppRestrictionsPreference p)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addLocationAppRestrictionsPreference", "AppRestrictionsHelper.SelectableAppInfo app,AppRestrictionsPreference p"));
1.138.2.14. getKeyForPackage(String packageName)
private String getKeyForPackage(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeyForPackage", "String packageName"));
1.138.2.15. resolveInfoListHasPackage(List receivers,String packageName)
private boolean resolveInfoListHasPackage(List receivers, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"resolveInfoListHasPackage", "List receivers,String packageName"));
1.138.2.16. updateAllEntries(String prefKey,boolean checked)
private void updateAllEntries(String prefKey, boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAllEntries", "String prefKey,boolean checked"));
1.138.2.17. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.138.2.18. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.138.2.19. removeRestrictionsForApp(AppRestrictionsPreference preference)
private void removeRestrictionsForApp(AppRestrictionsPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeRestrictionsForApp", "AppRestrictionsPreference preference"));
1.138.2.20. onAppSettingsIconClicked(AppRestrictionsPreference preference)
private void onAppSettingsIconClicked(AppRestrictionsPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAppSettingsIconClicked", "AppRestrictionsPreference preference"));
1.138.2.21. requestRestrictionsForApp(String packageName,AppRestrictionsPreference preference,boolean invokeIfCustom)
private void requestRestrictionsForApp(String packageName, AppRestrictionsPreference preference, boolean invokeIfCustom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestRestrictionsForApp", "String packageName,AppRestrictionsPreference preference,boolean invokeIfCustom"));
1.138.2.22. onRestrictionsReceived(AppRestrictionsPreference preference,ArrayList restrictions)
private void onRestrictionsReceived(AppRestrictionsPreference preference, ArrayList restrictions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestrictionsReceived", "AppRestrictionsPreference preference,ArrayList restrictions"));
1.138.2.23. generateCustomActivityRequestCode(AppRestrictionsPreference preference)
private int generateCustomActivityRequestCode(AppRestrictionsPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"generateCustomActivityRequestCode", "AppRestrictionsPreference preference"));
1.138.2.24. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.138.2.25. findInArray(String[] choiceEntries,String[] choiceValues,String selectedString)
private String findInArray(String[] choiceEntries, String[] choiceValues, String selectedString)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"findInArray", "String[] choiceEntries,String[] choiceValues,String selectedString"));
1.138.2.26. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.138.2.27. static isAppUnsupportedInRestrictedProfile(PackageInfo pi)
private static boolean isAppUnsupportedInRestrictedProfile(PackageInfo pi)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAppUnsupportedInRestrictedProfile", "PackageInfo pi"));
1.139. AppSettingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppSettingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.139.1. AppSettingPreferenceController Field属性列表
1.139.1.1. String mPackageName;
private String mPackageName;
1.139.2. AppSettingPreferenceControllerMethod方法列表
1.139.2.1. setPackageName(String packageName)
public AppSettingPreferenceController setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppSettingPreferenceController" ,"setPackageName", "String packageName"));
1.139.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.139.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.139.2.4. resolveIntent(Intent i)
private Intent resolveIntent(Intent i)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"resolveIntent", "Intent i"));
1.140. AppsNotRespondingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AppsNotRespondingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.140.1. AppsNotRespondingPreferenceController Field属性列表
1.140.1.1. static final String SHOW_ALL_ANRS_KEY
private static final String SHOW_ALL_ANRS_KEY = "show_all_anrs";
1.140.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.140.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.140.2. AppsNotRespondingPreferenceControllerMethod方法列表
1.140.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.140.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.140.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.140.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.141. AppStateAppOpsBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateAppOpsBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.141.1. AppStateAppOpsBridge Field属性列表
1.141.1.1. final IPackageManager mIPackageManager;
private final IPackageManager mIPackageManager;
1.141.1.2. final UserManager mUserManager;
private final UserManager mUserManager;
1.141.1.3. final List mProfiles;
private final List mProfiles;
1.141.1.4. final AppOpsManager mAppOpsManager;
private final AppOpsManager mAppOpsManager;
1.141.1.5. final Context mContext;
private final Context mContext;
1.141.1.6. final int[] mAppOpsOpCodes;
private final int[] mAppOpsOpCodes;
1.141.1.7. final String[] mPermissions;
private final String[] mPermissions;
1.141.1.8. static final String TAG
private static final String TAG = "AppStateAppOpsBridge";
1.141.2. AppStateAppOpsBridgeMethod方法列表
1.141.2.1. isThisUserAProfileOfCurrentUser(final int userId)
private boolean isThisUserAProfileOfCurrentUser(final int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isThisUserAProfileOfCurrentUser", "final int userId"));
1.141.2.2. doesAnyPermissionMatch(String permissionToMatch,String[] permissions)
private boolean doesAnyPermissionMatch(String permissionToMatch, String[] permissions)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"doesAnyPermissionMatch", "String permissionToMatch,String[] permissions"));
1.141.2.3. getPermissionInfo(String pkg,int uid)
public PermissionState getPermissionInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"PermissionState" ,"getPermissionInfo", "String pkg,int uid"));
1.141.2.4. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.141.2.5. getEntries()
private SparseArray> getEntries()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray>" ,"getEntries", ""));
1.141.2.6. loadPermissionsStates(SparseArray> entries)
private void loadPermissionsStates(SparseArray> entries)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadPermissionsStates", "SparseArray> entries"));
1.141.2.7. loadAppOpsStates(SparseArray> entries)
private void loadAppOpsStates(SparseArray> entries)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAppOpsStates", "SparseArray> entries"));
1.141.2.8. shouldIgnorePackage(String packageName)
private boolean shouldIgnorePackage(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldIgnorePackage", "String packageName"));
1.141.2.9. getNumPackagesDeclaredPermission()
public int getNumPackagesDeclaredPermission()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumPackagesDeclaredPermission", ""));
1.141.2.10. getNumPackagesAllowedByAppOps()
public int getNumPackagesAllowedByAppOps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumPackagesAllowedByAppOps", ""));
1.141.2.11. abstract updateExtraInfo(AppEntry app,String pkg,int uid)
protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.142. AppStateBaseBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateBaseBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.142.1. AppStateBaseBridge Field属性列表
1.142.1.1. final ApplicationsState mAppState;
protected final ApplicationsState mAppState;
1.142.1.2. final Session mAppSession;
protected final Session mAppSession;
1.142.1.3. final Callback mCallback;
protected final Callback mCallback;
1.142.1.4. final BackgroundHandler mHandler;
protected final BackgroundHandler mHandler;
1.142.1.5. final MainHandler mMainHandler;
protected final MainHandler mMainHandler;
1.142.2. AppStateBaseBridgeMethod方法列表
1.142.2.1. resume()
public void resume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", ""));
1.142.2.2. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.142.2.3. release()
public void release()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"release", ""));
1.142.2.4. forceUpdate(String pkg,int uid)
public void forceUpdate(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceUpdate", "String pkg,int uid"));
1.142.2.5. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.142.2.6. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.142.2.7. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.142.2.8. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.142.2.9. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.142.2.10. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.142.2.11. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.142.2.12. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.142.2.13. abstract loadAllExtraInfo()
protected abstract void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.142.2.14. abstract updateExtraInfo(AppEntry app,String pkg,int uid)
protected abstract void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.143. AppStateChangeWifiStateBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/AppStateChangeWifiStateBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.143.1. AppStateChangeWifiStateBridge Field属性列表
1.143.1.1. static final String TAG
private static final String TAG = "AppStateChangeWifiStateBridge";
1.143.1.2. static final int APP_OPS_OP_CODE
private static final int APP_OPS_OP_CODE = AppOpsManager.OP_CHANGE_WIFI_STATE;
1.143.1.3. static final String PM_CHANGE_WIFI_STATE
private static final String PM_CHANGE_WIFI_STATE = Manifest.permission.CHANGE_WIFI_STATE;
1.143.1.4. static final String PM_NETWORK_SETTINGS
private static final String PM_NETWORK_SETTINGS = Manifest.permission.NETWORK_SETTINGS;
1.143.1.5. static final String[] PM_PERMISSIONS
private static final String[] PM_PERMISSIONS = { PM_CHANGE_WIFI_STATE };
1.143.1.6. static final AppFilter FILTER_CHANGE_WIFI_STATE
public static final AppFilter FILTER_CHANGE_WIFI_STATE = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
if (info == null || info.extraInfo == null) {
return false;
}
WifiSettingsState wifiSettingsState = (WifiSettingsState) info.extraInfo;
if (wifiSettingsState.packageInfo != null) {
final String[] requestedPermissions = wifiSettingsState.packageInfo.requestedPermissions;
if (ArrayUtils.contains(requestedPermissions, PM_NETWORK_SETTINGS)) {
/*
* NETWORK_SETTINGS permission trumps CHANGE_WIFI_CONFIG, so remove this from
* the list.
*/
return false;
}
}
return wifiSettingsState.permissionDeclared;
}
};
1.143.2. AppStateChangeWifiStateBridgeMethod方法列表
1.143.2.1. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.143.2.2. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.143.2.3. getWifiSettingsInfo(String pkg,int uid)
public WifiSettingsState getWifiSettingsInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiSettingsState" ,"getWifiSettingsInfo", "String pkg,int uid"));
1.144. AppStateDataUsageBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/AppStateDataUsageBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.144.1. AppStateDataUsageBridge Field属性列表
1.144.1.1. final DataSaverBackend mDataSaverBackend;
private final DataSaverBackend mDataSaverBackend;
1.144.1.2. static final String TAG
private static final String TAG = "AppStateDataUsageBridge";
1.144.2. AppStateDataUsageBridgeMethod方法列表
1.144.2.1. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.144.2.2. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.145. AppStateDirectoryAccessBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateDirectoryAccessBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.145.1. AppStateDirectoryAccessBridge Field属性列表
1.145.1.1. static final String TAG
private static final String TAG = "DirectoryAccessBridge";
1.145.1.2. static final boolean DEBUG
// TODO(b/72055774): set to false once feature is ready (or use Log.isLoggable)
static final boolean DEBUG = true;
1.145.1.3. static final boolean VERBOSE
static final boolean VERBOSE = true;
1.145.1.4. static final AppFilter FILTER_APP_HAS_DIRECTORY_ACCESS
public static final AppFilter FILTER_APP_HAS_DIRECTORY_ACCESS = new AppFilter() {
private Set mPackages;
@Override
public void init() {
throw new UnsupportedOperationException("Need to call constructor that takes context");
}
@Override
public void init(Context context) {
mPackages = null;
final Uri providerUri = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(AUTHORITY).appendPath(TABLE_PACKAGES).appendPath("*").build();
try (Cursor cursor = context.getContentResolver().query(providerUri, TABLE_PACKAGES_COLUMNS, null, null)) {
if (cursor == null) {
Log.w(TAG, "Didn't get cursor for " + providerUri);
return;
}
final int count = cursor.getCount();
if (count == 0) {
if (DEBUG) {
Log.d(TAG, "No packages anymore (was " + mPackages + ")");
}
return;
}
mPackages = new ArraySet<>(count);
while (cursor.moveToNext()) {
mPackages.add(cursor.getString(TABLE_PACKAGES_COL_PACKAGE));
}
if (DEBUG) {
Log.d(TAG, "init(): " + mPackages);
}
}
}
@Override
public boolean filterApp(AppEntry info) {
return mPackages != null && mPackages.contains(info.info.packageName);
}
};
1.145.2. AppStateDirectoryAccessBridgeMethod方法列表
1.145.2.1. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.145.2.2. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.146. AppStateInstallAppsBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateInstallAppsBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.146.1. AppStateInstallAppsBridge Field属性列表
1.146.1.1. final IPackageManager mIpm;
private final IPackageManager mIpm;
1.146.1.2. final AppOpsManager mAppOpsManager;
private final AppOpsManager mAppOpsManager;
1.146.1.3. static final String TAG
private static final String TAG = AppStateInstallAppsBridge.class.getSimpleName();
1.146.1.4. static final AppFilter FILTER_APP_SOURCES
public static final AppFilter FILTER_APP_SOURCES = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
if (info.extraInfo == null || !(info.extraInfo instanceof InstallAppsState)) {
return false;
}
InstallAppsState state = (InstallAppsState) info.extraInfo;
return state.isPotentialAppSource();
}
};
1.146.2. AppStateInstallAppsBridgeMethod方法列表
1.146.2.1. updateExtraInfo(AppEntry app,String packageName,int uid)
protected void updateExtraInfo(AppEntry app, String packageName, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String packageName,int uid"));
1.146.2.2. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.146.2.3. hasRequestedAppOpPermission(String permission,String packageName)
private boolean hasRequestedAppOpPermission(String permission, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasRequestedAppOpPermission", "String permission,String packageName"));
1.146.2.4. hasPermission(String permission,int uid)
private boolean hasPermission(String permission, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasPermission", "String permission,int uid"));
1.146.2.5. getAppOpMode(int appOpCode,int uid,String packageName)
private int getAppOpMode(int appOpCode, int uid, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAppOpMode", "int appOpCode,int uid,String packageName"));
1.146.2.6. createInstallAppsStateFor(String packageName,int uid)
public InstallAppsState createInstallAppsStateFor(String packageName, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"InstallAppsState" ,"createInstallAppsStateFor", "String packageName,int uid"));
1.147. AppStateNotificationBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateNotificationBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.147.1. AppStateNotificationBridge Field属性列表
1.147.1.1. IUsageStatsManager mUsageStatsManager;
private IUsageStatsManager mUsageStatsManager;
1.147.1.2. List mUserIds;
protected List mUserIds;
1.147.1.3. NotificationBackend mBackend;
private NotificationBackend mBackend;
1.147.1.4. final Context mContext;
private final Context mContext;
1.147.1.5. static final int DAYS_TO_CHECK
private static final int DAYS_TO_CHECK = 7;
1.147.1.6. static final AppFilter FILTER_APP_NOTIFICATION_RECENCY
public static final AppFilter FILTER_APP_NOTIFICATION_RECENCY = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
NotificationsSentState state = getNotificationsSentState(info);
if (state != null) {
return state.lastSent != 0;
}
return false;
}
};
1.147.1.7. static final AppFilter FILTER_APP_NOTIFICATION_FREQUENCY
public static final AppFilter FILTER_APP_NOTIFICATION_FREQUENCY = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
NotificationsSentState state = getNotificationsSentState(info);
if (state != null) {
return state.sentCount != 0;
}
return false;
}
};
1.147.1.8. static final Comparator RECENT_NOTIFICATION_COMPARATOR
public static final Comparator RECENT_NOTIFICATION_COMPARATOR = new Comparator() {
@Override
public int compare(AppEntry object1, AppEntry object2) {
NotificationsSentState state1 = getNotificationsSentState(object1);
NotificationsSentState state2 = getNotificationsSentState(object2);
if (state1 == null && state2 != null)
return -1;
if (state1 != null && state2 == null)
return 1;
if (state1 != null && state2 != null) {
if (state1.lastSent < state2.lastSent)
return 1;
if (state1.lastSent > state2.lastSent)
return -1;
}
return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
}
};
1.147.1.9. static final Comparator FREQUENCY_NOTIFICATION_COMPARATOR
public static final Comparator FREQUENCY_NOTIFICATION_COMPARATOR = new Comparator() {
@Override
public int compare(AppEntry object1, AppEntry object2) {
NotificationsSentState state1 = getNotificationsSentState(object1);
NotificationsSentState state2 = getNotificationsSentState(object2);
if (state1 == null && state2 != null)
return -1;
if (state1 != null && state2 == null)
return 1;
if (state1 != null && state2 != null) {
if (state1.sentCount < state2.sentCount)
return 1;
if (state1.sentCount > state2.sentCount)
return -1;
}
return ApplicationsState.ALPHA_COMPARATOR.compare(object1, object2);
}
};
1.147.2. AppStateNotificationBridgeMethod方法列表
1.147.2.1. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.147.2.2. updateExtraInfo(AppEntry entry,String pkg,int uid)
protected void updateExtraInfo(AppEntry entry, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry entry,String pkg,int uid"));
1.147.2.3. addBlockStatus(AppEntry entry,NotificationsSentState stats)
private void addBlockStatus(AppEntry entry, NotificationsSentState stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addBlockStatus", "AppEntry entry,NotificationsSentState stats"));
1.147.2.4. calculateAvgSentCounts(NotificationsSentState stats)
private void calculateAvgSentCounts(NotificationsSentState stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateAvgSentCounts", "NotificationsSentState stats"));
1.147.2.5. getAggregatedUsageEvents()
protected Map getAggregatedUsageEvents()
methodList.add(new ZMethod(mZAndroidAPPClass,"Map" ,"getAggregatedUsageEvents", ""));
1.147.2.6. getAggregatedUsageEvents(int userId,String pkg)
protected NotificationsSentState getAggregatedUsageEvents(int userId, String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"NotificationsSentState" ,"getAggregatedUsageEvents", "int userId,String pkg"));
1.147.2.7. getSwitchOnClickListener(final AppEntry entry)
public View.OnClickListener getSwitchOnClickListener(final AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"View.OnClickListener" ,"getSwitchOnClickListener", "final AppEntry entry"));
1.147.2.8. static getSummary(Context context,NotificationsSentState state,boolean sortByRecency)
public static CharSequence getSummary(Context context, NotificationsSentState state, boolean sortByRecency)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,NotificationsSentState state,boolean sortByRecency"));
1.147.2.9. static getNotificationsSentState(AppEntry entry)
private static NotificationsSentState getNotificationsSentState(AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"NotificationsSentState" ,"getNotificationsSentState", "AppEntry entry"));
1.147.2.10. static getKey(int userId,String pkg)
protected static String getKey(int userId, String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", "int userId,String pkg"));
1.147.2.11. static final enableSwitch(AppEntry entry)
public static final boolean enableSwitch(AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"enableSwitch", "AppEntry entry"));
1.147.2.12. static final checkSwitch(AppEntry entry)
public static final boolean checkSwitch(AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkSwitch", "AppEntry entry"));
1.148. AppStateOverlayBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateOverlayBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.148.1. AppStateOverlayBridge Field属性列表
1.148.1.1. static final String TAG
private static final String TAG = "AppStateOverlayBridge";
1.148.1.2. static final int APP_OPS_OP_CODE
private static final int APP_OPS_OP_CODE = AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
1.148.1.3. static final String PM_SYSTEM_ALERT_WINDOW
private static final String PM_SYSTEM_ALERT_WINDOW = Manifest.permission.SYSTEM_ALERT_WINDOW;
1.148.1.4. static final String[] PM_PERMISSION
private static final String[] PM_PERMISSION = { PM_SYSTEM_ALERT_WINDOW };
1.148.1.5. static final AppFilter FILTER_SYSTEM_ALERT_WINDOW
public static final AppFilter FILTER_SYSTEM_ALERT_WINDOW = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
return info.extraInfo != null;
}
};
1.148.2. AppStateOverlayBridgeMethod方法列表
1.148.2.1. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.148.2.2. getOverlayInfo(String pkg,int uid)
public OverlayState getOverlayInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"OverlayState" ,"getOverlayInfo", "String pkg,int uid"));
1.148.2.3. getNumberOfPackagesWithPermission()
public int getNumberOfPackagesWithPermission()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfPackagesWithPermission", ""));
1.148.2.4. getNumberOfPackagesCanDrawOverlay()
public int getNumberOfPackagesCanDrawOverlay()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfPackagesCanDrawOverlay", ""));
1.149. AppStatePowerBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStatePowerBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.149.1. AppStatePowerBridge Field属性列表
1.149.1.1. final PowerWhitelistBackend mBackend;
private final PowerWhitelistBackend mBackend;
1.149.1.2. static final AppFilter FILTER_POWER_WHITELISTED
public static final AppFilter FILTER_POWER_WHITELISTED = new CompoundFilter(ApplicationsState.FILTER_WITHOUT_DISABLED_UNTIL_USED, new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
return info.extraInfo == Boolean.TRUE;
}
});
1.149.2. AppStatePowerBridgeMethod方法列表
1.149.2.1. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.149.2.2. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.150. AppStateSmsPremBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateSmsPremBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.150.1. AppStateSmsPremBridge Field属性列表
1.150.1.1. final Context mContext;
private final Context mContext;
1.150.1.2. final ISms mSmsManager;
private final ISms mSmsManager;
1.150.1.3. static final AppFilter FILTER_APP_PREMIUM_SMS
public static final AppFilter FILTER_APP_PREMIUM_SMS = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
return info.extraInfo instanceof SmsState && ((SmsState) info.extraInfo).smsState != SmsUsageMonitor.PREMIUM_SMS_PERMISSION_UNKNOWN;
}
};
1.150.2. AppStateSmsPremBridgeMethod方法列表
1.150.2.1. loadAllExtraInfo()
protected void loadAllExtraInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAllExtraInfo", ""));
1.150.2.2. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.150.2.3. getState(String pkg)
public SmsState getState(String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"SmsState" ,"getState", "String pkg"));
1.150.2.4. getSmsState(String pkg)
private int getSmsState(String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSmsState", "String pkg"));
1.150.2.5. setSmsState(String pkg,int state)
public void setSmsState(String pkg, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSmsState", "String pkg,int state"));
1.151. AppStateUsageBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateUsageBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.151.1. AppStateUsageBridge Field属性列表
1.151.1.1. static final String TAG
private static final String TAG = "AppStateUsageBridge";
1.151.1.2. static final String PM_USAGE_STATS
private static final String PM_USAGE_STATS = Manifest.permission.PACKAGE_USAGE_STATS;
1.151.1.3. static final int APP_OPS_OP_CODE
private static final int APP_OPS_OP_CODE = AppOpsManager.OP_GET_USAGE_STATS;
1.151.1.4. static final String[] PM_PERMISSION
private static final String[] PM_PERMISSION = { PM_USAGE_STATS };
1.151.1.5. static final AppFilter FILTER_APP_USAGE
public static final AppFilter FILTER_APP_USAGE = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
return info.extraInfo != null;
}
};
1.151.2. AppStateUsageBridgeMethod方法列表
1.151.2.1. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.151.2.2. getUsageInfo(String pkg,int uid)
public UsageState getUsageInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"UsageState" ,"getUsageInfo", "String pkg,int uid"));
1.152. AppStateWriteSettingsBridge.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStateWriteSettingsBridge.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.152.1. AppStateWriteSettingsBridge Field属性列表
1.152.1.1. static final String TAG
private static final String TAG = "AppStateWriteSettingsBridge";
1.152.1.2. static final int APP_OPS_OP_CODE
private static final int APP_OPS_OP_CODE = AppOpsManager.OP_WRITE_SETTINGS;
1.152.1.3. static final String PM_WRITE_SETTINGS
private static final String PM_WRITE_SETTINGS = Manifest.permission.WRITE_SETTINGS;
1.152.1.4. static final String[] PM_PERMISSIONS
private static final String[] PM_PERMISSIONS = { PM_WRITE_SETTINGS };
1.152.1.5. static final AppFilter FILTER_WRITE_SETTINGS
public static final AppFilter FILTER_WRITE_SETTINGS = new AppFilter() {
@Override
public void init() {
}
@Override
public boolean filterApp(AppEntry info) {
return info.extraInfo != null;
}
};
1.152.2. AppStateWriteSettingsBridgeMethod方法列表
1.152.2.1. updateExtraInfo(AppEntry app,String pkg,int uid)
protected void updateExtraInfo(AppEntry app, String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateExtraInfo", "AppEntry app,String pkg,int uid"));
1.152.2.2. getWriteSettingsInfo(String pkg,int uid)
public WriteSettingsState getWriteSettingsInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"WriteSettingsState" ,"getWriteSettingsInfo", "String pkg,int uid"));
1.152.2.3. getNumberOfPackagesWithPermission()
public int getNumberOfPackagesWithPermission()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfPackagesWithPermission", ""));
1.152.2.4. getNumberOfPackagesCanWriteSettings()
public int getNumberOfPackagesCanWriteSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfPackagesCanWriteSettings", ""));
1.153. AppStoragePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppStoragePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.153.1. AppStoragePreferenceController Field属性列表
1.153.1.1. StorageStatsSource.AppStorageStats mLastResult;
private StorageStatsSource.AppStorageStats mLastResult;
1.153.2. AppStoragePreferenceControllerMethod方法列表
1.153.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.153.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.153.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.153.2.4. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.153.2.5. getStorageSummary(StorageStatsSource.AppStorageStats stats,boolean isExternal)
CharSequence getStorageSummary(StorageStatsSource.AppStorageStats stats, boolean isExternal)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getStorageSummary", "StorageStatsSource.AppStorageStats stats,boolean isExternal"));
1.153.2.6. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.153.2.7. onLoadFinished(Loader loader,StorageStatsSource.AppStorageStats result)
public void onLoadFinished(Loader loader, StorageStatsSource.AppStorageStats result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,StorageStatsSource.AppStorageStats result"));
1.153.2.8. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.154. AppStorageSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStorageSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.154.1. AppStorageSettings Field属性列表
1.154.1.1. @VisibleForTesting ActionButtonPreference mButtonsPref;
// Views related to cache info
@VisibleForTesting
ActionButtonPreference mButtonsPref;
1.154.1.2. Preference mStorageUsed;
private Preference mStorageUsed;
1.154.1.3. Button mChangeStorageButton;
private Button mChangeStorageButton;
1.154.1.4. Button mClearUriButton;
// Views related to URI permissions
private Button mClearUriButton;
1.154.1.5. LayoutPreference mClearUri;
private LayoutPreference mClearUri;
1.154.1.6. PreferenceCategory mUri;
private PreferenceCategory mUri;
1.154.1.7. boolean mCanClearData
private boolean mCanClearData = true;
1.154.1.8. boolean mCacheCleared;
private boolean mCacheCleared;
1.154.1.9. boolean mDataCleared;
private boolean mDataCleared;
1.154.1.10. AppStorageSizesController mSizeController;
@VisibleForTesting
AppStorageSizesController mSizeController;
1.154.1.11. ClearCacheObserver mClearCacheObserver;
private ClearCacheObserver mClearCacheObserver;
1.154.1.12. ClearUserDataObserver mClearDataObserver;
private ClearUserDataObserver mClearDataObserver;
1.154.1.13. VolumeInfo[] mCandidates;
private VolumeInfo[] mCandidates;
1.154.1.14. AlertDialog.Builder mDialogBuilder;
private AlertDialog.Builder mDialogBuilder;
1.154.1.15. ApplicationInfo mInfo;
private ApplicationInfo mInfo;
1.154.1.16. final Handler mHandler
private final Handler mHandler = new Handler() {
public void handleMessage(Message msg) {
if (getView() == null) {
return;
}
switch(msg.what) {
case MSG_CLEAR_USER_DATA:
mDataCleared = true;
mCacheCleared = true;
processClearMsg(msg);
break;
case MSG_CLEAR_CACHE:
mCacheCleared = true;
// Refresh size info
updateSize();
break;
}
}
};
1.154.1.17. static final String TAG
private static final String TAG = AppStorageSettings.class.getSimpleName();
1.154.1.18. static final int OP_SUCCESSFUL
//internal constants used in Handler
private static final int OP_SUCCESSFUL = 1;
1.154.1.19. static final int OP_FAILED
private static final int OP_FAILED = 2;
1.154.1.20. static final int MSG_CLEAR_USER_DATA
private static final int MSG_CLEAR_USER_DATA = 1;
1.154.1.21. static final int MSG_CLEAR_CACHE
private static final int MSG_CLEAR_CACHE = 3;
1.154.1.22. static final // fails for whatever reason private int SIZE_INVALID
// invalid size value used initially and also when size retrieval through PackageManager
// fails for whatever reason
private static final int SIZE_INVALID = -1;
1.154.1.23. static final int REQUEST_MANAGE_SPACE
// Result code identifiers
public static final int REQUEST_MANAGE_SPACE = 2;
1.154.1.24. static final int DLG_CLEAR_DATA
private static final int DLG_CLEAR_DATA = DLG_BASE + 1;
1.154.1.25. static final int DLG_CANNOT_CLEAR_DATA
private static final int DLG_CANNOT_CLEAR_DATA = DLG_BASE + 2;
1.154.1.26. static final String KEY_STORAGE_USED
private static final String KEY_STORAGE_USED = "storage_used";
1.154.1.27. static final String KEY_CHANGE_STORAGE
private static final String KEY_CHANGE_STORAGE = "change_storage_button";
1.154.1.28. static final String KEY_STORAGE_SPACE
private static final String KEY_STORAGE_SPACE = "storage_space";
1.154.1.29. static final String KEY_STORAGE_CATEGORY
private static final String KEY_STORAGE_CATEGORY = "storage_category";
1.154.1.30. static final String KEY_TOTAL_SIZE
private static final String KEY_TOTAL_SIZE = "total_size";
1.154.1.31. static final String KEY_APP_SIZE
private static final String KEY_APP_SIZE = "app_size";
1.154.1.32. static final String KEY_DATA_SIZE
private static final String KEY_DATA_SIZE = "data_size";
1.154.1.33. static final String KEY_CACHE_SIZE
private static final String KEY_CACHE_SIZE = "cache_size";
1.154.1.34. static final String KEY_HEADER_BUTTONS
private static final String KEY_HEADER_BUTTONS = "header_view";
1.154.1.35. static final String KEY_URI_CATEGORY
private static final String KEY_URI_CATEGORY = "uri_category";
1.154.1.36. static final String KEY_CLEAR_URI
private static final String KEY_CLEAR_URI = "clear_uri_button";
1.154.1.37. static final String KEY_CACHE_CLEARED
private static final String KEY_CACHE_CLEARED = "cache_cleared";
1.154.1.38. static final String KEY_DATA_CLEARED
private static final String KEY_DATA_CLEARED = "data_cleared";
1.154.2. AppStorageSettingsMethod方法列表
1.154.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.154.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.154.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.154.2.4. setupViews()
private void setupViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupViews", ""));
1.154.2.5. handleClearCacheClick()
void handleClearCacheClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleClearCacheClick", ""));
1.154.2.6. handleClearDataClick()
void handleClearDataClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleClearDataClick", ""));
1.154.2.7. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.154.2.8. isMoveInProgress()
private boolean isMoveInProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isMoveInProgress", ""));
1.154.2.9. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.154.2.10. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.154.2.11. refreshButtons()
private void refreshButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshButtons", ""));
1.154.2.12. initDataButtons()
private void initDataButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initDataButtons", ""));
1.154.2.13. initMoveDialog()
private void initMoveDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initMoveDialog", ""));
1.154.2.14. initiateClearUserData()
private void initiateClearUserData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initiateClearUserData", ""));
1.154.2.15. processClearMsg(Message msg)
private void processClearMsg(Message msg)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"processClearMsg", "Message msg"));
1.154.2.16. refreshGrantedUriPermissions()
private void refreshGrantedUriPermissions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshGrantedUriPermissions", ""));
1.154.2.17. clearUriPermissions()
private void clearUriPermissions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearUriPermissions", ""));
1.154.2.18. removeUriPermissionsFromUi()
private void removeUriPermissionsFromUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeUriPermissionsFromUi", ""));
1.154.2.19. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.154.2.20. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.154.2.21. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.154.2.22. onLoadFinished(Loader loader,AppStorageStats result)
public void onLoadFinished(Loader loader, AppStorageStats result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,AppStorageStats result"));
1.154.2.23. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.154.2.24. updateSize()
private void updateSize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSize", ""));
1.154.2.25. updateUiWithSize(AppStorageStats result)
void updateUiWithSize(AppStorageStats result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUiWithSize", "AppStorageStats result"));
1.154.2.26. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.155. AppStorageSizesController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStorageSizesController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.155.1. AppStorageSizesController Field属性列表
1.155.1.1. StorageStatsSource.AppStorageStats mLastResult;
@Nullable
private StorageStatsSource.AppStorageStats mLastResult;
1.155.1.2. boolean mLastResultFailed;
private boolean mLastResultFailed;
1.155.1.3. boolean mCachedCleared;
private boolean mCachedCleared;
1.155.1.4. boolean mDataCleared;
private boolean mDataCleared;
1.155.1.5. long mLastCodeSize
private long mLastCodeSize = -1;
1.155.1.6. long mLastDataSize
private long mLastDataSize = -1;
1.155.1.7. long mLastCacheSize
private long mLastCacheSize = -1;
1.155.1.8. long mLastTotalSize
private long mLastTotalSize = -1;
1.155.1.9. final Preference mTotalSize;
private final Preference mTotalSize;
1.155.1.10. final Preference mAppSize;
private final Preference mAppSize;
1.155.1.11. final Preference mDataSize;
private final Preference mDataSize;
1.155.1.12. final Preference mCacheSize;
private final Preference mCacheSize;
1.155.1.13. final int mComputing;
@StringRes
private final int mComputing;
1.155.1.14. final int mError;
@StringRes
private final int mError;
1.155.2. AppStorageSizesControllerMethod方法列表
1.155.2.1. updateUi(Context context)
public void updateUi(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", "Context context"));
1.155.2.2. setResult(StorageStatsSource.AppStorageStats result)
public void setResult(StorageStatsSource.AppStorageStats result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setResult", "StorageStatsSource.AppStorageStats result"));
1.155.2.3. setCacheCleared(boolean isCleared)
public void setCacheCleared(boolean isCleared)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCacheCleared", "boolean isCleared"));
1.155.2.4. setDataCleared(boolean isCleared)
public void setDataCleared(boolean isCleared)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDataCleared", "boolean isCleared"));
1.155.2.5. getLastResult()
public StorageStatsSource.AppStorageStats getLastResult()
methodList.add(new ZMethod(mZAndroidAPPClass,"StorageStatsSource.AppStorageStats" ,"getLastResult", ""));
1.155.2.6. getSizeStr(Context context,long size)
private String getSizeStr(Context context, long size)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSizeStr", "Context context,long size"));
1.156. AppStoreUtil.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppStoreUtil.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.156.1. AppStoreUtil Field属性列表
1.156.1.1. static final String LOG_TAG
private static final String LOG_TAG = "AppStoreUtil";
1.156.2. AppStoreUtilMethod方法列表
1.156.2.1. static resolveIntent(Context context,Intent i)
private static Intent resolveIntent(Context context, Intent i)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"resolveIntent", "Context context,Intent i"));
1.156.2.2. static getInstallerPackageName(Context context,String packageName)
public static String getInstallerPackageName(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getInstallerPackageName", "Context context,String packageName"));
1.156.2.3. static getAppStoreLink(Context context,String installerPackageName,String packageName)
public static Intent getAppStoreLink(Context context, String installerPackageName, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAppStoreLink", "Context context,String installerPackageName,String packageName"));
1.156.2.4. static getAppStoreLink(Context context,String packageName)
public static Intent getAppStoreLink(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAppStoreLink", "Context context,String packageName"));
1.157. AppSwitchPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/AppSwitchPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.157.1. AppSwitchPreference Field属性列表
1.157.2. AppSwitchPreferenceMethod方法列表
1.157.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.158. AppVersionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/AppVersionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.158.1. AppVersionPreferenceController Field属性列表
1.158.2. AppVersionPreferenceControllerMethod方法列表
1.158.2.1. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.159. AppViewHolder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/AppViewHolder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.159.1. AppViewHolder Field属性列表
1.159.1.1. ApplicationsState.AppEntry entry;
public ApplicationsState.AppEntry entry;
1.159.1.2. View rootView;
public View rootView;
1.159.1.3. TextView appName;
public TextView appName;
1.159.1.4. ImageView appIcon;
public ImageView appIcon;
1.159.1.5. TextView summary;
public TextView summary;
1.159.1.6. TextView disabled;
public TextView disabled;
1.159.2. AppViewHolderMethod方法列表
1.159.2.1. static createOrRecycle(LayoutInflater inflater,View convertView)
public static AppViewHolder createOrRecycle(LayoutInflater inflater, View convertView)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppViewHolder" ,"createOrRecycle", "LayoutInflater inflater,View convertView"));
1.160. AppVpnInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/AppVpnInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.160.1. AppVpnInfo Field属性列表
1.160.1.1. final int userId;
public final int userId;
1.160.1.2. final String packageName;
public final String packageName;
1.160.2. AppVpnInfoMethod方法列表
1.160.2.1. compareTo(Object other)
public int compareTo(Object other)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "Object other"));
1.160.2.2. equals(Object other)
public boolean equals(Object other)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object other"));
1.160.2.3. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.161. AppWidgetLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AppWidgetLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.161.1. AppWidgetLoader Field属性列表
1.161.1.1. Context mContext;
private Context mContext;
1.161.1.2. AppWidgetManager mAppWidgetManager;
private AppWidgetManager mAppWidgetManager;
1.161.1.3. ItemConstructor mItemConstructor;
ItemConstructor- mItemConstructor;
1.161.1.4. static final String TAG
private static final String TAG = "AppWidgetAdapter";
1.161.1.5. static final boolean LOGD
private static final boolean LOGD = AppWidgetPickActivity.LOGD;
1.161.2. AppWidgetLoaderMethod方法列表
1.161.2.1. putCustomAppWidgets(List items,Intent intent)
void putCustomAppWidgets(List- items, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"putCustomAppWidgets", "List
- items,Intent intent"));
1.161.2.2. putAppWidgetItems(List appWidgets,List customExtras,List items,int categoryFilter,boolean ignoreFilter)
void putAppWidgetItems(List appWidgets, List customExtras, List- items, int categoryFilter, boolean ignoreFilter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"putAppWidgetItems", "List
appWidgets,List customExtras,List- items,int categoryFilter,boolean ignoreFilter"));
1.161.2.3. getItems(Intent intent)
protected List- getItems(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"List
- " ,"getItems", "Intent intent"));
1.161.2.4. putInstalledAppWidgets(List items,int categoryFilter)
void putInstalledAppWidgets(List- items, int categoryFilter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"putInstalledAppWidgets", "List
- items,int categoryFilter"));
1.162. AppWidgetPickActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/AppWidgetPickActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.162.1. AppWidgetPickActivity Field属性列表
1.162.1.1. List mItems;
List mItems;
1.162.1.2. int mAppWidgetId;
/**
* The allocated {@link AppWidgetManager#EXTRA_APPWIDGET_ID} that this
* activity is binding.
*/
private int mAppWidgetId;
1.162.1.3. AppWidgetLoader mAppWidgetLoader;
private AppWidgetLoader mAppWidgetLoader;
1.162.1.4. AppWidgetManager mAppWidgetManager;
private AppWidgetManager mAppWidgetManager;
1.162.1.5. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.162.1.6. static final String TAG
private static final String TAG = "AppWidgetPickActivity";
1.162.1.7. static final boolean LOGD
static final boolean LOGD = false;
1.162.2. AppWidgetPickActivityMethod方法列表
1.162.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.162.2.2. getItems()
protected List getItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getItems", ""));
1.162.2.3. createItem(Context context,AppWidgetProviderInfo info,Bundle extras)
public PickAdapter.Item createItem(Context context, AppWidgetProviderInfo info, Bundle extras)
methodList.add(new ZMethod(mZAndroidAPPClass,"PickAdapter.Item" ,"createItem", "Context context,AppWidgetProviderInfo info,Bundle extras"));
1.162.2.4. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.162.2.5. setResultData(int code,Intent intent)
void setResultData(int code, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setResultData", "int code,Intent intent"));
1.163. AppWithAdminGrantedPermissionsCounter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppWithAdminGrantedPermissionsCounter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.163.1. AppWithAdminGrantedPermissionsCounter Field属性列表
1.163.1.1. final String[] mPermissions;
private final String[] mPermissions;
1.163.1.2. final IPackageManager mPackageManagerService;
private final IPackageManager mPackageManagerService;
1.163.1.3. final DevicePolicyManager mDevicePolicyManager;
private final DevicePolicyManager mDevicePolicyManager;
1.163.2. AppWithAdminGrantedPermissionsCounterMethod方法列表
1.163.2.1. includeInCount(ApplicationInfo info)
protected boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.163.2.2. static includeInCount(String[] permissions,DevicePolicyManager devicePolicyManager,PackageManagerWrapper packageManager,IPackageManager packageManagerService,ApplicationInfo info)
public static boolean includeInCount(String[] permissions, DevicePolicyManager devicePolicyManager, PackageManagerWrapper packageManager, IPackageManager packageManagerService, ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "String[] permissions,DevicePolicyManager devicePolicyManager,PackageManagerWrapper packageManager,IPackageManager packageManagerService,ApplicationInfo info"));
1.164. AppWithAdminGrantedPermissionsLister.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/AppWithAdminGrantedPermissionsLister.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.164.1. AppWithAdminGrantedPermissionsLister Field属性列表
1.164.1.1. final String[] mPermissions;
private final String[] mPermissions;
1.164.1.2. final IPackageManager mPackageManagerService;
private final IPackageManager mPackageManagerService;
1.164.1.3. final DevicePolicyManager mDevicePolicyManager;
private final DevicePolicyManager mDevicePolicyManager;
1.164.2. AppWithAdminGrantedPermissionsListerMethod方法列表
1.164.2.1. includeInCount(ApplicationInfo info)
protected boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.165. AspectRatioFrameLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/AspectRatioFrameLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.165.1. AspectRatioFrameLayout Field属性列表
1.165.1.1. float mAspectRatio
@VisibleForTesting
float mAspectRatio = 1.0f;
1.165.1.2. static final float ASPECT_RATIO_CHANGE_THREASHOLD
private static final float ASPECT_RATIO_CHANGE_THREASHOLD = 0.01f;
1.165.2. AspectRatioFrameLayoutMethod方法列表
1.165.2.1. setAspectRatio(float aspectRadio)
public void setAspectRatio(float aspectRadio)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAspectRatio", "float aspectRadio"));
1.165.2.2. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.166. AssistContextPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/AssistContextPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.166.1. AssistContextPreferenceController Field属性列表
1.166.1.1. Preference mPreference;
private Preference mPreference;
1.166.1.2. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.166.1.3. final AssistUtils mAssistUtils;
private final AssistUtils mAssistUtils;
1.166.1.4. final SettingObserver mSettingObserver;
private final SettingObserver mSettingObserver;
1.166.1.5. static final String KEY_CONTEXT
private static final String KEY_CONTEXT = "context";
1.166.2. AssistContextPreferenceControllerMethod方法列表
1.166.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.166.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.166.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.166.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.166.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.166.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.166.2.7. updatePreference()
private void updatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", ""));
1.166.2.8. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.166.2.9. static isChecked(Context context)
static boolean isChecked(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", "Context context"));
1.167. AssistFlashScreenPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/AssistFlashScreenPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.167.1. AssistFlashScreenPreferenceController Field属性列表
1.167.1.1. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.167.1.2. Preference mPreference;
private Preference mPreference;
1.167.1.3. final AssistUtils mAssistUtils;
private final AssistUtils mAssistUtils;
1.167.1.4. final SettingObserver mSettingObserver;
private final SettingObserver mSettingObserver;
1.167.1.5. static final String KEY_FLASH
private static final String KEY_FLASH = "flash";
1.167.2. AssistFlashScreenPreferenceControllerMethod方法列表
1.167.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.167.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.167.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.167.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.167.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.167.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.167.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.167.2.8. updatePreference()
private void updatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", ""));
1.167.2.9. willShowFlash(ComponentName assistant)
boolean willShowFlash(ComponentName assistant)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"willShowFlash", "ComponentName assistant"));
1.167.2.10. isPreInstalledAssistant(ComponentName assistant)
boolean isPreInstalledAssistant(ComponentName assistant)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPreInstalledAssistant", "ComponentName assistant"));
1.167.2.11. allowDisablingAssistDisclosure()
boolean allowDisablingAssistDisclosure()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"allowDisablingAssistDisclosure", ""));
1.167.2.12. getCurrentAssist()
private ComponentName getCurrentAssist()
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getCurrentAssist", ""));
1.168. AssistGestureFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/AssistGestureFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.169. AssistGestureFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/AssistGestureFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.169.1. AssistGestureFeatureProviderImpl Field属性列表
1.169.2. AssistGestureFeatureProviderImplMethod方法列表
1.169.2.1. isSupported(Context context)
public boolean isSupported(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSupported", "Context context"));
1.169.2.2. isSensorAvailable(Context context)
public boolean isSensorAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSensorAvailable", "Context context"));
1.169.2.3. getControllers(Context context,Lifecycle lifecycle)
public List getControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getControllers", "Context context,Lifecycle lifecycle"));
1.170. AssistGestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/AssistGestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.170.1. AssistGestureSettings Field属性列表
1.170.1.1. static final String TAG
private static final String TAG = "AssistGesture";
1.170.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.assist_gesture_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
@Override
protected boolean isPageSearchEnabled(Context context) {
AssistGestureSettingsPreferenceController controller = new AssistGestureSettingsPreferenceController(context, "gesture_assist_input_summary");
controller.setAssistOnly(false);
return controller.isAvailable();
}
};
1.170.2. AssistGestureSettingsMethod方法列表
1.170.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.170.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.170.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.170.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.170.2.5. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.171. AssistGestureSettingsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/AssistGestureSettingsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.171.1. AssistGestureSettingsPreferenceController Field属性列表
1.171.1.1. boolean mWasAvailable;
private boolean mWasAvailable;
1.171.1.2. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.171.1.3. Preference mPreference;
private Preference mPreference;
1.171.1.4. boolean mAssistOnly;
@VisibleForTesting
boolean mAssistOnly;
1.171.1.5. final String mAssistGesturePrefKey;
private final String mAssistGesturePrefKey;
1.171.1.6. final AssistGestureFeatureProvider mFeatureProvider;
private final AssistGestureFeatureProvider mFeatureProvider;
1.171.1.7. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_assist_video";
1.171.1.8. static final String SECURE_KEY_ASSIST
private static final String SECURE_KEY_ASSIST = ASSIST_GESTURE_ENABLED;
1.171.1.9. static final String SECURE_KEY_SILENCE
private static final String SECURE_KEY_SILENCE = ASSIST_GESTURE_SILENCE_ALERTS_ENABLED;
1.171.1.10. static final int ON
private static final int ON = 1;
1.171.1.11. static final int OFF
private static final int OFF = 0;
1.171.2. AssistGestureSettingsPreferenceControllerMethod方法列表
1.171.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.171.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.171.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.171.2.4. setAssistOnly(boolean assistOnly)
public AssistGestureSettingsPreferenceController setAssistOnly(boolean assistOnly)
methodList.add(new ZMethod(mZAndroidAPPClass,"AssistGestureSettingsPreferenceController" ,"setAssistOnly", "boolean assistOnly"));
1.171.2.5. updatePreference()
private void updatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", ""));
1.171.2.6. isAssistGestureEnabled()
private boolean isAssistGestureEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAssistGestureEnabled", ""));
1.171.2.7. isSilenceGestureEnabled()
private boolean isSilenceGestureEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSilenceGestureEnabled", ""));
1.171.2.8. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.171.2.9. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.171.2.10. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.171.2.11. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.171.2.12. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.172. AssistScreenshotPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/AssistScreenshotPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.172.1. AssistScreenshotPreferenceController Field属性列表
1.172.1.1. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.172.1.2. Preference mPreference;
private Preference mPreference;
1.172.1.3. final AssistUtils mAssistUtils;
private final AssistUtils mAssistUtils;
1.172.1.4. final SettingObserver mSettingObserver;
private final SettingObserver mSettingObserver;
1.172.1.5. static final String KEY_SCREENSHOT
private static final String KEY_SCREENSHOT = "screenshot";
1.172.2. AssistScreenshotPreferenceControllerMethod方法列表
1.172.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.172.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.172.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.172.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.172.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.172.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.172.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.172.2.8. updatePreference()
private void updatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", ""));
1.173. AssistSettingObserver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/AssistSettingObserver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.173.1. AssistSettingObserver Field属性列表
1.173.1.1. final Uri ASSIST_URI
private final Uri ASSIST_URI = Settings.Secure.getUriFor(Settings.Secure.ASSISTANT);
1.173.2. AssistSettingObserverMethod方法列表
1.173.2.1. register(ContentResolver cr,boolean register)
public void register(ContentResolver cr, boolean register)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", "ContentResolver cr,boolean register"));
1.173.2.2. onChange(boolean selfChange,Uri uri)
public void onChange(boolean selfChange, Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onChange", "boolean selfChange,Uri uri"));
1.173.2.3. abstract getSettingUris()
protected abstract List getSettingUris()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSettingUris", ""));
1.173.2.4. abstract onSettingChange()
public abstract void onSettingChange()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSettingChange", ""));
1.174. AudioHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/AudioHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.174.1. AudioHelper Field属性列表
1.174.1.1. Context mContext;
private Context mContext;
1.174.1.2. AudioManager mAudioManager;
private AudioManager mAudioManager;
1.174.2. AudioHelperMethod方法列表
1.174.2.1. isSingleVolume()
public boolean isSingleVolume()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSingleVolume", ""));
1.174.2.2. getManagedProfileId(UserManager um)
public int getManagedProfileId(UserManager um)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getManagedProfileId", "UserManager um"));
1.174.2.3. isUserUnlocked(UserManager um,@UserIdInt int userId)
public boolean isUserUnlocked(UserManager um, @UserIdInt int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUserUnlocked", "UserManager um,@UserIdInt int userId"));
1.174.2.4. createPackageContextAsUser(@UserIdInt int profileId)
public Context createPackageContextAsUser(@UserIdInt int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"createPackageContextAsUser", "@UserIdInt int profileId"));
1.174.2.5. getRingerModeInternal()
public int getRingerModeInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingerModeInternal", ""));
1.174.2.6. getLastAudibleStreamVolume(int stream)
public int getLastAudibleStreamVolume(int stream)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getLastAudibleStreamVolume", "int stream"));
1.174.2.7. getStreamVolume(int stream)
public int getStreamVolume(int stream)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getStreamVolume", "int stream"));
1.174.2.8. setStreamVolume(int stream,int volume)
public boolean setStreamVolume(int stream, int volume)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setStreamVolume", "int stream,int volume"));
1.174.2.9. getMaxVolume(int stream)
public int getMaxVolume(int stream)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaxVolume", "int stream"));
1.175. AudioSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sound/AudioSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.175.1. AudioSwitchPreferenceController Field属性列表
1.175.1.1. int mSelectedIndex;
protected int mSelectedIndex;
1.175.1.2. Preference mPreference;
protected Preference mPreference;
1.175.1.3. LocalBluetoothProfileManager mProfileManager;
protected LocalBluetoothProfileManager mProfileManager;
1.175.1.4. AudioSwitchCallback mAudioSwitchPreferenceCallback;
protected AudioSwitchCallback mAudioSwitchPreferenceCallback;
1.175.1.5. LocalBluetoothManager mLocalBluetoothManager;
private LocalBluetoothManager mLocalBluetoothManager;
1.175.1.6. final List mConnectedDevices;
protected final List mConnectedDevices;
1.175.1.7. final AudioManager mAudioManager;
protected final AudioManager mAudioManager;
1.175.1.8. final MediaRouter mMediaRouter;
protected final MediaRouter mMediaRouter;
1.175.1.9. final AudioManagerAudioDeviceCallback mAudioManagerAudioDeviceCallback;
private final AudioManagerAudioDeviceCallback mAudioManagerAudioDeviceCallback;
1.175.1.10. final MediaRouterCallback mMediaRouterCallback;
private final MediaRouterCallback mMediaRouterCallback;
1.175.1.11. final WiredHeadsetBroadcastReceiver mReceiver;
private final WiredHeadsetBroadcastReceiver mReceiver;
1.175.1.12. final Handler mHandler;
private final Handler mHandler;
1.175.1.13. static final String TAG
private static final String TAG = "AudioSwitchPreferenceController";
1.175.1.14. static final int INVALID_INDEX
private static final int INVALID_INDEX = -1;
1.175.2. AudioSwitchPreferenceControllerMethod方法列表
1.175.2.1. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.175.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.175.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.175.2.4. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.175.2.5. onConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state)
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state"));
1.175.2.6. onActiveDeviceChanged(CachedBluetoothDevice activeDevice,int bluetoothProfile)
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActiveDeviceChanged", "CachedBluetoothDevice activeDevice,int bluetoothProfile"));
1.175.2.7. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.175.2.8. onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile)
public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile"));
1.175.2.9. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.175.2.10. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.175.2.11. onDeviceAdded(CachedBluetoothDevice cachedDevice)
public void onDeviceAdded(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "CachedBluetoothDevice cachedDevice"));
1.175.2.12. onDeviceDeleted(CachedBluetoothDevice cachedDevice)
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceDeleted", "CachedBluetoothDevice cachedDevice"));
1.175.2.13. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.175.2.14. setCallback(AudioSwitchCallback callback)
public void setCallback(AudioSwitchCallback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCallback", "AudioSwitchCallback callback"));
1.175.2.15. isStreamFromOutputDevice(int streamType,int device)
protected boolean isStreamFromOutputDevice(int streamType, int device)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isStreamFromOutputDevice", "int streamType,int device"));
1.175.2.16. getConnectedHfpDevices()
protected List getConnectedHfpDevices()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConnectedHfpDevices", ""));
1.175.2.17. getConnectedA2dpDevices()
protected List getConnectedA2dpDevices()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConnectedA2dpDevices", ""));
1.175.2.18. getConnectedHearingAidDevices()
protected List getConnectedHearingAidDevices()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConnectedHearingAidDevices", ""));
1.175.2.19. findActiveDevice(int streamType)
protected BluetoothDevice findActiveDevice(int streamType)
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothDevice" ,"findActiveDevice", "int streamType"));
1.175.2.20. getDefaultDeviceIndex()
int getDefaultDeviceIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultDeviceIndex", ""));
1.175.2.21. setupPreferenceEntries(CharSequence[] mediaOutputs,CharSequence[] mediaValues,BluetoothDevice activeDevice)
void setupPreferenceEntries(CharSequence[] mediaOutputs, CharSequence[] mediaValues, BluetoothDevice activeDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupPreferenceEntries", "CharSequence[] mediaOutputs,CharSequence[] mediaValues,BluetoothDevice activeDevice"));
1.175.2.22. setPreference(CharSequence[] mediaOutputs,CharSequence[] mediaValues,Preference preference)
void setPreference(CharSequence[] mediaOutputs, CharSequence[] mediaValues, Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreference", "CharSequence[] mediaOutputs,CharSequence[] mediaValues,Preference preference"));
1.175.2.23. getConnectedDeviceIndex(String hardwareAddress)
private int getConnectedDeviceIndex(String hardwareAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getConnectedDeviceIndex", "String hardwareAddress"));
1.175.2.24. register()
private void register()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", ""));
1.175.2.25. unregister()
private void unregister()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregister", ""));
1.175.2.26. final getAvailabilityStatus()
public final int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.175.2.27. abstract setActiveBluetoothDevice(BluetoothDevice device)
public abstract void setActiveBluetoothDevice(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActiveBluetoothDevice", "BluetoothDevice device"));
1.176. AutoBatterySaverPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/AutoBatterySaverPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.176.1. AutoBatterySaverPreferenceController Field属性列表
1.176.1.1. final int mDefaultTriggerLevelForOn;
/**
* The default value to set to {@link Settings.Global#LOW_POWER_MODE_TRIGGER_LEVEL} when the
* user enables battery saver.
*/
private final int mDefaultTriggerLevelForOn;
1.176.1.2. static final int DEFAULT_TRIGGER_LEVEL
/**
* Default value for {@link Settings.Global#LOW_POWER_MODE_TRIGGER_LEVEL}.
*/
static final int DEFAULT_TRIGGER_LEVEL = 0;
1.176.1.3. static final String KEY_AUTO_BATTERY_SAVER
@VisibleForTesting
static final String KEY_AUTO_BATTERY_SAVER = "auto_battery_saver";
1.176.2. AutoBatterySaverPreferenceControllerMethod方法列表
1.176.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.176.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.176.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.177. AutoBatterySeekBarPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/AutoBatterySeekBarPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.177.1. AutoBatterySeekBarPreferenceController Field属性列表
1.177.1.1. SeekBarPreference mPreference;
private SeekBarPreference mPreference;
1.177.1.2. AutoBatterySaverSettingObserver mContentObserver;
private AutoBatterySaverSettingObserver mContentObserver;
1.177.1.3. static final String TAG
private static final String TAG = "AutoBatterySeekBarPreferenceController";
1.177.1.4. static final String KEY_AUTO_BATTERY_SEEK_BAR
@VisibleForTesting
static final String KEY_AUTO_BATTERY_SEEK_BAR = "battery_saver_seek_bar";
1.177.2. AutoBatterySeekBarPreferenceControllerMethod方法列表
1.177.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.177.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.177.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.177.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.177.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.177.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.177.2.7. updatePreference(Preference preference)
void updatePreference(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "Preference preference"));
1.178. AutoBrightnessPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AutoBrightnessPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.178.1. AutoBrightnessPreferenceController Field属性列表
1.178.1.1. final String SYSTEM_KEY
private final String SYSTEM_KEY = SCREEN_BRIGHTNESS_MODE;
1.178.1.2. final int DEFAULT_VALUE
private final int DEFAULT_VALUE = SCREEN_BRIGHTNESS_MODE_MANUAL;
1.178.2. AutoBrightnessPreferenceControllerMethod方法列表
1.178.2.1. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.178.2.2. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.178.2.3. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.178.2.4. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.178.2.5. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.179. AutoBrightnessSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AutoBrightnessSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.179.1. AutoBrightnessSettings Field属性列表
1.179.1.1. static final String TAG
private static final String TAG = "AutoBrightnessSettings";
1.179.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.auto_brightness_detail;
return Arrays.asList(sir);
}
};
1.179.2. AutoBrightnessSettingsMethod方法列表
1.179.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.179.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.179.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.179.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.179.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.180. AutofillPickerActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/autofill/AutofillPickerActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.180.1. AutofillPickerActivity Field属性列表
1.180.2. AutofillPickerActivityMethod方法列表
1.180.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.180.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.181. AutofillPickerTrampolineActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/autofill/AutofillPickerTrampolineActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.181.1. AutofillPickerTrampolineActivity Field属性列表
1.181.2. AutofillPickerTrampolineActivityMethod方法列表
1.181.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.182. AutomaticStorageManagementSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/AutomaticStorageManagementSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.182.1. AutomaticStorageManagementSwitchPreferenceController Field属性列表
1.182.1.1. MasterSwitchPreference mSwitch;
private MasterSwitchPreference mSwitch;
1.182.1.2. MasterSwitchController mSwitchController;
private MasterSwitchController mSwitchController;
1.182.1.3. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.182.1.4. final FragmentManager mFragmentManager;
private final FragmentManager mFragmentManager;
1.182.1.5. static final String KEY_TOGGLE_ASM
private static final String KEY_TOGGLE_ASM = "toggle_asm";
1.182.1.6. static final String STORAGE_MANAGER_ENABLED_BY_DEFAULT_PROPERTY
@VisibleForTesting
static final String STORAGE_MANAGER_ENABLED_BY_DEFAULT_PROPERTY = "ro.storage_manager.enabled";
1.182.2. AutomaticStorageManagementSwitchPreferenceControllerMethod方法列表
1.182.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.182.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.182.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.182.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.182.2.5. onSwitchToggled(boolean isChecked)
public boolean onSwitchToggled(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onSwitchToggled", "boolean isChecked"));
1.183. AutomaticStorageManagerDescriptionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deletionhelper/AutomaticStorageManagerDescriptionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.183.1. AutomaticStorageManagerDescriptionPreferenceController Field属性列表
1.183.1.1. static final String KEY_FREED
private static final String KEY_FREED = "freed_bytes";
1.183.2. AutomaticStorageManagerDescriptionPreferenceControllerMethod方法列表
1.183.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.183.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.183.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.184. AutomaticStorageManagerSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deletionhelper/AutomaticStorageManagerSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.184.1. AutomaticStorageManagerSettings Field属性列表
1.184.1.1. AutomaticStorageManagerSwitchBarController mSwitchController;
private AutomaticStorageManagerSwitchBarController mSwitchController;
1.184.1.2. DropDownPreference mDaysToRetain;
private DropDownPreference mDaysToRetain;
1.184.1.3. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.184.1.4. static final String KEY_DAYS
private static final String KEY_DAYS = "days";
1.184.1.5. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/** For Search. */
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
protected boolean isPageSearchEnabled(Context context) {
return false;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.184.2. AutomaticStorageManagerSettingsMethod方法列表
1.184.2.1. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.184.2.2. initializeDaysToRetainPreference()
private void initializeDaysToRetainPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeDaysToRetainPreference", ""));
1.184.2.3. initializeSwitchBar()
private void initializeSwitchBar()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeSwitchBar", ""));
1.184.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.184.2.5. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.184.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.184.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.184.2.8. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.184.2.9. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.184.2.10. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.184.2.11. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.184.2.12. static daysValueToIndex(int value,String[] indices)
private static int daysValueToIndex(int value, String[] indices)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"daysValueToIndex", "int value,String[] indices"));
1.184.2.13. static buildPreferenceControllers(Context context)
private static List buildPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context"));
1.185. AutomaticStorageManagerSwitchBarController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deletionhelper/AutomaticStorageManagerSwitchBarController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.185.1. AutomaticStorageManagerSwitchBarController Field属性列表
1.185.1.1. Context mContext;
private Context mContext;
1.185.1.2. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.185.1.3. MetricsFeatureProvider mMetrics;
private MetricsFeatureProvider mMetrics;
1.185.1.4. Preference mDaysToRetainPreference;
private Preference mDaysToRetainPreference;
1.185.1.5. FragmentManager mFragmentManager;
private FragmentManager mFragmentManager;
1.185.1.6. static final String STORAGE_MANAGER_ENABLED_BY_DEFAULT_PROPERTY
private static final String STORAGE_MANAGER_ENABLED_BY_DEFAULT_PROPERTY = "ro.storage_manager.enabled";
1.185.2. AutomaticStorageManagerSwitchBarControllerMethod方法列表
1.185.2.1. initializeCheckedStatus()
private void initializeCheckedStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeCheckedStatus", ""));
1.185.2.2. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.185.2.3. tearDown()
public void tearDown()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"tearDown", ""));
1.185.2.4. maybeShowWarning()
private void maybeShowWarning()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeShowWarning", ""));
1.186. AutoRestrictionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/AutoRestrictionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.186.1. AutoRestrictionPreferenceController Field属性列表
1.186.1.1. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.186.1.2. static final String KEY_SMART_BATTERY
private static final String KEY_SMART_BATTERY = "auto_restriction";
1.186.1.3. static final int ON
private static final int ON = 1;
1.186.1.4. static final int OFF
private static final int OFF = 0;
1.186.2. AutoRestrictionPreferenceControllerMethod方法列表
1.186.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.186.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.186.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.187. AutoRotatePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/AutoRotatePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.187.1. AutoRotatePreferenceController Field属性列表
1.187.1.1. Preference mPreference;
private Preference mPreference;
1.187.1.2. RotationPolicy.RotationPolicyListener mRotationPolicyListener;
private RotationPolicy.RotationPolicyListener mRotationPolicyListener;
1.187.1.3. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.187.2. AutoRotatePreferenceControllerMethod方法列表
1.187.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.187.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.187.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.187.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.187.2.5. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.187.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.187.2.7. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.188. AutoSyncDataPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/AutoSyncDataPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.188.1. AutoSyncDataPreferenceController Field属性列表
1.188.1.1. UserHandle mUserHandle;
protected UserHandle mUserHandle;
1.188.1.2. final UserManager mUserManager;
protected final UserManager mUserManager;
1.188.1.3. final Fragment mParentFragment;
private final Fragment mParentFragment;
1.188.1.4. static final String TAG
private static final String TAG = "AutoSyncDataController";
1.188.1.5. static final String TAG_CONFIRM_AUTO_SYNC_CHANGE
private static final String TAG_CONFIRM_AUTO_SYNC_CHANGE = "confirmAutoSyncChange";
1.188.1.6. static final String KEY_AUTO_SYNC_ACCOUNT
private static final String KEY_AUTO_SYNC_ACCOUNT = "auto_sync_account_data";
1.188.2. AutoSyncDataPreferenceControllerMethod方法列表
1.188.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.188.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.188.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.188.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.189. AutoSyncPersonalDataPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/AutoSyncPersonalDataPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.189.1. AutoSyncPersonalDataPreferenceController Field属性列表
1.189.1.1. static final String TAG
private static final String TAG = "AutoSyncPersonalData";
1.189.1.2. static final String KEY_AUTO_SYNC_PERSONAL_ACCOUNT
private static final String KEY_AUTO_SYNC_PERSONAL_ACCOUNT = "auto_sync_personal_account_data";
1.189.2. AutoSyncPersonalDataPreferenceControllerMethod方法列表
1.189.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.189.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.190. AutoSyncWorkDataPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/AutoSyncWorkDataPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.190.1. AutoSyncWorkDataPreferenceController Field属性列表
1.190.1.1. static final String TAG
private static final String TAG = "AutoSyncWorkData";
1.190.1.2. static final String KEY_AUTO_SYNC_WORK_ACCOUNT
private static final String KEY_AUTO_SYNC_WORK_ACCOUNT = "auto_sync_work_account_data";
1.190.2. AutoSyncWorkDataPreferenceControllerMethod方法列表
1.190.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.190.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.191. AutoTimeFormatPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/AutoTimeFormatPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.191.1. AutoTimeFormatPreferenceController Field属性列表
1.191.1.1. static final String KEY_AUTO_24_HOUR
private static final String KEY_AUTO_24_HOUR = "auto_24hour";
1.191.2. AutoTimeFormatPreferenceControllerMethod方法列表
1.191.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.191.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.191.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.191.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.191.2.5. is24HourLocale(Locale locale)
boolean is24HourLocale(Locale locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"is24HourLocale", "Locale locale"));
1.191.2.6. static isAutoTimeFormatSelection(Context context)
static boolean isAutoTimeFormatSelection(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAutoTimeFormatSelection", "Context context"));
1.192. AutoTimePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/AutoTimePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.192.1. AutoTimePreferenceController Field属性列表
1.192.1.1. final UpdateTimeAndDateCallback mCallback;
private final UpdateTimeAndDateCallback mCallback;
1.192.1.2. static final String KEY_AUTO_TIME
private static final String KEY_AUTO_TIME = "auto_time";
1.192.2. AutoTimePreferenceControllerMethod方法列表
1.192.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.192.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.192.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.192.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.192.2.5. isEnabled()
public boolean isEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnabled", ""));
1.192.2.6. getEnforcedAdminProperty()
private RestrictedLockUtils.EnforcedAdmin getEnforcedAdminProperty()
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedLockUtils.EnforcedAdmin" ,"getEnforcedAdminProperty", ""));
1.193. AutoTimeZonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/AutoTimeZonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.193.1. AutoTimeZonePreferenceController Field属性列表
1.193.1.1. final boolean mIsFromSUW;
private final boolean mIsFromSUW;
1.193.1.2. final UpdateTimeAndDateCallback mCallback;
private final UpdateTimeAndDateCallback mCallback;
1.193.1.3. static final String KEY_AUTO_TIME_ZONE
private static final String KEY_AUTO_TIME_ZONE = "auto_zone";
1.193.2. AutoTimeZonePreferenceControllerMethod方法列表
1.193.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.193.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.193.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.193.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.193.2.5. isEnabled()
public boolean isEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnabled", ""));
1.194. AvailableMediaBluetoothDeviceUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/AvailableMediaBluetoothDeviceUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.194.1. AvailableMediaBluetoothDeviceUpdater Field属性列表
1.194.1.1. final AudioManager mAudioManager;
private final AudioManager mAudioManager;
1.194.1.2. static final String TAG
private static final String TAG = "AvailableMediaBluetoothDeviceUpdater";
1.194.1.3. static final boolean DBG
private static final boolean DBG = false;
1.194.2. AvailableMediaBluetoothDeviceUpdaterMethod方法列表
1.194.2.1. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.194.2.2. onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile)
public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile"));
1.194.2.3. isFilterMatched(CachedBluetoothDevice cachedDevice)
public boolean isFilterMatched(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFilterMatched", "CachedBluetoothDevice cachedDevice"));
1.194.2.4. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.195. AvailableMediaDeviceGroupController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/AvailableMediaDeviceGroupController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.195.1. AvailableMediaDeviceGroupController Field属性列表
1.195.1.1. PreferenceGroup mPreferenceGroup;
@VisibleForTesting
PreferenceGroup mPreferenceGroup;
1.195.1.2. BluetoothDeviceUpdater mBluetoothDeviceUpdater;
private BluetoothDeviceUpdater mBluetoothDeviceUpdater;
1.195.1.3. final LocalBluetoothManager mLocalBluetoothManager;
private final LocalBluetoothManager mLocalBluetoothManager;
1.195.1.4. static final String KEY
private static final String KEY = "available_device_list";
1.195.2. AvailableMediaDeviceGroupControllerMethod方法列表
1.195.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.195.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.195.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.195.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.195.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.195.2.6. onDeviceAdded(Preference preference)
public void onDeviceAdded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "Preference preference"));
1.195.2.7. onDeviceRemoved(Preference preference)
public void onDeviceRemoved(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceRemoved", "Preference preference"));
1.195.2.8. init(DashboardFragment fragment)
public void init(DashboardFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "DashboardFragment fragment"));
1.195.2.9. setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
public void setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBluetoothDeviceUpdater", "BluetoothDeviceUpdater bluetoothDeviceUpdater"));
1.195.2.10. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.195.2.11. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.195.2.12. onDeviceAdded(CachedBluetoothDevice cachedDevice)
public void onDeviceAdded(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "CachedBluetoothDevice cachedDevice"));
1.195.2.13. onDeviceDeleted(CachedBluetoothDevice cachedDevice)
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceDeleted", "CachedBluetoothDevice cachedDevice"));
1.195.2.14. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.195.2.15. onConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state)
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state"));
1.195.2.16. onActiveDeviceChanged(CachedBluetoothDevice activeDevice,int bluetoothProfile)
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActiveDeviceChanged", "CachedBluetoothDevice activeDevice,int bluetoothProfile"));
1.195.2.17. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.195.2.18. updateTitle()
private void updateTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTitle", ""));
1.196. AvailableVirtualKeyboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/AvailableVirtualKeyboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.196.1. AvailableVirtualKeyboardFragment Field属性列表
1.196.1.1. InputMethodSettingValuesWrapper mInputMethodSettingValues;
private InputMethodSettingValuesWrapper mInputMethodSettingValues;
1.196.1.2. InputMethodManager mImm;
private InputMethodManager mImm;
1.196.1.3. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.196.1.4. final ArrayList mInputMethodPreferenceList
private final ArrayList mInputMethodPreferenceList = new ArrayList<>();
1.196.1.5. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List res = new ArrayList<>();
SearchIndexableResource index = new SearchIndexableResource(context);
index.xmlResId = R.xml.available_virtual_keyboard;
res.add(index);
return res;
}
};
1.196.2. AvailableVirtualKeyboardFragmentMethod方法列表
1.196.2.1. onCreatePreferences(Bundle bundle,String s)
public void onCreatePreferences(Bundle bundle, String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle bundle,String s"));
1.196.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.196.2.3. onSaveInputMethodPreference(final InputMethodPreference pref)
public void onSaveInputMethodPreference(final InputMethodPreference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInputMethodPreference", "final InputMethodPreference pref"));
1.196.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.196.2.5. updateInputMethodPreferenceViews()
private void updateInputMethodPreferenceViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateInputMethodPreferenceViews", ""));
1.196.2.6. static loadDrawable(@NonNull final PackageManager packageManager,@NonNull final String packageName,@DrawableRes final int resId,@NonNull final ApplicationInfo applicationInfo)
private static Drawable loadDrawable(@NonNull final PackageManager packageManager, @NonNull final String packageName, @DrawableRes final int resId, @NonNull final ApplicationInfo applicationInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"loadDrawable", "@NonNull final PackageManager packageManager,@NonNull final String packageName,@DrawableRes final int resId,@NonNull final ApplicationInfo applicationInfo"));
1.196.2.7. static getInputMethodIcon(@NonNull final PackageManager packageManager,@NonNull final InputMethodInfo imi)
private static Drawable getInputMethodIcon(@NonNull final PackageManager packageManager, @NonNull final InputMethodInfo imi)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getInputMethodIcon", "@NonNull final PackageManager packageManager,@NonNull final InputMethodInfo imi"));
1.197. BackgroundActivityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BackgroundActivityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.197.1. BackgroundActivityPreferenceController Field属性列表
1.197.1.1. DevicePolicyManager mDpm;
@VisibleForTesting
DevicePolicyManager mDpm;
1.197.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.197.1.3. InstrumentedPreferenceFragment mFragment;
private InstrumentedPreferenceFragment mFragment;
1.197.1.4. String mTargetPackage;
private String mTargetPackage;
1.197.1.5. PowerWhitelistBackend mPowerWhitelistBackend;
private PowerWhitelistBackend mPowerWhitelistBackend;
1.197.1.6. final AppOpsManager mAppOpsManager;
private final AppOpsManager mAppOpsManager;
1.197.1.7. final UserManager mUserManager;
private final UserManager mUserManager;
1.197.1.8. final int mUid;
private final int mUid;
1.197.1.9. static final String TAG
private static final String TAG = "BgActivityPrefContr";
1.197.1.10. static final String KEY_BACKGROUND_ACTIVITY
@VisibleForTesting
static final String KEY_BACKGROUND_ACTIVITY = "background_activity";
1.197.2. BackgroundActivityPreferenceControllerMethod方法列表
1.197.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.197.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.197.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.197.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.197.2.5. updateSummary(Preference preference)
public void updateSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "Preference preference"));
1.197.2.6. showDialog(boolean restricted)
void showDialog(boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialog", "boolean restricted"));
1.198. BackgroundCheckAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/BackgroundCheckAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.198.1. BackgroundCheckAction Field属性列表
1.198.1.1. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.198.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.198.2. BackgroundCheckActionMethod方法列表
1.198.2.1. handlePositiveAction(Anomaly anomaly,int contextMetricsKey)
public void handlePositiveAction(Anomaly anomaly, int contextMetricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "Anomaly anomaly,int contextMetricsKey"));
1.198.2.2. isActionActive(Anomaly anomaly)
public boolean isActionActive(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActionActive", "Anomaly anomaly"));
1.198.2.3. getActionType()
public int getActionType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getActionType", ""));
1.199. BackgroundCheckSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appops/BackgroundCheckSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.199.1. BackgroundCheckSummary Field属性列表
1.199.1.1. LayoutInflater mInflater;
// layout inflater object used to inflate views
private LayoutInflater mInflater;
1.199.2. BackgroundCheckSummaryMethod方法列表
1.199.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.199.2.2. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.199.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.200. BackgroundDataCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/BackgroundDataCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.200.1. BackgroundDataCondition Field属性列表
1.200.2. BackgroundDataConditionMethod方法列表
1.200.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.200.2.2. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.200.2.3. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.200.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.200.2.5. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.200.2.6. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.200.2.7. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.200.2.8. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.201. BackgroundProcessLimitPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BackgroundProcessLimitPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.201.1. BackgroundProcessLimitPreferenceController Field属性列表
1.201.1.1. final String[] mListValues;
private final String[] mListValues;
1.201.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.201.1.3. static final String APP_PROCESS_LIMIT_KEY
private static final String APP_PROCESS_LIMIT_KEY = "app_process_limit";
1.201.2. BackgroundProcessLimitPreferenceControllerMethod方法列表
1.201.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.201.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.201.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.201.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.201.2.5. updateAppProcessLimitOptions()
private void updateAppProcessLimitOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAppProcessLimitOptions", ""));
1.201.2.6. writeAppProcessLimitOptions(Object newValue)
private void writeAppProcessLimitOptions(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeAppProcessLimitOptions", "Object newValue"));
1.201.2.7. getActivityManagerService()
IActivityManager getActivityManagerService()
methodList.add(new ZMethod(mZAndroidAPPClass,"IActivityManager" ,"getActivityManagerService", ""));
1.202. BackupsEnabledPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/BackupsEnabledPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.202.1. BackupsEnabledPreferenceController Field属性列表
1.202.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.202.1.2. static final String KEY_BACKUPS_ENABLED
private static final String KEY_BACKUPS_ENABLED = "backups_enabled";
1.202.2. BackupsEnabledPreferenceControllerMethod方法列表
1.202.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.203. BackupSettingsActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/BackupSettingsActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.203.1. BackupSettingsActivity Field属性列表
1.203.1.1. FragmentManager mFragmentManager;
private FragmentManager mFragmentManager;
1.203.1.2. static final String TAG
private static final String TAG = "BackupSettingsActivity";
1.203.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
private static final String BACKUP_SEARCH_INDEX_KEY = "backup";
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList<>();
// Add the activity title
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.privacy_settings_title);
data.screenTitle = context.getString(R.string.settings_label);
data.keywords = context.getString(R.string.keywords_backup);
data.intentTargetPackage = context.getPackageName();
data.intentTargetClass = BackupSettingsActivity.class.getName();
data.intentAction = Intent.ACTION_MAIN;
data.key = BACKUP_SEARCH_INDEX_KEY;
result.add(data);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
// TODO: http://b/22388012
if (UserHandle.myUserId() != UserHandle.USER_SYSTEM) {
if (Log.isLoggable(TAG, Log.DEBUG)) {
Log.d(TAG, "Not a system user, not indexing the screen");
}
keys.add(BACKUP_SEARCH_INDEX_KEY);
}
return keys;
}
};
1.203.2. BackupSettingsActivityMethod方法列表
1.203.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.203.2.2. setFragmentManager(FragmentManager fragmentManager)
void setFragmentManager(FragmentManager fragmentManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFragmentManager", "FragmentManager fragmentManager"));
1.204. BackupSettingsActivityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/BackupSettingsActivityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.204.1. BackupSettingsActivityPreferenceController Field属性列表
1.204.1.1. final UserManager mUm;
private final UserManager mUm;
1.204.1.2. final BackupManager mBackupManager;
private final BackupManager mBackupManager;
1.204.1.3. static final String TAG
private static final String TAG = "BackupSettingActivityPC";
1.204.1.4. static final String KEY_BACKUP_SETTINGS
private static final String KEY_BACKUP_SETTINGS = "backup_settings";
1.204.2. BackupSettingsActivityPreferenceControllerMethod方法列表
1.204.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.204.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.205. BackupSettingsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/BackupSettingsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.205.1. BackupSettingsFragment Field属性列表
1.205.1.1. static final String TAG
private static final String TAG = "BackupSettings";
1.205.1.2. static final // therefore leaving this index provider empty. public Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
// The intention is to index {@link BackupSettingsActivity} instead of the fragments,
// therefore leaving this index provider empty.
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
};
1.205.2. BackupSettingsFragmentMethod方法列表
1.205.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.205.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.205.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.205.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.205.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.206. BackupSettingsHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/BackupSettingsHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.206.1. BackupSettingsHelper Field属性列表
1.206.1.1. IBackupManager mBackupManager
private IBackupManager mBackupManager = IBackupManager.Stub.asInterface(ServiceManager.getService(Context.BACKUP_SERVICE));
1.206.1.2. Context mContext;
private Context mContext;
1.206.1.3. static final String TAG
private static final String TAG = "BackupSettingsHelper";
1.206.2. BackupSettingsHelperMethod方法列表
1.206.2.1. getIntentForBackupSettings()
public Intent getIntentForBackupSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentForBackupSettings", ""));
1.206.2.2. getLabelForBackupSettings()
public String getLabelForBackupSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLabelForBackupSettings", ""));
1.206.2.3. getSummaryForBackupSettings()
public String getSummaryForBackupSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummaryForBackupSettings", ""));
1.206.2.4. isBackupProvidedByManufacturer()
public boolean isBackupProvidedByManufacturer()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBackupProvidedByManufacturer", ""));
1.206.2.5. getLabelProvidedByManufacturer()
public String getLabelProvidedByManufacturer()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLabelProvidedByManufacturer", ""));
1.206.2.6. getIntentProvidedByManufacturer()
public Intent getIntentProvidedByManufacturer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentProvidedByManufacturer", ""));
1.206.2.7. getIntentForBackupSettingsFromTransport()
Intent getIntentForBackupSettingsFromTransport()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentForBackupSettingsFromTransport", ""));
1.206.2.8. getIntentForDefaultBackupSettings()
private Intent getIntentForDefaultBackupSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentForDefaultBackupSettings", ""));
1.206.2.9. isIntentProvidedByTransport()
boolean isIntentProvidedByTransport()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIntentProvidedByTransport", ""));
1.206.2.10. getIntentFromBackupTransport()
private Intent getIntentFromBackupTransport()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentFromBackupTransport", ""));
1.206.2.11. isBackupServiceActive()
private boolean isBackupServiceActive()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBackupServiceActive", ""));
1.206.2.12. getLabelFromBackupTransport()
String getLabelFromBackupTransport()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLabelFromBackupTransport", ""));
1.206.2.13. getSummaryFromBackupTransport()
String getSummaryFromBackupTransport()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummaryFromBackupTransport", ""));
1.207. BackupSettingsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/BackupSettingsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.207.1. BackupSettingsPreferenceController Field属性列表
1.207.1.1. Intent mBackupSettingsIntent;
private Intent mBackupSettingsIntent;
1.207.1.2. String mBackupSettingsTitle;
private String mBackupSettingsTitle;
1.207.1.3. String mBackupSettingsSummary;
private String mBackupSettingsSummary;
1.207.1.4. Intent mManufacturerIntent;
private Intent mManufacturerIntent;
1.207.1.5. String mManufacturerLabel;
private String mManufacturerLabel;
1.207.1.6. static final String BACKUP_SETTINGS
private static final String BACKUP_SETTINGS = "backup_settings";
1.207.1.7. static final String MANUFACTURER_SETTINGS
private static final String MANUFACTURER_SETTINGS = "manufacturer_backup";
1.207.2. BackupSettingsPreferenceControllerMethod方法列表
1.207.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.207.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.207.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.208. BadgePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/BadgePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.208.1. BadgePreferenceController Field属性列表
1.208.1.1. static final String TAG
private static final String TAG = "BadgePrefContr";
1.208.1.2. static final String KEY_BADGE
private static final String KEY_BADGE = "badge";
1.208.1.3. static final int SYSTEM_WIDE_ON
private static final int SYSTEM_WIDE_ON = 1;
1.208.1.4. static final int SYSTEM_WIDE_OFF
private static final int SYSTEM_WIDE_OFF = 0;
1.208.2. BadgePreferenceControllerMethod方法列表
1.208.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.208.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.208.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.208.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.209. BadgingNotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/BadgingNotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.209.1. BadgingNotificationPreferenceController Field属性列表
1.209.1.1. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.209.1.2. static final String TAG
private static final String TAG = "BadgeNotifPrefContr";
1.209.1.3. static final int ON
@VisibleForTesting
static final int ON = 1;
1.209.1.4. static final int OFF
@VisibleForTesting
static final int OFF = 0;
1.209.2. BadgingNotificationPreferenceControllerMethod方法列表
1.209.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.209.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.209.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.209.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.209.2.5. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.209.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.209.2.7. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.209.2.8. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.210. BandMode.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/BandMode.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.210.1. BandMode Field属性列表
1.210.1.1. ListView mBandList;
private ListView mBandList;
1.210.1.2. ArrayAdapter mBandListAdapter;
private ArrayAdapter mBandListAdapter;
1.210.1.3. BandListItem mTargetBand
private BandListItem mTargetBand = null;
1.210.1.4. DialogInterface mProgressPanel;
private DialogInterface mProgressPanel;
1.210.1.5. Phone mPhone
private Phone mPhone = null;
1.210.1.6. AdapterView.OnItemClickListener mBandSelectionHandler
private AdapterView.OnItemClickListener mBandSelectionHandler = new AdapterView.OnItemClickListener() {
public void onItemClick(AdapterView parent, View v, int position, long id) {
getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_ON);
mTargetBand = (BandListItem) parent.getAdapter().getItem(position);
if (DBG)
log("Select band : " + mTargetBand.toString());
Message msg = mHandler.obtainMessage(EVENT_BAND_SELECTION_DONE);
mPhone.setBandMode(mTargetBand.getBand(), msg);
}
};
1.210.1.7. Handler mHandler
private Handler mHandler = new Handler() {
public void handleMessage(Message msg) {
AsyncResult ar;
switch(msg.what) {
case EVENT_BAND_SCAN_COMPLETED:
ar = (AsyncResult) msg.obj;
bandListLoaded(ar);
break;
case EVENT_BAND_SELECTION_DONE:
ar = (AsyncResult) msg.obj;
getWindow().setFeatureInt(Window.FEATURE_INDETERMINATE_PROGRESS, Window.PROGRESS_VISIBILITY_OFF);
if (!isFinishing()) {
displayBandSelectionResult(ar.exception);
}
break;
}
}
};
1.210.1.8. static final String LOG_TAG
private static final String LOG_TAG = "phone";
1.210.1.9. static final boolean DBG
private static final boolean DBG = false;
1.210.1.10. static final int EVENT_BAND_SCAN_COMPLETED
private static final int EVENT_BAND_SCAN_COMPLETED = 100;
1.210.1.11. static final int EVENT_BAND_SELECTION_DONE
private static final int EVENT_BAND_SELECTION_DONE = 200;
1.210.1.12. static final String[] BAND_NAMES
//Directly maps to RIL_RadioBandMode from ril.h
private static final String[] BAND_NAMES = new String[] { "Automatic", "Europe", "United States", "Japan", "Australia", "Australia 2", "Cellular 800", "PCS", "Class 3 (JTACS)", "Class 4 (Korea-PCS)", "Class 5", "Class 6 (IMT2000)", "Class 7 (700Mhz-Upper)", "Class 8 (1800Mhz-Upper)", "Class 9 (900Mhz)", "Class 10 (800Mhz-Secondary)", "Class 11 (Europe PAMR 400Mhz)", "Class 15 (US-AWS)", "Class 16 (US-2500Mhz)" };
1.210.2. BandModeMethod方法列表
1.210.2.1. onCreate(Bundle icicle)
protected void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.210.2.2. loadBandList()
private void loadBandList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadBandList", ""));
1.210.2.3. bandListLoaded(AsyncResult result)
private void bandListLoaded(AsyncResult result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bandListLoaded", "AsyncResult result"));
1.210.2.4. displayBandSelectionResult(Throwable ex)
private void displayBandSelectionResult(Throwable ex)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayBandSelectionResult", "Throwable ex"));
1.210.2.5. clearList()
private void clearList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearList", ""));
1.210.2.6. log(String msg)
private void log(String msg)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "String msg"));
1.211. BasebandVersionDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/BasebandVersionDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.211.1. BasebandVersionDialogController Field属性列表
1.211.1.1. final FirmwareVersionDialogFragment mDialog;
private final FirmwareVersionDialogFragment mDialog;
1.211.1.2. static final int BASEBAND_VERSION_LABEL_ID
@VisibleForTesting
static final int BASEBAND_VERSION_LABEL_ID = R.id.baseband_version_label;
1.211.1.3. static final int BASEBAND_VERSION_VALUE_ID
@VisibleForTesting
static final int BASEBAND_VERSION_VALUE_ID = R.id.baseband_version_value;
1.211.1.4. static final String BASEBAND_PROPERTY
@VisibleForTesting
static final String BASEBAND_PROPERTY = "gsm.version.baseband";
1.211.2. BasebandVersionDialogControllerMethod方法列表
1.211.2.1. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.212. BaseNfcEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/BaseNfcEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.212.1. BaseNfcEnabler Field属性列表
1.212.1.1. final Context mContext;
private final Context mContext;
1.212.1.2. final NfcAdapter mNfcAdapter;
protected final NfcAdapter mNfcAdapter;
1.212.1.3. final IntentFilter mIntentFilter;
private final IntentFilter mIntentFilter;
1.212.1.4. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (NfcAdapter.ACTION_ADAPTER_STATE_CHANGED.equals(action)) {
handleNfcStateChanged(intent.getIntExtra(NfcAdapter.EXTRA_ADAPTER_STATE, NfcAdapter.STATE_OFF));
}
}
};
1.212.2. BaseNfcEnablerMethod方法列表
1.212.2.1. resume()
public void resume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", ""));
1.212.2.2. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.212.2.3. isNfcAvailable()
public boolean isNfcAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNfcAvailable", ""));
1.212.2.4. abstract handleNfcStateChanged(int newState)
protected abstract void handleNfcStateChanged(int newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleNfcStateChanged", "int newState"));
1.213. BasePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/BasePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.213.1. BasePreferenceController Field属性列表
1.213.1.1. final String mPreferenceKey;
protected final String mPreferenceKey;
1.213.1.2. static final String TAG
private static final String TAG = "SettingsPrefController";
1.213.1.3. static final int AVAILABLE
/**
* The setting is available.
*/
public static final int AVAILABLE = 0;
1.213.1.4. static final int CONDITIONALLY_UNAVAILABLE
/**
* A generic catch for settings which are currently unavailable, but may become available in
* the future. You should use {@link #DISABLED_FOR_USER} or {@link #DISABLED_DEPENDENT_SETTING}
* if they describe the condition more accurately.
*/
public static final int CONDITIONALLY_UNAVAILABLE = 1;
1.213.1.5. static final int UNSUPPORTED_ON_DEVICE
/** * The setting is not, and will not supported by this device. *
* There is no guarantee that the setting page exists, and any links to the Setting should take * you to the home page of Settings. */ public static final int UNSUPPORTED_ON_DEVICE = 2;
1.213.1.6. static final int DISABLED_FOR_USER
/** * The setting cannot be changed by the current user. *
* Links to the Setting should take you to the page of the Setting, even if it cannot be * changed. */ public static final int DISABLED_FOR_USER = 3;
1.213.1.7. static final int DISABLED_DEPENDENT_SETTING
/** * The setting has a dependency in the Settings App which is currently blocking access. ** It must be possible for the Setting to be enabled by changing the configuration of the device * settings. That is, a setting that cannot be changed because of the state of another setting. * This should not be used for a setting that would be hidden from the UI entirely. *
* Correct use: Intensity of night display should be {@link #DISABLED_DEPENDENT_SETTING} when * night display is off. * Incorrect use: Mobile Data is {@link #DISABLED_DEPENDENT_SETTING} when there is no * data-enabled sim. *
* Links to the Setting should take you to the page of the Setting, even if it cannot be * changed. */ public static final int DISABLED_DEPENDENT_SETTING = 4;
1.213.2. BasePreferenceControllerMethod方法列表
1.213.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.213.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.213.2.3. getSliceType()
public int getSliceType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliceType", ""));
1.213.2.4. getIntentFilter()
public IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.213.2.5. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.213.2.6. hasAsyncUpdate()
public boolean hasAsyncUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAsyncUpdate", ""));
1.213.2.7. updateNonIndexableKeys(List keys)
public void updateNonIndexableKeys(List keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNonIndexableKeys", "List keys"));
1.213.2.8. updateRawDataToIndex(List rawData)
public void updateRawDataToIndex(List rawData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRawDataToIndex", "List rawData"));
1.213.2.9. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.213.2.10. final isAvailable()
public final boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.213.2.11. final isSupported()
public final boolean isSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSupported", ""));
1.213.2.12. abstract getAvailabilityStatus()
public abstract int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.213.2.13. static createInstance(Context context,String controllerName,String key)
public static BasePreferenceController createInstance(Context context, String controllerName, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"BasePreferenceController" ,"createInstance", "Context context,String controllerName,String key"));
1.213.2.14. static createInstance(Context context,String controllerName)
public static BasePreferenceController createInstance(Context context, String controllerName)
methodList.add(new ZMethod(mZAndroidAPPClass,"BasePreferenceController" ,"createInstance", "Context context,String controllerName"));
1.214. BaseSearchIndexProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/BaseSearchIndexProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.214.1. BaseSearchIndexProvider Field属性列表
1.214.1.1. static final String TAG
private static final String TAG = "BaseSearchIndex";
1.214.2. BaseSearchIndexProviderMethod方法列表
1.214.2.1. getXmlResourcesToIndex(Context context,boolean enabled)
public List getXmlResourcesToIndex(Context context, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getXmlResourcesToIndex", "Context context,boolean enabled"));
1.214.2.2. getRawDataToIndex(Context context,boolean enabled)
public List getRawDataToIndex(Context context, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getRawDataToIndex", "Context context,boolean enabled"));
1.214.2.3. getNonIndexableKeys(Context context)
public List getNonIndexableKeys(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexableKeys", "Context context"));
1.214.2.4. getPreferenceControllers(Context context)
public List getPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getPreferenceControllers", "Context context"));
1.214.2.5. createPreferenceControllers(Context context)
public List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.214.2.6. isPageSearchEnabled(Context context)
protected boolean isPageSearchEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPageSearchEnabled", "Context context"));
1.214.2.7. getNonIndexableKeysFromXml(Context context)
private List getNonIndexableKeysFromXml(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexableKeysFromXml", "Context context"));
1.214.2.8. getNonIndexableKeysFromXml(Context context,@XmlRes int xmlResId)
public List getNonIndexableKeysFromXml(Context context, @XmlRes int xmlResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexableKeysFromXml", "Context context,@XmlRes int xmlResId"));
1.215. BaseTimeZoneAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/BaseTimeZoneAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.215.1. BaseTimeZoneAdapter Field属性列表
1.215.1.1. List mItems;
private List mItems;
1.215.1.2. ArrayFilter mFilter;
private ArrayFilter mFilter;
1.215.1.3. final List mOriginalItems;
private final List mOriginalItems;
1.215.1.4. final OnListItemClickListener mOnListItemClickListener;
private final OnListItemClickListener mOnListItemClickListener;
1.215.1.5. final Locale mLocale;
private final Locale mLocale;
1.215.1.6. final boolean mShowItemSummary;
private final boolean mShowItemSummary;
1.215.1.7. final boolean mShowHeader;
private final boolean mShowHeader;
1.215.1.8. final CharSequence mHeaderText;
private final CharSequence mHeaderText;
1.215.1.9. static final int TYPE_HEADER
@VisibleForTesting
static final int TYPE_HEADER = 0;
1.215.1.10. static final int TYPE_ITEM
@VisibleForTesting
static final int TYPE_ITEM = 1;
1.215.2. BaseTimeZoneAdapterMethod方法列表
1.215.2.1. onCreateViewHolder(@NonNull ViewGroup parent,int viewType)
public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"RecyclerView.ViewHolder" ,"onCreateViewHolder", "@NonNull ViewGroup parent,int viewType"));
1.215.2.2. onBindViewHolder(@NonNull RecyclerView.ViewHolder holder,int position)
public void onBindViewHolder(@NonNull RecyclerView.ViewHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "@NonNull RecyclerView.ViewHolder holder,int position"));
1.215.2.3. getItemId(int position)
public long getItemId(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getItemId", "int position"));
1.215.2.4. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.215.2.5. getItemViewType(int position)
public int getItemViewType(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemViewType", "int position"));
1.215.2.6. getHeaderCount()
private int getHeaderCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHeaderCount", ""));
1.215.2.7. isPositionHeader(int position)
private boolean isPositionHeader(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPositionHeader", "int position"));
1.215.2.8. getFilter()
public ArrayFilter getFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayFilter" ,"getFilter", ""));
1.215.2.9. getDataItem(int position)
public T getDataItem(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"getDataItem", "int position"));
1.215.2.10. final setHasStableIds(boolean hasStableIds)
public final void setHasStableIds(boolean hasStableIds)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHasStableIds", "boolean hasStableIds"));
1.216. BaseTimeZoneInfoPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/BaseTimeZoneInfoPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.216.1. BaseTimeZoneInfoPicker Field属性列表
1.216.1.1. ZoneAdapter mAdapter;
protected ZoneAdapter mAdapter;
1.216.1.2. static final String TAG
protected static final String TAG = "RegionZoneSearchPicker";
1.216.2. BaseTimeZoneInfoPickerMethod方法列表
1.216.2.1. createAdapter(TimeZoneData timeZoneData)
protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"BaseTimeZoneAdapter" ,"createAdapter", "TimeZoneData timeZoneData"));
1.216.2.2. getHeaderText()
protected CharSequence getHeaderText()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getHeaderText", ""));
1.216.2.3. onListItemClick(TimeZoneInfoItem item)
private void onListItemClick(TimeZoneInfoItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "TimeZoneInfoItem item"));
1.216.2.4. prepareResultData(TimeZoneInfo selectedTimeZoneInfo)
protected Intent prepareResultData(TimeZoneInfo selectedTimeZoneInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"prepareResultData", "TimeZoneInfo selectedTimeZoneInfo"));
1.216.2.5. abstract getAllTimeZoneInfos(TimeZoneData timeZoneData)
public abstract List getAllTimeZoneInfos(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAllTimeZoneInfos", "TimeZoneData timeZoneData"));
1.217. BaseTimeZonePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/BaseTimeZonePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.217.1. BaseTimeZonePicker Field属性列表
1.217.1.1. Locale mLocale;
protected Locale mLocale;
1.217.1.2. BaseTimeZoneAdapter mAdapter;
private BaseTimeZoneAdapter mAdapter;
1.217.1.3. RecyclerView mRecyclerView;
private RecyclerView mRecyclerView;
1.217.1.4. TimeZoneData mTimeZoneData;
private TimeZoneData mTimeZoneData;
1.217.1.5. SearchView mSearchView;
private SearchView mSearchView;
1.217.1.6. final int mTitleResId;
private final int mTitleResId;
1.217.1.7. final int mSearchHintResId;
private final int mSearchHintResId;
1.217.1.8. final boolean mSearchEnabled;
private final boolean mSearchEnabled;
1.217.1.9. final boolean mDefaultExpandSearch;
private final boolean mDefaultExpandSearch;
1.217.1.10. static final String EXTRA_RESULT_REGION_ID
public static final String EXTRA_RESULT_REGION_ID = "com.android.settings.datetime.timezone.result_region_id";
1.217.1.11. static final String EXTRA_RESULT_TIME_ZONE_ID
public static final String EXTRA_RESULT_TIME_ZONE_ID = "com.android.settings.datetime.timezone.result_time_zone_id";
1.217.2. BaseTimeZonePickerMethod方法列表
1.217.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.217.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.217.2.3. onTimeZoneDataReady(TimeZoneData timeZoneData)
public void onTimeZoneDataReady(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTimeZoneDataReady", "TimeZoneData timeZoneData"));
1.217.2.4. getLocale()
protected Locale getLocale()
methodList.add(new ZMethod(mZAndroidAPPClass,"Locale" ,"getLocale", ""));
1.217.2.5. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.217.2.6. onQueryTextSubmit(String query)
public boolean onQueryTextSubmit(String query)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onQueryTextSubmit", "String query"));
1.217.2.7. onQueryTextChange(String newText)
public boolean onQueryTextChange(String newText)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onQueryTextChange", "String newText"));
1.217.2.8. abstract createAdapter(TimeZoneData timeZoneData)
protected abstract BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"BaseTimeZoneAdapter" ,"createAdapter", "TimeZoneData timeZoneData"));
1.218. BaseTimeZonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/BaseTimeZonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.218.1. BaseTimeZonePreferenceController Field属性列表
1.218.1.1. OnPreferenceClickListener mOnClickListener;
private OnPreferenceClickListener mOnClickListener;
1.218.2. BaseTimeZonePreferenceControllerMethod方法列表
1.218.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.218.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.218.2.3. setOnClickListener(OnPreferenceClickListener listener)
public void setOnClickListener(OnPreferenceClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnClickListener", "OnPreferenceClickListener listener"));
1.219. BatteryActiveView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryActiveView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.219.1. BatteryActiveView Field属性列表
1.219.1.1. BatteryActiveProvider mProvider;
private BatteryActiveProvider mProvider;
1.219.1.2. final Paint mPaint
private final Paint mPaint = new Paint();
1.219.2. BatteryActiveViewMethod方法列表
1.219.2.1. setProvider(BatteryActiveProvider provider)
public void setProvider(BatteryActiveProvider provider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProvider", "BatteryActiveProvider provider"));
1.219.2.2. onSizeChanged(int w,int h,int oldw,int oldh)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSizeChanged", "int w,int h,int oldw,int oldh"));
1.219.2.3. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.219.2.4. drawColor(Canvas canvas,int start,int end,int color,float period)
private void drawColor(Canvas canvas, int start, int end, int color, float period)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawColor", "Canvas canvas,int start,int end,int color,float period"));
1.220. BatteryAppListPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryAppListPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.220.1. BatteryAppListPreferenceController Field属性列表
1.220.1.1. PreferenceGroup mAppListGroup;
@VisibleForTesting
PreferenceGroup mAppListGroup;
1.220.1.2. BatteryStatsHelper mBatteryStatsHelper;
private BatteryStatsHelper mBatteryStatsHelper;
1.220.1.3. ArrayMap mPreferenceCache;
private ArrayMap mPreferenceCache;
1.220.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.220.1.5. UserManager mUserManager;
private UserManager mUserManager;
1.220.1.6. SettingsActivity mActivity;
private SettingsActivity mActivity;
1.220.1.7. InstrumentedPreferenceFragment mFragment;
private InstrumentedPreferenceFragment mFragment;
1.220.1.8. Context mPrefContext;
private Context mPrefContext;
1.220.1.9. SparseArray> mAnomalySparseArray;
SparseArray> mAnomalySparseArray;
1.220.1.10. Handler mHandler
private Handler mHandler = new Handler(Looper.getMainLooper()) {
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case BatteryEntry.MSG_UPDATE_NAME_ICON:
BatteryEntry entry = (BatteryEntry) msg.obj;
PowerGaugePreference pgp = (PowerGaugePreference) mAppListGroup.findPreference(Integer.toString(entry.sipper.uidObj.getUid()));
if (pgp != null) {
final int userId = UserHandle.getUserId(entry.sipper.getUid());
final UserHandle userHandle = new UserHandle(userId);
pgp.setIcon(mUserManager.getBadgedIconForUser(entry.getIcon(), userHandle));
pgp.setTitle(entry.name);
if (entry.sipper.drainType == DrainType.APP) {
pgp.setContentDescription(entry.name);
}
}
break;
case BatteryEntry.MSG_REPORT_FULLY_DRAWN:
Activity activity = mActivity;
if (activity != null) {
activity.reportFullyDrawn();
}
break;
}
super.handleMessage(msg);
}
};
1.220.1.11. final String mPreferenceKey;
private final String mPreferenceKey;
1.220.1.12. static final boolean USE_FAKE_DATA
@VisibleForTesting
static final boolean USE_FAKE_DATA = false;
1.220.1.13. static final int MAX_ITEMS_TO_LIST
private static final int MAX_ITEMS_TO_LIST = USE_FAKE_DATA ? 30 : 10;
1.220.1.14. static final int MIN_AVERAGE_POWER_THRESHOLD_MILLI_AMP
private static final int MIN_AVERAGE_POWER_THRESHOLD_MILLI_AMP = 10;
1.220.1.15. static final int STATS_TYPE
private static final int STATS_TYPE = BatteryStats.STATS_SINCE_CHARGED;
1.220.2. BatteryAppListPreferenceControllerMethod方法列表
1.220.2.1. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.220.2.2. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.220.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.220.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.220.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.220.2.6. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.220.2.7. refreshAnomalyIcon(final SparseArray> anomalySparseArray)
public void refreshAnomalyIcon(final SparseArray> anomalySparseArray)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshAnomalyIcon", "final SparseArray> anomalySparseArray"));
1.220.2.8. refreshAppListGroup(BatteryStatsHelper statsHelper,boolean showAllApps)
public void refreshAppListGroup(BatteryStatsHelper statsHelper, boolean showAllApps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshAppListGroup", "BatteryStatsHelper statsHelper,boolean showAllApps"));
1.220.2.9. getCoalescedUsageList(final List sippers)
private List getCoalescedUsageList(final List sippers)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCoalescedUsageList", "final List sippers"));
1.220.2.10. setUsageSummary(Preference preference,BatterySipper sipper)
void setUsageSummary(Preference preference, BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUsageSummary", "Preference preference,BatterySipper sipper"));
1.220.2.11. shouldHideSipper(BatterySipper sipper)
boolean shouldHideSipper(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideSipper", "BatterySipper sipper"));
1.220.2.12. extractKeyFromSipper(BatterySipper sipper)
String extractKeyFromSipper(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"extractKeyFromSipper", "BatterySipper sipper"));
1.220.2.13. extractKeyFromUid(int uid)
String extractKeyFromUid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"extractKeyFromUid", "int uid"));
1.220.2.14. cacheRemoveAllPrefs(PreferenceGroup group)
private void cacheRemoveAllPrefs(PreferenceGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cacheRemoveAllPrefs", "PreferenceGroup group"));
1.220.2.15. getCachedPreference(String key)
private Preference getCachedPreference(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"getCachedPreference", "String key"));
1.220.2.16. removeCachedPrefs(PreferenceGroup group)
private void removeCachedPrefs(PreferenceGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeCachedPrefs", "PreferenceGroup group"));
1.220.2.17. getCachedCount()
private int getCachedCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCachedCount", ""));
1.220.2.18. addNotAvailableMessage()
private void addNotAvailableMessage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addNotAvailableMessage", ""));
1.220.2.19. static isSharedGid(int uid)
private static boolean isSharedGid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSharedGid", "int uid"));
1.220.2.20. static isSystemUid(int uid)
private static boolean isSystemUid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemUid", "int uid"));
1.220.2.21. static getFakeStats()
private static List getFakeStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getFakeStats", ""));
1.221. BatteryBroadcastReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryBroadcastReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.221.1. BatteryBroadcastReceiver Field属性列表
1.221.1.1. String mBatteryLevel;
@VisibleForTesting
String mBatteryLevel;
1.221.1.2. String mBatteryStatus;
@VisibleForTesting
String mBatteryStatus;
1.221.1.3. OnBatteryChangedListener mBatteryListener;
private OnBatteryChangedListener mBatteryListener;
1.221.1.4. Context mContext;
private Context mContext;
1.221.2. BatteryBroadcastReceiverMethod方法列表
1.221.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.221.2.2. setBatteryChangedListener(OnBatteryChangedListener lsn)
public void setBatteryChangedListener(OnBatteryChangedListener lsn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBatteryChangedListener", "OnBatteryChangedListener lsn"));
1.221.2.3. register()
public void register()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", ""));
1.221.2.4. unRegister()
public void unRegister()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unRegister", ""));
1.221.2.5. updateBatteryStatus(Intent intent,boolean forceUpdate)
private void updateBatteryStatus(Intent intent, boolean forceUpdate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBatteryStatus", "Intent intent,boolean forceUpdate"));
1.222. BatteryCellParser.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryCellParser.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.222.1. BatteryCellParser Field属性列表
1.222.1.1. int mLastValue;
private int mLastValue;
1.222.1.2. long mLength;
private long mLength;
1.222.1.3. long mLastTime;
private long mLastTime;
1.222.1.4. final SparseIntArray mData
private final SparseIntArray mData = new SparseIntArray();
1.222.2. BatteryCellParserMethod方法列表
1.222.2.1. getValue(HistoryItem rec)
protected int getValue(HistoryItem rec)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getValue", "HistoryItem rec"));
1.222.2.2. onParsingStarted(long startTime,long endTime)
public void onParsingStarted(long startTime, long endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingStarted", "long startTime,long endTime"));
1.222.2.3. onDataPoint(long time,HistoryItem record)
public void onDataPoint(long time, HistoryItem record)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataPoint", "long time,HistoryItem record"));
1.222.2.4. onDataGap()
public void onDataGap()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataGap", ""));
1.222.2.5. onParsingDone()
public void onParsingDone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingDone", ""));
1.222.2.6. getPeriod()
public long getPeriod()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getPeriod", ""));
1.222.2.7. hasData()
public boolean hasData()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasData", ""));
1.222.2.8. getColorArray()
public SparseIntArray getColorArray()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseIntArray" ,"getColorArray", ""));
1.222.2.9. getColor(int i)
private int getColor(int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getColor", "int i"));
1.223. BatteryDatabaseManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryDatabaseManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.223.1. BatteryDatabaseManager Field属性列表
1.223.1.1. AnomalyDatabaseHelper mDatabaseHelper;
private AnomalyDatabaseHelper mDatabaseHelper;
1.223.1.2. static BatteryDatabaseManager sSingleton;
private static BatteryDatabaseManager sSingleton;
1.223.2. BatteryDatabaseManagerMethod方法列表
1.223.2.1. sync insertAnomaly(int uid,String packageName,int type,int anomalyState,long timestampMs)
public synchronized boolean insertAnomaly(int uid, String packageName, int type, int anomalyState, long timestampMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"insertAnomaly", "int uid,String packageName,int type,int anomalyState,long timestampMs"));
1.223.2.2. sync queryAllAnomalies(long timestampMsAfter,int state)
public synchronized List queryAllAnomalies(long timestampMsAfter, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"queryAllAnomalies", "long timestampMsAfter,int state"));
1.223.2.3. sync deleteAllAnomaliesBeforeTimeStamp(long timestampMs)
public synchronized void deleteAllAnomaliesBeforeTimeStamp(long timestampMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"deleteAllAnomaliesBeforeTimeStamp", "long timestampMs"));
1.223.2.4. sync updateAnomalies(List appInfos,int state)
public synchronized void updateAnomalies(List appInfos, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnomalies", "List appInfos,int state"));
1.223.2.5. static getInstance(Context context)
public static BatteryDatabaseManager getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryDatabaseManager" ,"getInstance", "Context context"));
1.224. BatteryEntry.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryEntry.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.224.1. BatteryEntry Field属性列表
1.224.1.1. String name;
public String name;
1.224.1.2. Drawable icon;
public Drawable icon;
1.224.1.3. int iconId;
// For passing to the detail screen.
public int iconId;
1.224.1.4. String defaultPackageName;
public String defaultPackageName;
1.224.1.5. final Context context;
public final Context context;
1.224.1.6. final BatterySipper sipper;
public final BatterySipper sipper;
1.224.1.7. static Handler sHandler;
static Handler sHandler;
1.224.1.8. static Locale sCurrentLocale
static Locale sCurrentLocale = null;
1.224.1.9. static NameAndIconLoader mRequestThread;
private static NameAndIconLoader mRequestThread;
1.224.1.10. static final int MSG_UPDATE_NAME_ICON
public static final int MSG_UPDATE_NAME_ICON = 1;
1.224.1.11. static final int MSG_REPORT_FULLY_DRAWN
public static final int MSG_REPORT_FULLY_DRAWN = 2;
1.224.1.12. static final String TAG
private static final String TAG = "BatteryEntry";
1.224.1.13. static final String PACKAGE_SYSTEM
private static final String PACKAGE_SYSTEM = "android";
1.224.1.14. static final HashMap sUidCache
static final HashMap sUidCache = new HashMap();
1.224.1.15. static final ArrayList mRequestQueue
static final ArrayList mRequestQueue = new ArrayList();
1.224.2. BatteryEntryMethod方法列表
1.224.2.1. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.224.2.2. getLabel()
public String getLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLabel", ""));
1.224.2.3. getQuickNameIconForUid(final int uid)
void getQuickNameIconForUid(final int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getQuickNameIconForUid", "final int uid"));
1.224.2.4. loadNameAndIcon()
public void loadNameAndIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadNameAndIcon", ""));
1.224.2.5. extractPackagesFromSipper(BatterySipper sipper)
String[] extractPackagesFromSipper(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"extractPackagesFromSipper", "BatterySipper sipper"));
1.224.2.6. static startRequestQueue()
public static void startRequestQueue()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startRequestQueue", ""));
1.224.2.7. static stopRequestQueue()
public static void stopRequestQueue()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopRequestQueue", ""));
1.224.2.8. static clearUidCache()
public static void clearUidCache()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearUidCache", ""));
1.225. BatteryFlagParser.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryFlagParser.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.225.1. BatteryFlagParser Field属性列表
1.225.1.1. boolean mLastSet;
private boolean mLastSet;
1.225.1.2. long mLength;
private long mLength;
1.225.1.3. long mLastTime;
private long mLastTime;
1.225.1.4. final SparseBooleanArray mData
private final SparseBooleanArray mData = new SparseBooleanArray();
1.225.1.5. final int mFlag;
private final int mFlag;
1.225.1.6. final boolean mState2;
private final boolean mState2;
1.225.1.7. final int mAccentColor;
private final int mAccentColor;
1.225.2. BatteryFlagParserMethod方法列表
1.225.2.1. isSet(HistoryItem record)
protected boolean isSet(HistoryItem record)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSet", "HistoryItem record"));
1.225.2.2. onParsingStarted(long startTime,long endTime)
public void onParsingStarted(long startTime, long endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingStarted", "long startTime,long endTime"));
1.225.2.3. onDataPoint(long time,HistoryItem record)
public void onDataPoint(long time, HistoryItem record)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataPoint", "long time,HistoryItem record"));
1.225.2.4. onDataGap()
public void onDataGap()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataGap", ""));
1.225.2.5. onParsingDone()
public void onParsingDone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingDone", ""));
1.225.2.6. getPeriod()
public long getPeriod()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getPeriod", ""));
1.225.2.7. hasData()
public boolean hasData()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasData", ""));
1.225.2.8. getColorArray()
public SparseIntArray getColorArray()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseIntArray" ,"getColorArray", ""));
1.225.2.9. getColor(boolean b)
private int getColor(boolean b)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getColor", "boolean b"));
1.226. BatteryHeaderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHeaderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.226.1. BatteryHeaderPreferenceController Field属性列表
1.226.1.1. BatteryMeterView mBatteryMeterView;
@VisibleForTesting
BatteryMeterView mBatteryMeterView;
1.226.1.2. TextView mBatteryPercentText;
@VisibleForTesting
TextView mBatteryPercentText;
1.226.1.3. TextView mSummary1;
@VisibleForTesting
TextView mSummary1;
1.226.1.4. TextView mSummary2;
@VisibleForTesting
TextView mSummary2;
1.226.1.5. LayoutPreference mBatteryLayoutPref;
private LayoutPreference mBatteryLayoutPref;
1.226.1.6. final Activity mActivity;
private final Activity mActivity;
1.226.1.7. final PreferenceFragment mHost;
private final PreferenceFragment mHost;
1.226.1.8. final Lifecycle mLifecycle;
private final Lifecycle mLifecycle;
1.226.1.9. static final String KEY_BATTERY_HEADER
@VisibleForTesting
static final String KEY_BATTERY_HEADER = "battery_header";
1.226.2. BatteryHeaderPreferenceControllerMethod方法列表
1.226.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.226.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.226.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.226.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.226.2.5. updateHeaderPreference(BatteryInfo info)
public void updateHeaderPreference(BatteryInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHeaderPreference", "BatteryInfo info"));
1.226.2.6. quickUpdateHeaderPreference()
public void quickUpdateHeaderPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"quickUpdateHeaderPreference", ""));
1.227. BatteryHistoryChart.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHistoryChart.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.227.1. BatteryHistoryChart Field属性列表
1.227.1.1. BatteryStats mStats;
BatteryStats mStats;
1.227.1.2. Intent mBatteryBroadcast;
Intent mBatteryBroadcast;
1.227.1.3. long mStatsPeriod;
long mStatsPeriod;
1.227.1.4. String mMaxPercentLabelString;
String mMaxPercentLabelString;
1.227.1.5. String mMinPercentLabelString;
String mMinPercentLabelString;
1.227.1.6. String mDurationString;
String mDurationString;
1.227.1.7. String mChargeDurationString;
String mChargeDurationString;
1.227.1.8. String mDrainString;
String mDrainString;
1.227.1.9. String mChargingLabel;
String mChargingLabel;
1.227.1.10. String mScreenOnLabel;
String mScreenOnLabel;
1.227.1.11. String mGpsOnLabel;
String mGpsOnLabel;
1.227.1.12. String mCameraOnLabel;
String mCameraOnLabel;
1.227.1.13. String mFlashlightOnLabel;
String mFlashlightOnLabel;
1.227.1.14. String mWifiRunningLabel;
String mWifiRunningLabel;
1.227.1.15. String mCpuRunningLabel;
String mCpuRunningLabel;
1.227.1.16. String mPhoneSignalLabel;
String mPhoneSignalLabel;
1.227.1.17. BatteryInfo mInfo;
BatteryInfo mInfo;
1.227.1.18. int mChartMinHeight;
int mChartMinHeight;
1.227.1.19. int mHeaderHeight;
int mHeaderHeight;
1.227.1.20. int mBatteryWarnLevel;
int mBatteryWarnLevel;
1.227.1.21. int mBatteryCriticalLevel;
int mBatteryCriticalLevel;
1.227.1.22. int mTextAscent;
int mTextAscent;
1.227.1.23. int mTextDescent;
int mTextDescent;
1.227.1.24. int mHeaderTextAscent;
int mHeaderTextAscent;
1.227.1.25. int mHeaderTextDescent;
int mHeaderTextDescent;
1.227.1.26. int mMaxPercentLabelStringWidth;
int mMaxPercentLabelStringWidth;
1.227.1.27. int mMinPercentLabelStringWidth;
int mMinPercentLabelStringWidth;
1.227.1.28. int mDurationStringWidth;
int mDurationStringWidth;
1.227.1.29. int mChargeLabelStringWidth;
int mChargeLabelStringWidth;
1.227.1.30. int mChargeDurationStringWidth;
int mChargeDurationStringWidth;
1.227.1.31. int mDrainStringWidth;
int mDrainStringWidth;
1.227.1.32. boolean mLargeMode;
boolean mLargeMode;
1.227.1.33. int mLastWidth
int mLastWidth = -1;
1.227.1.34. int mLastHeight
int mLastHeight = -1;
1.227.1.35. int mLineWidth;
int mLineWidth;
1.227.1.36. int mThinLineWidth;
int mThinLineWidth;
1.227.1.37. int mChargingOffset;
int mChargingOffset;
1.227.1.38. int mScreenOnOffset;
int mScreenOnOffset;
1.227.1.39. int mGpsOnOffset;
int mGpsOnOffset;
1.227.1.40. int mFlashlightOnOffset;
int mFlashlightOnOffset;
1.227.1.41. int mCameraOnOffset;
int mCameraOnOffset;
1.227.1.42. int mWifiRunningOffset;
int mWifiRunningOffset;
1.227.1.43. int mCpuRunningOffset;
int mCpuRunningOffset;
1.227.1.44. int mPhoneSignalOffset;
int mPhoneSignalOffset;
1.227.1.45. int mLevelOffset;
int mLevelOffset;
1.227.1.46. int mLevelTop;
int mLevelTop;
1.227.1.47. int mLevelBottom;
int mLevelBottom;
1.227.1.48. int mLevelLeft;
int mLevelLeft;
1.227.1.49. int mLevelRight;
int mLevelRight;
1.227.1.50. int mNumHist;
int mNumHist;
1.227.1.51. long mHistStart;
long mHistStart;
1.227.1.52. long mHistDataEnd;
long mHistDataEnd;
1.227.1.53. long mHistEnd;
long mHistEnd;
1.227.1.54. long mStartWallTime;
long mStartWallTime;
1.227.1.55. long mEndDataWallTime;
long mEndDataWallTime;
1.227.1.56. long mEndWallTime;
long mEndWallTime;
1.227.1.57. int mBatLow;
int mBatLow;
1.227.1.58. int mBatHigh;
int mBatHigh;
1.227.1.59. boolean mHaveWifi;
boolean mHaveWifi;
1.227.1.60. boolean mHaveGps;
boolean mHaveGps;
1.227.1.61. boolean mHavePhoneSignal;
boolean mHavePhoneSignal;
1.227.1.62. boolean mHaveCamera;
boolean mHaveCamera;
1.227.1.63. boolean mHaveFlashlight;
boolean mHaveFlashlight;
1.227.1.64. Bitmap mBitmap;
Bitmap mBitmap;
1.227.1.65. Canvas mCanvas;
Canvas mCanvas;
1.227.1.66. final Paint mBatteryBackgroundPaint
final Paint mBatteryBackgroundPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
1.227.1.67. final Paint mBatteryGoodPaint
final Paint mBatteryGoodPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
1.227.1.68. final Paint mBatteryWarnPaint
final Paint mBatteryWarnPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
1.227.1.69. final Paint mBatteryCriticalPaint
final Paint mBatteryCriticalPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
1.227.1.70. final Paint mTimeRemainPaint
final Paint mTimeRemainPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
1.227.1.71. final Paint mChargingPaint
final Paint mChargingPaint = new Paint();
1.227.1.72. final Paint mScreenOnPaint
final Paint mScreenOnPaint = new Paint();
1.227.1.73. final Paint mGpsOnPaint
final Paint mGpsOnPaint = new Paint();
1.227.1.74. final Paint mFlashlightOnPaint
final Paint mFlashlightOnPaint = new Paint();
1.227.1.75. final Paint mCameraOnPaint
final Paint mCameraOnPaint = new Paint();
1.227.1.76. final Paint mWifiRunningPaint
final Paint mWifiRunningPaint = new Paint();
1.227.1.77. final Paint mCpuRunningPaint
final Paint mCpuRunningPaint = new Paint();
1.227.1.78. final Paint mDateLinePaint
final Paint mDateLinePaint = new Paint();
1.227.1.79. final ChartData mPhoneSignalChart
final ChartData mPhoneSignalChart = new ChartData();
1.227.1.80. final TextPaint mTextPaint
final TextPaint mTextPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
1.227.1.81. final TextPaint mHeaderTextPaint
final TextPaint mHeaderTextPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG);
1.227.1.82. final Paint mDebugRectPaint
final Paint mDebugRectPaint = new Paint();
1.227.1.83. final Path mBatLevelPath
final Path mBatLevelPath = new Path();
1.227.1.84. final Path mBatGoodPath
final Path mBatGoodPath = new Path();
1.227.1.85. final Path mBatWarnPath
final Path mBatWarnPath = new Path();
1.227.1.86. final Path mBatCriticalPath
final Path mBatCriticalPath = new Path();
1.227.1.87. final Path mTimeRemainPath
final Path mTimeRemainPath = new Path();
1.227.1.88. final Path mChargingPath
final Path mChargingPath = new Path();
1.227.1.89. final Path mScreenOnPath
final Path mScreenOnPath = new Path();
1.227.1.90. final Path mGpsOnPath
final Path mGpsOnPath = new Path();
1.227.1.91. final Path mFlashlightOnPath
final Path mFlashlightOnPath = new Path();
1.227.1.92. final Path mCameraOnPath
final Path mCameraOnPath = new Path();
1.227.1.93. final Path mWifiRunningPath
final Path mWifiRunningPath = new Path();
1.227.1.94. final Path mCpuRunningPath
final Path mCpuRunningPath = new Path();
1.227.1.95. final Path mDateLinePath
final Path mDateLinePath = new Path();
1.227.1.96. final ArrayList mTimeLabels
final ArrayList mTimeLabels = new ArrayList();
1.227.1.97. final ArrayList mDateLabels
final ArrayList mDateLabels = new ArrayList();
1.227.1.98. static final boolean DEBUG
static final boolean DEBUG = false;
1.227.1.99. static final String TAG
static final String TAG = "BatteryHistoryChart";
1.227.1.100. static final int CHART_DATA_X_MASK
static final int CHART_DATA_X_MASK = 0x0000ffff;
1.227.1.101. static final int CHART_DATA_BIN_MASK
static final int CHART_DATA_BIN_MASK = 0xffff0000;
1.227.1.102. static final int CHART_DATA_BIN_SHIFT
static final int CHART_DATA_BIN_SHIFT = 16;
1.227.1.103. static final int SANS
static final int SANS = 1;
1.227.1.104. static final int SERIF
static final int SERIF = 2;
1.227.1.105. static final int MONOSPACE
static final int MONOSPACE = 3;
1.227.1.106. static final // are battery stats signal strength buckets. static int NUM_PHONE_SIGNALS
// First value if for phone off; first value is "scanning"; following values
// are battery stats signal strength buckets.
static final int NUM_PHONE_SIGNALS = 7;
1.227.2. BatteryHistoryChartMethod方法列表
1.227.2.1. setStats(BatteryStats stats,Intent broadcast)
void setStats(BatteryStats stats, Intent broadcast)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStats", "BatteryStats stats,Intent broadcast"));
1.227.2.2. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.227.2.3. finishPaths(int w,int h,int levelh,int startX,int y,Path curLevelPath,int lastX,boolean lastCharging,boolean lastScreenOn,boolean lastGpsOn,boolean lastFlashlightOn,boolean lastCameraOn,boolean lastWifiRunning,boolean lastCpuRunning,Path lastPath)
void finishPaths(int w, int h, int levelh, int startX, int y, Path curLevelPath, int lastX, boolean lastCharging, boolean lastScreenOn, boolean lastGpsOn, boolean lastFlashlightOn, boolean lastCameraOn, boolean lastWifiRunning, boolean lastCpuRunning, Path lastPath)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finishPaths", "int w,int h,int levelh,int startX,int y,Path curLevelPath,int lastX,boolean lastCharging,boolean lastScreenOn,boolean lastGpsOn,boolean lastFlashlightOn,boolean lastCameraOn,boolean lastWifiRunning,boolean lastCpuRunning,Path lastPath"));
1.227.2.4. is24Hour()
private boolean is24Hour()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"is24Hour", ""));
1.227.2.5. isDayFirst()
private boolean isDayFirst()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDayFirst", ""));
1.227.2.6. onSizeChanged(int w,int h,int oldw,int oldh)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSizeChanged", "int w,int h,int oldw,int oldh"));
1.227.2.7. addTimeLabel(Calendar cal,int levelLeft,int levelRight,boolean is24hr)
void addTimeLabel(Calendar cal, int levelLeft, int levelRight, boolean is24hr)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addTimeLabel", "Calendar cal,int levelLeft,int levelRight,boolean is24hr"));
1.227.2.8. addDateLabel(Calendar cal,int levelLeft,int levelRight,boolean isDayFirst)
void addDateLabel(Calendar cal, int levelLeft, int levelRight, boolean isDayFirst)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDateLabel", "Calendar cal,int levelLeft,int levelRight,boolean isDayFirst"));
1.227.2.9. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.227.2.10. buildBitmap(int width,int height)
void buildBitmap(int width, int height)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildBitmap", "int width,int height"));
1.227.2.11. drawChart(Canvas canvas,int width,int height)
void drawChart(Canvas canvas, int width, int height)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawChart", "Canvas canvas,int width,int height"));
1.228. BatteryHistoryDetail.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHistoryDetail.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.228.1. BatteryHistoryDetail Field属性列表
1.228.1.1. BatteryStats mStats;
private BatteryStats mStats;
1.228.1.2. Intent mBatteryBroadcast;
private Intent mBatteryBroadcast;
1.228.1.3. BatteryFlagParser mChargingParser;
private BatteryFlagParser mChargingParser;
1.228.1.4. BatteryFlagParser mScreenOn;
private BatteryFlagParser mScreenOn;
1.228.1.5. BatteryFlagParser mGpsParser;
private BatteryFlagParser mGpsParser;
1.228.1.6. BatteryFlagParser mFlashlightParser;
private BatteryFlagParser mFlashlightParser;
1.228.1.7. BatteryFlagParser mCameraParser;
private BatteryFlagParser mCameraParser;
1.228.1.8. BatteryWifiParser mWifiParser;
private BatteryWifiParser mWifiParser;
1.228.1.9. BatteryFlagParser mCpuParser;
private BatteryFlagParser mCpuParser;
1.228.1.10. BatteryCellParser mPhoneParser;
private BatteryCellParser mPhoneParser;
1.228.1.11. static final String EXTRA_STATS
public static final String EXTRA_STATS = "stats";
1.228.1.12. static final String EXTRA_BROADCAST
public static final String EXTRA_BROADCAST = "broadcast";
1.228.1.13. static final String BATTERY_HISTORY_FILE
public static final String BATTERY_HISTORY_FILE = "tmp_bat_history.bin";
1.228.2. BatteryHistoryDetailMethod方法列表
1.228.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.228.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.228.2.3. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.228.2.4. updateEverything()
private void updateEverything()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEverything", ""));
1.228.2.5. bindData(BatteryActiveProvider provider,int label,int groupId)
private void bindData(BatteryActiveProvider provider, int label, int groupId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindData", "BatteryActiveProvider provider,int label,int groupId"));
1.228.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.229. BatteryHistoryPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryHistoryPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.229.1. BatteryHistoryPreference Field属性列表
1.229.1.1. CharSequence mSummary;
private CharSequence mSummary;
1.229.1.2. TextView mSummaryView;
private TextView mSummaryView;
1.229.1.3. boolean hideSummary;
@VisibleForTesting
boolean hideSummary;
1.229.1.4. BatteryInfo mBatteryInfo;
@VisibleForTesting
BatteryInfo mBatteryInfo;
1.229.1.5. static final String TAG
private static final String TAG = "BatteryHistoryPreference";
1.229.2. BatteryHistoryPreferenceMethod方法列表
1.229.2.1. setStats(BatteryStatsHelper batteryStats)
public void setStats(BatteryStatsHelper batteryStats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStats", "BatteryStatsHelper batteryStats"));
1.229.2.2. setBottomSummary(CharSequence text)
public void setBottomSummary(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBottomSummary", "CharSequence text"));
1.229.2.3. hideBottomSummary()
public void hideBottomSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hideBottomSummary", ""));
1.229.2.4. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.230. BatteryInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.230.1. BatteryInfo Field属性列表
1.230.1.1. CharSequence chargeLabel;
public CharSequence chargeLabel;
1.230.1.2. CharSequence remainingLabel;
public CharSequence remainingLabel;
1.230.1.3. int batteryLevel;
public int batteryLevel;
1.230.1.4. boolean discharging
public boolean discharging = true;
1.230.1.5. long remainingTimeUs
public long remainingTimeUs = 0;
1.230.1.6. long averageTimeToDischarge
public long averageTimeToDischarge = Estimate.AVERAGE_TIME_TO_DISCHARGE_UNKNOWN;
1.230.1.7. String batteryPercentString;
public String batteryPercentString;
1.230.1.8. String statusLabel;
public String statusLabel;
1.230.1.9. boolean mCharging;
private boolean mCharging;
1.230.1.10. BatteryStats mStats;
private BatteryStats mStats;
1.230.1.11. long timePeriod;
private long timePeriod;
1.230.1.12. static final String LOG_TAG
private static final String LOG_TAG = "BatteryInfo";
1.230.2. BatteryInfoMethod方法列表
1.230.2.1. bindHistory(final UsageView view,BatteryDataParser... parsers)
public void bindHistory(final UsageView view, BatteryDataParser... parsers)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindHistory", "final UsageView view,BatteryDataParser... parsers"));
1.230.2.2. static getBatteryInfo(final Context context,final Callback callback)
public static void getBatteryInfo(final Context context, final Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getBatteryInfo", "final Context context,final Callback callback"));
1.230.2.3. static getBatteryInfo(final Context context,final Callback callback,boolean shortString)
public static void getBatteryInfo(final Context context, final Callback callback, boolean shortString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getBatteryInfo", "final Context context,final Callback callback,boolean shortString"));
1.230.2.4. static getBatteryInfo(final Context context,final Callback callback,BatteryStatsHelper statsHelper,boolean shortString)
public static void getBatteryInfo(final Context context, final Callback callback, BatteryStatsHelper statsHelper, boolean shortString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getBatteryInfo", "final Context context,final Callback callback,BatteryStatsHelper statsHelper,boolean shortString"));
1.230.2.5. static getBatteryInfo(final Context context,final Callback callback,BatteryStats stats,boolean shortString)
public static void getBatteryInfo(final Context context, final Callback callback, BatteryStats stats, boolean shortString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getBatteryInfo", "final Context context,final Callback callback,BatteryStats stats,boolean shortString"));
1.230.2.6. static getBatteryInfoOld(Context context,Intent batteryBroadcast,BatteryStats stats,long elapsedRealtimeUs,boolean shortString)
public static BatteryInfo getBatteryInfoOld(Context context, Intent batteryBroadcast, BatteryStats stats, long elapsedRealtimeUs, boolean shortString)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryInfo" ,"getBatteryInfoOld", "Context context,Intent batteryBroadcast,BatteryStats stats,long elapsedRealtimeUs,boolean shortString"));
1.230.2.7. static getBatteryInfo(Context context,Intent batteryBroadcast,BatteryStats stats,Estimate estimate,long elapsedRealtimeUs,boolean shortString)
public static BatteryInfo getBatteryInfo(Context context, Intent batteryBroadcast, BatteryStats stats, Estimate estimate, long elapsedRealtimeUs, boolean shortString)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryInfo" ,"getBatteryInfo", "Context context,Intent batteryBroadcast,BatteryStats stats,Estimate estimate,long elapsedRealtimeUs,boolean shortString"));
1.230.2.8. static updateBatteryInfoCharging(Context context,Intent batteryBroadcast,BatteryStats stats,long elapsedRealtimeUs,BatteryInfo info)
private static void updateBatteryInfoCharging(Context context, Intent batteryBroadcast, BatteryStats stats, long elapsedRealtimeUs, BatteryInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBatteryInfoCharging", "Context context,Intent batteryBroadcast,BatteryStats stats,long elapsedRealtimeUs,BatteryInfo info"));
1.230.2.9. static updateBatteryInfoDischarging(Context context,boolean shortString,Estimate estimate,BatteryInfo info)
private static void updateBatteryInfoDischarging(Context context, boolean shortString, Estimate estimate, BatteryInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBatteryInfoDischarging", "Context context,boolean shortString,Estimate estimate,BatteryInfo info"));
1.230.2.10. static parse(BatteryStats stats,BatteryDataParser... parsers)
public static void parse(BatteryStats stats, BatteryDataParser... parsers)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"parse", "BatteryStats stats,BatteryDataParser... parsers"));
1.231. BatteryInfoLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryInfoLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.231.1. BatteryInfoLoader Field属性列表
1.231.1.1. BatteryStatsHelper mStatsHelper;
BatteryStatsHelper mStatsHelper;
1.231.1.2. BatteryUtils batteryUtils;
@VisibleForTesting
BatteryUtils batteryUtils;
1.231.1.3. static final String LOG_TAG
private static final String LOG_TAG = "BatteryInfoLoader";
1.231.2. BatteryInfoLoaderMethod方法列表
1.231.2.1. onDiscardResult(BatteryInfo result)
protected void onDiscardResult(BatteryInfo result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "BatteryInfo result"));
1.231.2.2. loadInBackground()
public BatteryInfo loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryInfo" ,"loadInBackground", ""));
1.232. BatteryManagerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryManagerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.232.1. BatteryManagerPreferenceController Field属性列表
1.232.1.1. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.232.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.232.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.232.1.4. static final String KEY_BATTERY_MANAGER
private static final String KEY_BATTERY_MANAGER = "smart_battery_manager";
1.232.1.5. static final int ON
private static final int ON = 1;
1.232.2. BatteryManagerPreferenceControllerMethod方法列表
1.232.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.232.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.232.2.3. updateSummary(Preference preference,boolean featureOn,int num)
void updateSummary(Preference preference, boolean featureOn, int num)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "Preference preference,boolean featureOn,int num"));
1.233. BatteryMeterView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryMeterView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.233.1. BatteryMeterView Field属性列表
1.233.1.1. BatteryMeterDrawable mDrawable;
@VisibleForTesting
BatteryMeterDrawable mDrawable;
1.233.1.2. ColorFilter mErrorColorFilter;
@VisibleForTesting
ColorFilter mErrorColorFilter;
1.233.1.3. ColorFilter mAccentColorFilter;
@VisibleForTesting
ColorFilter mAccentColorFilter;
1.233.2. BatteryMeterViewMethod方法列表
1.233.2.1. setBatteryLevel(int level)
public void setBatteryLevel(int level)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBatteryLevel", "int level"));
1.233.2.2. getBatteryLevel()
public int getBatteryLevel()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBatteryLevel", ""));
1.233.2.3. setCharging(boolean charging)
public void setCharging(boolean charging)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCharging", "boolean charging"));
1.233.2.4. getCharging()
public boolean getCharging()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getCharging", ""));
1.234. BatteryOptimizationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryOptimizationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.234.1. BatteryOptimizationPreferenceController Field属性列表
1.234.1.1. PowerWhitelistBackend mBackend;
private PowerWhitelistBackend mBackend;
1.234.1.2. DashboardFragment mFragment;
private DashboardFragment mFragment;
1.234.1.3. SettingsActivity mSettingsActivity;
private SettingsActivity mSettingsActivity;
1.234.1.4. String mPackageName;
private String mPackageName;
1.234.1.5. static final String KEY_BACKGROUND_ACTIVITY
private static final String KEY_BACKGROUND_ACTIVITY = "battery_optimization";
1.234.2. BatteryOptimizationPreferenceControllerMethod方法列表
1.234.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.234.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.234.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.234.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.235. BatteryPercentagePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/BatteryPercentagePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.235.1. BatteryPercentagePreferenceController Field属性列表
1.235.1.1. static final String KEY_BATTERY_PERCENTAGE
private static final String KEY_BATTERY_PERCENTAGE = "battery_percentage";
1.235.2. BatteryPercentagePreferenceControllerMethod方法列表
1.235.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.235.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.235.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.235.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.236. BatterySaverAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/BatterySaverAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.236.1. BatterySaverAction Field属性列表
1.236.2. BatterySaverActionMethod方法列表
1.236.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.237. BatterySaverButtonPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/BatterySaverButtonPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.237.1. BatterySaverButtonPreferenceController Field属性列表
1.237.1.1. TwoStateButtonPreference mPreference;
private TwoStateButtonPreference mPreference;
1.237.1.2. final BatterySaverReceiver mBatterySaverReceiver;
private final BatterySaverReceiver mBatterySaverReceiver;
1.237.1.3. final PowerManager mPowerManager;
private final PowerManager mPowerManager;
1.237.2. BatterySaverButtonPreferenceControllerMethod方法列表
1.237.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.237.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.237.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.237.2.4. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.237.2.5. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.237.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.237.2.7. setChecked(boolean stateOn)
public boolean setChecked(boolean stateOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean stateOn"));
1.237.2.8. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.237.2.9. onPowerSaveModeChanged()
public void onPowerSaveModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPowerSaveModeChanged", ""));
1.237.2.10. onBatteryChanged(boolean pluggedIn)
public void onBatteryChanged(boolean pluggedIn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryChanged", "boolean pluggedIn"));
1.238. BatterySaverCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/BatterySaverCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.238.1. BatterySaverCondition Field属性列表
1.238.1.1. final BatterySaverReceiver mReceiver;
private final BatterySaverReceiver mReceiver;
1.238.2. BatterySaverConditionMethod方法列表
1.238.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.238.2.2. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.238.2.3. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.238.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.238.2.5. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.238.2.6. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.238.2.7. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.238.2.8. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.238.2.9. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.238.2.10. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.238.2.11. onPowerSaveModeChanged()
public void onPowerSaveModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPowerSaveModeChanged", ""));
1.238.2.12. onBatteryChanged(boolean pluggedIn)
public void onBatteryChanged(boolean pluggedIn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryChanged", "boolean pluggedIn"));
1.239. BatterySaverController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySaverController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.239.1. BatterySaverController Field属性列表
1.239.1.1. Preference mBatterySaverPref;
private Preference mBatterySaverPref;
1.239.1.2. final BatterySaverReceiver mBatteryStateChangeReceiver;
private final BatterySaverReceiver mBatteryStateChangeReceiver;
1.239.1.3. final PowerManager mPowerManager;
private final PowerManager mPowerManager;
1.239.1.4. final ContentObserver mObserver
private final ContentObserver mObserver = new ContentObserver(new Handler(Looper.getMainLooper())) {
@Override
public void onChange(boolean selfChange) {
updateSummary();
}
};
1.239.1.5. static final String KEY_BATTERY_SAVER
private static final String KEY_BATTERY_SAVER = "battery_saver_summary";
1.239.2. BatterySaverControllerMethod方法列表
1.239.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.239.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.239.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.239.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.239.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.239.2.6. refreshConditionManager()
void refreshConditionManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshConditionManager", ""));
1.239.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.239.2.8. updateSummary()
private void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.239.2.9. onPowerSaveModeChanged()
public void onPowerSaveModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPowerSaveModeChanged", ""));
1.239.2.10. onBatteryChanged(boolean pluggedIn)
public void onBatteryChanged(boolean pluggedIn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryChanged", "boolean pluggedIn"));
1.240. BatterySaverDrawable.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySaverDrawable.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.240.1. BatterySaverDrawable Field属性列表
1.240.1.1. static final int MAX_BATTERY
private static final int MAX_BATTERY = 100;
1.240.2. BatterySaverDrawableMethod方法列表
1.241. BatterySaverModeVoiceActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySaverModeVoiceActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.241.1. BatterySaverModeVoiceActivity Field属性列表
1.241.1.1. static final String TAG
private static final String TAG = "BatterySaverModeVoiceActivity";
1.241.2. BatterySaverModeVoiceActivityMethod方法列表
1.241.2.1. onVoiceSettingInteraction(Intent intent)
protected boolean onVoiceSettingInteraction(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onVoiceSettingInteraction", "Intent intent"));
1.242. BatterySaverReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatterySaverReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.242.1. BatterySaverReceiver Field属性列表
1.242.1.1. boolean mRegistered;
private boolean mRegistered;
1.242.1.2. Context mContext;
private Context mContext;
1.242.1.3. BatterySaverListener mBatterySaverListener;
private BatterySaverListener mBatterySaverListener;
1.242.1.4. static final String TAG
private static final String TAG = "BatterySaverReceiver";
1.242.1.5. static final boolean DEBUG
private static final boolean DEBUG = false;
1.242.2. BatterySaverReceiverMethod方法列表
1.242.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.242.2.2. setListening(boolean listening)
public void setListening(boolean listening)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListening", "boolean listening"));
1.242.2.3. setBatterySaverListener(BatterySaverListener lsn)
public void setBatterySaverListener(BatterySaverListener lsn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBatterySaverListener", "BatterySaverListener lsn"));
1.243. BatterySaverSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/BatterySaverSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.243.1. BatterySaverSettings Field属性列表
1.243.1.1. static final String TAG
private static final String TAG = "BatterySaverSettings";
1.243.1.2. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.battery_saver_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.243.2. BatterySaverSettingsMethod方法列表
1.243.2.1. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.243.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.243.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.243.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.243.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.243.2.6. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.243.2.7. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.244. BatteryStatsHelperLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryStatsHelperLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.244.1. BatteryStatsHelperLoader Field属性列表
1.244.1.1. UserManager mUserManager;
@VisibleForTesting
UserManager mUserManager;
1.244.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.244.2. BatteryStatsHelperLoaderMethod方法列表
1.244.2.1. loadInBackground()
public BatteryStatsHelper loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryStatsHelper" ,"loadInBackground", ""));
1.244.2.2. onDiscardResult(BatteryStatsHelper result)
protected void onDiscardResult(BatteryStatsHelper result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "BatteryStatsHelper result"));
1.245. BatteryTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/BatteryTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.245.1. BatteryTip Field属性列表
1.245.1.1. int mType;
protected int mType;
1.245.1.2. int mState;
protected int mState;
1.245.1.3. boolean mShowDialog;
protected boolean mShowDialog;
1.245.1.4. boolean mNeedUpdate;
/**
* Whether we need to update battery tip when configuration change
*/
protected boolean mNeedUpdate;
1.245.1.5. static final SparseIntArray TIP_ORDER;
@VisibleForTesting
static final SparseIntArray TIP_ORDER;
1.245.1.6. static final String KEY_PREFIX
private static final String KEY_PREFIX = "key_battery_tip";
1.245.2. BatteryTipMethod方法列表
1.245.2.1. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.245.2.2. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.245.2.3. buildPreference(Context context)
public Preference buildPreference(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"buildPreference", "Context context"));
1.245.2.4. shouldShowDialog()
public boolean shouldShowDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowDialog", ""));
1.245.2.5. needUpdate()
public boolean needUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"needUpdate", ""));
1.245.2.6. getKey()
public String getKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", ""));
1.245.2.7. getType()
public int getType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getType", ""));
1.245.2.8. getState()
public int getState()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getState", ""));
1.245.2.9. isVisible()
public boolean isVisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVisible", ""));
1.245.2.10. compareTo(BatteryTip o)
public int compareTo(BatteryTip o)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "BatteryTip o"));
1.245.2.11. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.245.2.12. abstract getTitle(Context context)
public abstract CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.245.2.13. abstract getSummary(Context context)
public abstract CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.245.2.14. abstract getIconId()
public abstract int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.245.2.15. abstract updateState(BatteryTip tip)
public abstract void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.245.2.16. abstract log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public abstract void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.246. BatteryTipAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/BatteryTipAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.246.1. BatteryTipAction Field属性列表
1.246.1.1. Context mContext;
protected Context mContext;
1.246.1.2. MetricsFeatureProvider mMetricsFeatureProvider;
protected MetricsFeatureProvider mMetricsFeatureProvider;
1.246.2. BatteryTipActionMethod方法列表
1.246.2.1. abstract handlePositiveAction(int metricsKey)
public abstract void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.247. BatteryTipDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/BatteryTipDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.248. BatteryTipDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryTipDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.248.1. BatteryTipDialogFragment Field属性列表
1.248.1.1. BatteryTip mBatteryTip;
@VisibleForTesting
BatteryTip mBatteryTip;
1.248.1.2. int mMetricsKey;
@VisibleForTesting
int mMetricsKey;
1.248.1.3. static final String ARG_BATTERY_TIP
private static final String ARG_BATTERY_TIP = "battery_tip";
1.248.1.4. static final String ARG_METRICS_KEY
private static final String ARG_METRICS_KEY = "metrics_key";
1.248.2. BatteryTipDialogFragmentMethod方法列表
1.248.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.248.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.248.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.248.2.4. static newInstance(BatteryTip batteryTip,int metricsKey)
public static BatteryTipDialogFragment newInstance(BatteryTip batteryTip, int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTipDialogFragment" ,"newInstance", "BatteryTip batteryTip,int metricsKey"));
1.249. BatteryTipLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryTipLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.249.1. BatteryTipLoader Field属性列表
1.249.1.1. BatteryStatsHelper mBatteryStatsHelper;
private BatteryStatsHelper mBatteryStatsHelper;
1.249.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.249.1.3. static final String TAG
private static final String TAG = "BatteryTipLoader";
1.249.1.4. static final boolean USE_FAKE_DATA
private static final boolean USE_FAKE_DATA = false;
1.249.2. BatteryTipLoaderMethod方法列表
1.249.2.1. loadInBackground()
public List loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadInBackground", ""));
1.249.2.2. onDiscardResult(List result)
protected void onDiscardResult(List result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "List result"));
1.249.2.3. getFakeData()
private List getFakeData()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getFakeData", ""));
1.250. BatteryTipPolicy.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryTipPolicy.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.250.1. BatteryTipPolicy Field属性列表
1.250.1.1. final boolean batteryTipEnabled;
/**
* {@code true} if general battery tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_BATTERY_TIP_ENABLED
*/
public final boolean batteryTipEnabled;
1.250.1.2. final boolean summaryEnabled;
/**
* {@code true} if summary tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_SUMMARY_ENABLED
*/
public final boolean summaryEnabled;
1.250.1.3. final boolean batterySaverTipEnabled;
/**
* {@code true} if battery saver tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_BATTERY_SAVER_TIP_ENABLED
*/
public final boolean batterySaverTipEnabled;
1.250.1.4. final boolean highUsageEnabled;
/**
* {@code true} if high usage tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_HIGH_USAGE_ENABLED
*/
public final boolean highUsageEnabled;
1.250.1.5. final int highUsageAppCount;
/**
* The maximum number of apps shown in high usage
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_HIGH_USAGE_APP_COUNT
*/
public final int highUsageAppCount;
1.250.1.6. final long highUsagePeriodMs;
/**
* The size of the window(milliseconds) for checking if the device is being heavily used
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_HIGH_USAGE_PERIOD_MS
*/
public final long highUsagePeriodMs;
1.250.1.7. final int highUsageBatteryDraining;
/**
* The battery draining threshold to detect whether device is heavily used.
* If battery drains more than {@link #highUsageBatteryDraining} in last {@link
* #highUsagePeriodMs}, treat device as heavily used.
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_HIGH_USAGE_BATTERY_DRAINING
*/
public final int highUsageBatteryDraining;
1.250.1.8. final boolean appRestrictionEnabled;
/**
* {@code true} if app restriction tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_APP_RESTRICTION_ENABLED
*/
public final boolean appRestrictionEnabled;
1.250.1.9. final boolean reducedBatteryEnabled;
/**
* {@code true} if reduced battery tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_REDUCED_BATTERY_ENABLED
*/
public final boolean reducedBatteryEnabled;
1.250.1.10. final int reducedBatteryPercent;
/**
* The percentage of reduced battery to trigger the tip(e.g. 50%)
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_REDUCED_BATTERY_PERCENT
*/
public final int reducedBatteryPercent;
1.250.1.11. final boolean lowBatteryEnabled;
/**
* {@code true} if low battery tip is enabled
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_LOW_BATTERY_ENABLED
*/
public final boolean lowBatteryEnabled;
1.250.1.12. final int lowBatteryHour;
/**
* Remaining battery hour to trigger the tip(e.g. 16 hours)
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_LOW_BATTERY_HOUR
*/
public final int lowBatteryHour;
1.250.1.13. final int dataHistoryRetainDay;
/**
* TTL day for anomaly data stored in database
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_DATA_HISTORY_RETAIN_DAY
*/
public final int dataHistoryRetainDay;
1.250.1.14. final int excessiveBgDrainPercentage;
/**
* Battery drain percentage threshold for excessive background anomaly(i.e. 10%)
*
* This is an additional check for excessive background, to check whether battery drain
* for an app is larger than x%
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_EXCESSIVE_BG_DRAIN_PERCENTAGE
*/
public final int excessiveBgDrainPercentage;
1.250.1.15. final boolean testBatterySaverTip;
/**
* {@code true} if we want to test battery saver tip.
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_TEST_BATTERY_SAVER_TIP
*/
public final boolean testBatterySaverTip;
1.250.1.16. final boolean testHighUsageTip;
/**
* {@code true} if we want to test high usage tip.
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_TEST_HIGH_USAGE_TIP
*/
public final boolean testHighUsageTip;
1.250.1.17. final boolean testSmartBatteryTip;
/**
* {@code true} if we want to test smart battery tip.
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_TEST_SMART_BATTERY_TIP
*/
public final boolean testSmartBatteryTip;
1.250.1.18. final boolean testLowBatteryTip;
/**
* {@code true} if we want to test low battery tip.
*
* @see Settings.Global#BATTERY_TIP_CONSTANTS
* @see #KEY_TEST_LOW_BATTERY_TIP
*/
public final boolean testLowBatteryTip;
1.250.1.19. final KeyValueListParser mParser;
private final KeyValueListParser mParser;
1.250.1.20. static final String TAG
public static final String TAG = "BatteryTipPolicy";
1.250.1.21. static final String KEY_BATTERY_TIP_ENABLED
private static final String KEY_BATTERY_TIP_ENABLED = "battery_tip_enabled";
1.250.1.22. static final String KEY_SUMMARY_ENABLED
private static final String KEY_SUMMARY_ENABLED = "summary_enabled";
1.250.1.23. static final String KEY_BATTERY_SAVER_TIP_ENABLED
private static final String KEY_BATTERY_SAVER_TIP_ENABLED = "battery_saver_tip_enabled";
1.250.1.24. static final String KEY_HIGH_USAGE_ENABLED
private static final String KEY_HIGH_USAGE_ENABLED = "high_usage_enabled";
1.250.1.25. static final String KEY_HIGH_USAGE_APP_COUNT
private static final String KEY_HIGH_USAGE_APP_COUNT = "high_usage_app_count";
1.250.1.26. static final String KEY_HIGH_USAGE_PERIOD_MS
private static final String KEY_HIGH_USAGE_PERIOD_MS = "high_usage_period_ms";
1.250.1.27. static final String KEY_HIGH_USAGE_BATTERY_DRAINING
private static final String KEY_HIGH_USAGE_BATTERY_DRAINING = "high_usage_battery_draining";
1.250.1.28. static final String KEY_APP_RESTRICTION_ENABLED
private static final String KEY_APP_RESTRICTION_ENABLED = "app_restriction_enabled";
1.250.1.29. static final String KEY_REDUCED_BATTERY_ENABLED
private static final String KEY_REDUCED_BATTERY_ENABLED = "reduced_battery_enabled";
1.250.1.30. static final String KEY_REDUCED_BATTERY_PERCENT
private static final String KEY_REDUCED_BATTERY_PERCENT = "reduced_battery_percent";
1.250.1.31. static final String KEY_LOW_BATTERY_ENABLED
private static final String KEY_LOW_BATTERY_ENABLED = "low_battery_enabled";
1.250.1.32. static final String KEY_LOW_BATTERY_HOUR
private static final String KEY_LOW_BATTERY_HOUR = "low_battery_hour";
1.250.1.33. static final String KEY_DATA_HISTORY_RETAIN_DAY
private static final String KEY_DATA_HISTORY_RETAIN_DAY = "data_history_retain_day";
1.250.1.34. static final String KEY_EXCESSIVE_BG_DRAIN_PERCENTAGE
private static final String KEY_EXCESSIVE_BG_DRAIN_PERCENTAGE = "excessive_bg_drain_percentage";
1.250.1.35. static final String KEY_TEST_BATTERY_SAVER_TIP
private static final String KEY_TEST_BATTERY_SAVER_TIP = "test_battery_saver_tip";
1.250.1.36. static final String KEY_TEST_HIGH_USAGE_TIP
private static final String KEY_TEST_HIGH_USAGE_TIP = "test_high_usage_tip";
1.250.1.37. static final String KEY_TEST_SMART_BATTERY_TIP
private static final String KEY_TEST_SMART_BATTERY_TIP = "test_smart_battery_tip";
1.250.1.38. static final String KEY_TEST_LOW_BATTERY_TIP
private static final String KEY_TEST_LOW_BATTERY_TIP = "test_low_battery_tip";
1.250.2. BatteryTipPolicyMethod方法列表
1.251. BatteryTipPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryTipPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.251.1. BatteryTipPreferenceController Field属性列表
1.251.1.1. BatteryTipListener mBatteryTipListener;
private BatteryTipListener mBatteryTipListener;
1.251.1.2. List mBatteryTips;
private List mBatteryTips;
1.251.1.3. Map mBatteryTipMap;
private Map mBatteryTipMap;
1.251.1.4. SettingsActivity mSettingsActivity;
private SettingsActivity mSettingsActivity;
1.251.1.5. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.251.1.6. boolean mNeedUpdate;
private boolean mNeedUpdate;
1.251.1.7. PreferenceGroup mPreferenceGroup;
@VisibleForTesting
PreferenceGroup mPreferenceGroup;
1.251.1.8. Context mPrefContext;
@VisibleForTesting
Context mPrefContext;
1.251.1.9. InstrumentedPreferenceFragment mFragment;
InstrumentedPreferenceFragment mFragment;
1.251.1.10. static final String TAG
private static final String TAG = "BatteryTipPreferenceController";
1.251.1.11. static final int REQUEST_ANOMALY_ACTION
private static final int REQUEST_ANOMALY_ACTION = 0;
1.251.1.12. static final String KEY_BATTERY_TIPS
private static final String KEY_BATTERY_TIPS = "key_battery_tips";
1.251.2. BatteryTipPreferenceControllerMethod方法列表
1.251.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.251.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.251.2.3. updateBatteryTips(List batteryTips)
public void updateBatteryTips(List batteryTips)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBatteryTips", "List batteryTips"));
1.251.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.251.2.5. restoreInstanceState(Bundle bundle)
public void restoreInstanceState(Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreInstanceState", "Bundle bundle"));
1.251.2.6. saveInstanceState(Bundle outState)
public void saveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveInstanceState", "Bundle outState"));
1.251.2.7. needUpdate()
public boolean needUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"needUpdate", ""));
1.252. BatteryTipUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/BatteryTipUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.252.1. BatteryTipUtils Field属性列表
1.252.1.1. static final int REQUEST_CODE
private static final int REQUEST_CODE = 0;
1.252.2. BatteryTipUtilsMethod方法列表
1.252.2.1. static getRestrictedAppsList(AppOpsManager appOpsManager,UserManager userManager)
public static List getRestrictedAppsList(AppOpsManager appOpsManager, UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getRestrictedAppsList", "AppOpsManager appOpsManager,UserManager userManager"));
1.252.2.2. static getActionForBatteryTip(BatteryTip batteryTip,SettingsActivity settingsActivity,InstrumentedPreferenceFragment fragment)
public static BatteryTipAction getActionForBatteryTip(BatteryTip batteryTip, SettingsActivity settingsActivity, InstrumentedPreferenceFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTipAction" ,"getActionForBatteryTip", "BatteryTip batteryTip,SettingsActivity settingsActivity,InstrumentedPreferenceFragment fragment"));
1.252.2.3. static uploadAnomalyPendingIntent(Context context,StatsManager statsManager)
public static void uploadAnomalyPendingIntent(Context context, StatsManager statsManager) throws StatsManager.StatsUnavailableException
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"uploadAnomalyPendingIntent", "Context context,StatsManager statsManager"));
1.253. BatteryUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.253.1. BatteryUtils Field属性列表
1.253.1.1. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.253.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.253.1.3. Context mContext;
private Context mContext;
1.253.1.4. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
@VisibleForTesting
PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.253.1.5. static BatteryUtils sInstance;
private static BatteryUtils sInstance;
1.253.1.6. static final int UID_NULL
public static final int UID_NULL = -1;
1.253.1.7. static final int SDK_NULL
public static final int SDK_NULL = -1;
1.253.1.8. static final String TAG
private static final String TAG = "BatteryUtils";
1.253.1.9. static final int MIN_POWER_THRESHOLD_MILLI_AMP
private static final int MIN_POWER_THRESHOLD_MILLI_AMP = 5;
1.253.1.10. static final int SECONDS_IN_HOUR
private static final int SECONDS_IN_HOUR = 60 * 60;
1.253.2. BatteryUtilsMethod方法列表
1.253.2.1. getProcessTimeMs(@StatusType int type,@Nullable BatteryStats.Uid uid,int which)
public long getProcessTimeMs(@StatusType int type, @Nullable BatteryStats.Uid uid, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getProcessTimeMs", "@StatusType int type,@Nullable BatteryStats.Uid uid,int which"));
1.253.2.2. getScreenUsageTimeMs(BatteryStats.Uid uid,int which,long rawRealTimeUs)
private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which, long rawRealTimeUs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getScreenUsageTimeMs", "BatteryStats.Uid uid,int which,long rawRealTimeUs"));
1.253.2.3. getScreenUsageTimeMs(BatteryStats.Uid uid,int which)
private long getScreenUsageTimeMs(BatteryStats.Uid uid, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getScreenUsageTimeMs", "BatteryStats.Uid uid,int which"));
1.253.2.4. getProcessBackgroundTimeMs(BatteryStats.Uid uid,int which)
private long getProcessBackgroundTimeMs(BatteryStats.Uid uid, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getProcessBackgroundTimeMs", "BatteryStats.Uid uid,int which"));
1.253.2.5. getProcessForegroundTimeMs(BatteryStats.Uid uid,int which)
private long getProcessForegroundTimeMs(BatteryStats.Uid uid, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getProcessForegroundTimeMs", "BatteryStats.Uid uid,int which"));
1.253.2.6. removeHiddenBatterySippers(List sippers)
public double removeHiddenBatterySippers(List sippers)
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"removeHiddenBatterySippers", "List sippers"));
1.253.2.7. smearScreenBatterySipper(List sippers,BatterySipper screenSipper)
void smearScreenBatterySipper(List sippers, BatterySipper screenSipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"smearScreenBatterySipper", "List sippers,BatterySipper screenSipper"));
1.253.2.8. shouldHideSipper(BatterySipper sipper)
public boolean shouldHideSipper(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideSipper", "BatterySipper sipper"));
1.253.2.9. calculateBatteryPercent(double powerUsageMah,double totalPowerMah,double hiddenPowerMah,int dischargeAmount)
public double calculateBatteryPercent(double powerUsageMah, double totalPowerMah, double hiddenPowerMah, int dischargeAmount)
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"calculateBatteryPercent", "double powerUsageMah,double totalPowerMah,double hiddenPowerMah,int dischargeAmount"));
1.253.2.10. calculateRunningTimeBasedOnStatsType(BatteryStatsHelper batteryStatsHelper,int statsType)
public long calculateRunningTimeBasedOnStatsType(BatteryStatsHelper batteryStatsHelper, int statsType)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"calculateRunningTimeBasedOnStatsType", "BatteryStatsHelper batteryStatsHelper,int statsType"));
1.253.2.11. getPackageName(int uid)
public String getPackageName(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageName", "int uid"));
1.253.2.12. getTargetSdkVersion(final String packageName)
public int getTargetSdkVersion(final String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTargetSdkVersion", "final String packageName"));
1.253.2.13. isBackgroundRestrictionEnabled(final int targetSdkVersion,final int uid,final String packageName)
public boolean isBackgroundRestrictionEnabled(final int targetSdkVersion, final int uid, final String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBackgroundRestrictionEnabled", "final int targetSdkVersion,final int uid,final String packageName"));
1.253.2.14. sortUsageList(List usageList)
public void sortUsageList(List usageList)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sortUsageList", "List usageList"));
1.253.2.15. calculateLastFullChargeTime(BatteryStatsHelper batteryStatsHelper,long currentTimeMs)
public long calculateLastFullChargeTime(BatteryStatsHelper batteryStatsHelper, long currentTimeMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"calculateLastFullChargeTime", "BatteryStatsHelper batteryStatsHelper,long currentTimeMs"));
1.253.2.16. calculateScreenUsageTime(BatteryStatsHelper batteryStatsHelper)
public long calculateScreenUsageTime(BatteryStatsHelper batteryStatsHelper)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"calculateScreenUsageTime", "BatteryStatsHelper batteryStatsHelper"));
1.253.2.17. getPackageUid(String packageName)
public int getPackageUid(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPackageUid", "String packageName"));
1.253.2.18. getSummaryResIdFromAnomalyType(@Anomaly.AnomalyType int type)
public int getSummaryResIdFromAnomalyType(@Anomaly.AnomalyType int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSummaryResIdFromAnomalyType", "@Anomaly.AnomalyType int type"));
1.253.2.19. setForceAppStandby(int uid,String packageName,int mode)
public void setForceAppStandby(int uid, String packageName, int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setForceAppStandby", "int uid,String packageName,int mode"));
1.253.2.20. isForceAppStandbyEnabled(int uid,String packageName)
public boolean isForceAppStandbyEnabled(int uid, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isForceAppStandbyEnabled", "int uid,String packageName"));
1.253.2.21. initBatteryStatsHelper(BatteryStatsHelper statsHelper,Bundle bundle,UserManager userManager)
public void initBatteryStatsHelper(BatteryStatsHelper statsHelper, Bundle bundle, UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initBatteryStatsHelper", "BatteryStatsHelper statsHelper,Bundle bundle,UserManager userManager"));
1.253.2.22. getBatteryInfo(final BatteryStatsHelper statsHelper,final String tag)
public BatteryInfo getBatteryInfo(final BatteryStatsHelper statsHelper, final String tag)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryInfo" ,"getBatteryInfo", "final BatteryStatsHelper statsHelper,final String tag"));
1.253.2.23. findBatterySipperByType(List usageList,BatterySipper.DrainType type)
public BatterySipper findBatterySipperByType(List usageList, BatterySipper.DrainType type)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatterySipper" ,"findBatterySipperByType", "List usageList,BatterySipper.DrainType type"));
1.253.2.24. isDataCorrupted()
private boolean isDataCorrupted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDataCorrupted", ""));
1.253.2.25. getForegroundActivityTotalTimeUs(BatteryStats.Uid uid,long rawRealtimeUs)
long getForegroundActivityTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getForegroundActivityTotalTimeUs", "BatteryStats.Uid uid,long rawRealtimeUs"));
1.253.2.26. getForegroundServiceTotalTimeUs(BatteryStats.Uid uid,long rawRealtimeUs)
long getForegroundServiceTotalTimeUs(BatteryStats.Uid uid, long rawRealtimeUs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getForegroundServiceTotalTimeUs", "BatteryStats.Uid uid,long rawRealtimeUs"));
1.253.2.27. isPreOApp(final String packageName)
public boolean isPreOApp(final String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPreOApp", "final String packageName"));
1.253.2.28. isPreOApp(final String[] packageNames)
public boolean isPreOApp(final String[] packageNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPreOApp", "final String[] packageNames"));
1.253.2.29. shouldHideAnomaly(PowerWhitelistBackend powerWhitelistBackend,int uid,AnomalyInfo anomalyInfo)
public boolean shouldHideAnomaly(PowerWhitelistBackend powerWhitelistBackend, int uid, AnomalyInfo anomalyInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideAnomaly", "PowerWhitelistBackend powerWhitelistBackend,int uid,AnomalyInfo anomalyInfo"));
1.253.2.30. isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo)
private boolean isExcessiveBackgroundAnomaly(AnomalyInfo anomalyInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isExcessiveBackgroundAnomaly", "AnomalyInfo anomalyInfo"));
1.253.2.31. isSystemUid(int uid)
private boolean isSystemUid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemUid", "int uid"));
1.253.2.32. isSystemApp(PackageManager packageManager,String[] packageNames)
private boolean isSystemApp(PackageManager packageManager, String[] packageNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemApp", "PackageManager packageManager,String[] packageNames"));
1.253.2.33. hasLauncherEntry(String[] packageNames)
private boolean hasLauncherEntry(String[] packageNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasLauncherEntry", "String[] packageNames"));
1.253.2.34. getAppLongVersionCode(String packageName)
public long getAppLongVersionCode(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getAppLongVersionCode", "String packageName"));
1.253.2.35. static getInstance(Context context)
public static BatteryUtils getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryUtils" ,"getInstance", "Context context"));
1.253.2.36. static logRuntime(String tag,String message,long startTime)
public static void logRuntime(String tag, String message, long startTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logRuntime", "String tag,String message,long startTime"));
1.254. BatteryWifiParser.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/BatteryWifiParser.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.254.1. BatteryWifiParser Field属性列表
1.254.2. BatteryWifiParserMethod方法列表
1.254.2.1. isSet(HistoryItem record)
protected boolean isSet(HistoryItem record)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSet", "HistoryItem record"));
1.255. BillingCyclePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/BillingCyclePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.255.1. BillingCyclePreference Field属性列表
1.255.1.1. NetworkTemplate mTemplate;
private NetworkTemplate mTemplate;
1.255.1.2. NetworkServices mServices;
private NetworkServices mServices;
1.255.1.3. int mSubId;
private int mSubId;
1.255.1.4. final DataStateListener mListener
private final DataStateListener mListener = new DataStateListener() {
@Override
public void onChange(boolean selfChange) {
updateEnabled();
}
};
1.255.2. BillingCyclePreferenceMethod方法列表
1.255.2.1. onAttached()
public void onAttached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttached", ""));
1.255.2.2. onDetached()
public void onDetached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetached", ""));
1.255.2.3. setTemplate(NetworkTemplate template,int subId,NetworkServices services)
public void setTemplate(NetworkTemplate template, int subId, NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTemplate", "NetworkTemplate template,int subId,NetworkServices services"));
1.255.2.4. updateEnabled()
private void updateEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEnabled", ""));
1.255.2.5. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.256. BillingCycleSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/BillingCycleSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.256.1. BillingCycleSettings Field属性列表
1.256.1.1. NetworkTemplate mNetworkTemplate;
private NetworkTemplate mNetworkTemplate;
1.256.1.2. Preference mBillingCycle;
private Preference mBillingCycle;
1.256.1.3. Preference mDataWarning;
private Preference mDataWarning;
1.256.1.4. SwitchPreference mEnableDataWarning;
private SwitchPreference mEnableDataWarning;
1.256.1.5. SwitchPreference mEnableDataLimit;
private SwitchPreference mEnableDataLimit;
1.256.1.6. Preference mDataLimit;
private Preference mDataLimit;
1.256.1.7. DataUsageController mDataUsageController;
private DataUsageController mDataUsageController;
1.256.1.8. static final String TAG
private static final String TAG = "BillingCycleSettings";
1.256.1.9. static final boolean LOGD
private static final boolean LOGD = false;
1.256.1.10. static final long MIB_IN_BYTES
public static final long MIB_IN_BYTES = 1024 * 1024;
1.256.1.11. static final long GIB_IN_BYTES
public static final long GIB_IN_BYTES = MIB_IN_BYTES * 1024;
1.256.1.12. static final long MAX_DATA_LIMIT_BYTES
private static final long MAX_DATA_LIMIT_BYTES = 50000 * GIB_IN_BYTES;
1.256.1.13. static final String TAG_CONFIRM_LIMIT
private static final String TAG_CONFIRM_LIMIT = "confirmLimit";
1.256.1.14. static final String TAG_CYCLE_EDITOR
private static final String TAG_CYCLE_EDITOR = "cycleEditor";
1.256.1.15. static final String TAG_WARNING_EDITOR
private static final String TAG_WARNING_EDITOR = "warningEditor";
1.256.1.16. static final String KEY_BILLING_CYCLE
private static final String KEY_BILLING_CYCLE = "billing_cycle";
1.256.1.17. static final String KEY_SET_DATA_WARNING
private static final String KEY_SET_DATA_WARNING = "set_data_warning";
1.256.1.18. static final String KEY_DATA_WARNING
private static final String KEY_DATA_WARNING = "data_warning";
1.256.1.19. static final String KEY_SET_DATA_LIMIT
@VisibleForTesting
static final String KEY_SET_DATA_LIMIT = "set_data_limit";
1.256.1.20. static final String KEY_DATA_LIMIT
private static final String KEY_DATA_LIMIT = "data_limit";
1.256.2. BillingCycleSettingsMethod方法列表
1.256.2.1. setUpForTest(NetworkPolicyEditor policyEditor,Preference billingCycle,Preference dataLimit,Preference dataWarning,SwitchPreference enableLimit,SwitchPreference enableWarning)
void setUpForTest(NetworkPolicyEditor policyEditor, Preference billingCycle, Preference dataLimit, Preference dataWarning, SwitchPreference enableLimit, SwitchPreference enableWarning)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUpForTest", "NetworkPolicyEditor policyEditor,Preference billingCycle,Preference dataLimit,Preference dataWarning,SwitchPreference enableLimit,SwitchPreference enableWarning"));
1.256.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.256.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.256.2.4. updatePrefs()
void updatePrefs()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePrefs", ""));
1.256.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.256.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.256.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.256.2.8. setPolicyLimitBytes(long limitBytes)
void setPolicyLimitBytes(long limitBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPolicyLimitBytes", "long limitBytes"));
1.256.2.9. setPolicyWarningBytes(long warningBytes)
private void setPolicyWarningBytes(long warningBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPolicyWarningBytes", "long warningBytes"));
1.256.2.10. getNetworkPolicyEditor()
public NetworkPolicyEditor getNetworkPolicyEditor()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkPolicyEditor" ,"getNetworkPolicyEditor", ""));
1.256.2.11. getNetworkTemplate()
public NetworkTemplate getNetworkTemplate()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getNetworkTemplate", ""));
1.256.2.12. updateDataUsage()
public void updateDataUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataUsage", ""));
1.257. BlockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/BlockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.257.1. BlockPreferenceController Field属性列表
1.257.1.1. NotificationSettingsBase.ImportanceListener mImportanceListener;
private NotificationSettingsBase.ImportanceListener mImportanceListener;
1.257.1.2. static final String KEY_BLOCK
private static final String KEY_BLOCK = "block";
1.257.2. BlockPreferenceControllerMethod方法列表
1.257.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.257.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.257.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.257.2.4. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.258. BluetoothA2dpConfigStore.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothA2dpConfigStore.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.258.1. BluetoothA2dpConfigStore Field属性列表
1.258.1.1. int mCodecType
// init default values
private int mCodecType = BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID;
1.258.1.2. int mCodecPriority
private int mCodecPriority = BluetoothCodecConfig.CODEC_PRIORITY_DEFAULT;
1.258.1.3. int mSampleRate
private int mSampleRate = BluetoothCodecConfig.SAMPLE_RATE_NONE;
1.258.1.4. int mBitsPerSample
private int mBitsPerSample = BluetoothCodecConfig.BITS_PER_SAMPLE_NONE;
1.258.1.5. int mChannelMode
private int mChannelMode = BluetoothCodecConfig.CHANNEL_MODE_NONE;
1.258.1.6. long mCodecSpecific1Value;
private long mCodecSpecific1Value;
1.258.1.7. long mCodecSpecific2Value;
private long mCodecSpecific2Value;
1.258.1.8. long mCodecSpecific3Value;
private long mCodecSpecific3Value;
1.258.1.9. long mCodecSpecific4Value;
private long mCodecSpecific4Value;
1.258.2. BluetoothA2dpConfigStoreMethod方法列表
1.258.2.1. setCodecType(int codecType)
public void setCodecType(int codecType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecType", "int codecType"));
1.258.2.2. setCodecPriority(int codecPriority)
public void setCodecPriority(int codecPriority)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecPriority", "int codecPriority"));
1.258.2.3. setSampleRate(int sampleRate)
public void setSampleRate(int sampleRate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSampleRate", "int sampleRate"));
1.258.2.4. setBitsPerSample(int bitsPerSample)
public void setBitsPerSample(int bitsPerSample)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBitsPerSample", "int bitsPerSample"));
1.258.2.5. setChannelMode(int channelMode)
public void setChannelMode(int channelMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChannelMode", "int channelMode"));
1.258.2.6. setCodecSpecific1Value(int codecSpecific1Value)
public void setCodecSpecific1Value(int codecSpecific1Value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecSpecific1Value", "int codecSpecific1Value"));
1.258.2.7. setCodecSpecific2Value(int codecSpecific2Value)
public void setCodecSpecific2Value(int codecSpecific2Value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecSpecific2Value", "int codecSpecific2Value"));
1.258.2.8. setCodecSpecific3Value(int codecSpecific3Value)
public void setCodecSpecific3Value(int codecSpecific3Value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecSpecific3Value", "int codecSpecific3Value"));
1.258.2.9. setCodecSpecific4Value(int codecSpecific4Value)
public void setCodecSpecific4Value(int codecSpecific4Value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCodecSpecific4Value", "int codecSpecific4Value"));
1.258.2.10. createCodecConfig()
public BluetoothCodecConfig createCodecConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothCodecConfig" ,"createCodecConfig", ""));
1.259. BluetoothA2dpHwOffloadPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothA2dpHwOffloadPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.259.1. BluetoothA2dpHwOffloadPreferenceController Field属性列表
1.259.1.1. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.259.1.2. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "bluetooth_disable_a2dp_hw_offload";
1.259.1.3. static final String A2DP_OFFLOAD_DISABLED_PROPERTY
static final String A2DP_OFFLOAD_DISABLED_PROPERTY = "persist.bluetooth.a2dp_offload.disabled";
1.259.1.4. static final String A2DP_OFFLOAD_SUPPORTED_PROPERTY
static final String A2DP_OFFLOAD_SUPPORTED_PROPERTY = "ro.bluetooth.a2dp_offload.supported";
1.259.2. BluetoothA2dpHwOffloadPreferenceControllerMethod方法列表
1.259.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.259.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.259.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.259.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.259.2.5. onA2dpHwDialogConfirmed()
public void onA2dpHwDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onA2dpHwDialogConfirmed", ""));
1.260. BluetoothA2dpHwOffloadRebootDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothA2dpHwOffloadRebootDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.260.1. BluetoothA2dpHwOffloadRebootDialog Field属性列表
1.260.1.1. static final String TAG
public static final String TAG = "BluetoothA2dpHwOffloadReboot";
1.260.2. BluetoothA2dpHwOffloadRebootDialogMethod方法列表
1.260.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.260.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.260.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.260.2.4. static show(DevelopmentSettingsDashboardFragment host,BluetoothA2dpHwOffloadPreferenceController controller)
public static void show(DevelopmentSettingsDashboardFragment host, BluetoothA2dpHwOffloadPreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "DevelopmentSettingsDashboardFragment host,BluetoothA2dpHwOffloadPreferenceController controller"));
1.261. BluetoothA2dpLock.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothA2dpLock.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.261.1. BluetoothA2dpLock Field属性列表
1.261.2. BluetoothA2dpLockMethod方法列表
1.262. BluetoothAbsoluteVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAbsoluteVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.262.1. BluetoothAbsoluteVolumePreferenceController Field属性列表
1.262.1.1. static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_KEY
private static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_KEY = "bluetooth_disable_absolute_volume";
1.262.1.2. static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_PROPERTY
@VisibleForTesting
static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_PROPERTY = "persist.bluetooth.disableabsvol";
1.262.2. BluetoothAbsoluteVolumePreferenceControllerMethod方法列表
1.262.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.262.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.262.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.262.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.263. BluetoothAddressPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/BluetoothAddressPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.263.1. BluetoothAddressPreferenceController Field属性列表
1.263.2. BluetoothAddressPreferenceControllerMethod方法列表
1.264. BluetoothAudioBitsPerSamplePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAudioBitsPerSamplePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.264.1. BluetoothAudioBitsPerSamplePreferenceController Field属性列表
1.264.1.1. static final int DEFAULT_INDEX
private static final int DEFAULT_INDEX = 0;
1.264.1.2. static final String BLUETOOTH_SELECT_A2DP_BITS_PER_SAMPLE_KEY
private static final String BLUETOOTH_SELECT_A2DP_BITS_PER_SAMPLE_KEY = "bluetooth_select_a2dp_bits_per_sample";
1.264.2. BluetoothAudioBitsPerSamplePreferenceControllerMethod方法列表
1.264.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.264.2.2. getListValues()
protected String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.264.2.3. getListSummaries()
protected String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.264.2.4. getDefaultIndex()
protected int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.264.2.5. writeConfigurationValues(Object newValue)
protected void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.264.2.6. getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.265. BluetoothAudioChannelModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAudioChannelModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.265.1. BluetoothAudioChannelModePreferenceController Field属性列表
1.265.1.1. static final int DEFAULT_INDEX
private static final int DEFAULT_INDEX = 0;
1.265.1.2. static final String BLUETOOTH_SELECT_A2DP_CHANNEL_MODE_KEY
private static final String BLUETOOTH_SELECT_A2DP_CHANNEL_MODE_KEY = "bluetooth_select_a2dp_channel_mode";
1.265.2. BluetoothAudioChannelModePreferenceControllerMethod方法列表
1.265.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.265.2.2. getListValues()
protected String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.265.2.3. getListSummaries()
protected String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.265.2.4. getDefaultIndex()
protected int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.265.2.5. writeConfigurationValues(Object newValue)
protected void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.265.2.6. getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.266. BluetoothAudioCodecPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAudioCodecPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.266.1. BluetoothAudioCodecPreferenceController Field属性列表
1.266.1.1. static final int DEFAULT_INDEX
private static final int DEFAULT_INDEX = 0;
1.266.1.2. static final String BLUETOOTH_SELECT_A2DP_CODEC_KEY
private static final String BLUETOOTH_SELECT_A2DP_CODEC_KEY = "bluetooth_select_a2dp_codec";
1.266.2. BluetoothAudioCodecPreferenceControllerMethod方法列表
1.266.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.266.2.2. getListValues()
protected String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.266.2.3. getListSummaries()
protected String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.266.2.4. getDefaultIndex()
protected int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.266.2.5. writeConfigurationValues(Object newValue)
protected void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.266.2.6. getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.267. BluetoothAudioQualityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAudioQualityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.267.1. BluetoothAudioQualityPreferenceController Field属性列表
1.267.1.1. static final int DEFAULT_INDEX
private static final int DEFAULT_INDEX = 3;
1.267.1.2. static final String BLUETOOTH_SELECT_A2DP_LDAC_PLAYBACK_QUALITY_KEY
private static final String BLUETOOTH_SELECT_A2DP_LDAC_PLAYBACK_QUALITY_KEY = "bluetooth_select_a2dp_ldac_playback_quality";
1.267.2. BluetoothAudioQualityPreferenceControllerMethod方法列表
1.267.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.267.2.2. getListValues()
protected String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.267.2.3. getListSummaries()
protected String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.267.2.4. getDefaultIndex()
protected int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.267.2.5. writeConfigurationValues(Object newValue)
protected void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.267.2.6. getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.268. BluetoothAudioSampleRatePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAudioSampleRatePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.268.1. BluetoothAudioSampleRatePreferenceController Field属性列表
1.268.1.1. static final int DEFAULT_INDEX
private static final int DEFAULT_INDEX = 0;
1.268.1.2. static final String BLUETOOTH_SELECT_A2DP_SAMPLE_RATE_KEY
private static final String BLUETOOTH_SELECT_A2DP_SAMPLE_RATE_KEY = "bluetooth_select_a2dp_sample_rate";
1.268.2. BluetoothAudioSampleRatePreferenceControllerMethod方法列表
1.268.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.268.2.2. getListValues()
protected String[] getListValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListValues", ""));
1.268.2.3. getListSummaries()
protected String[] getListSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getListSummaries", ""));
1.268.2.4. getDefaultIndex()
protected int getDefaultIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIndex", ""));
1.268.2.5. writeConfigurationValues(Object newValue)
protected void writeConfigurationValues(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeConfigurationValues", "Object newValue"));
1.268.2.6. getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
protected int getCurrentA2dpSettingIndex(BluetoothCodecConfig config)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentA2dpSettingIndex", "BluetoothCodecConfig config"));
1.269. BluetoothAvrcpVersionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothAvrcpVersionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.269.1. BluetoothAvrcpVersionPreferenceController Field属性列表
1.269.1.1. final String[] mListValues;
private final String[] mListValues;
1.269.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.269.1.3. static final String BLUETOOTH_SELECT_AVRCP_VERSION_KEY
private static final String BLUETOOTH_SELECT_AVRCP_VERSION_KEY = "bluetooth_select_avrcp_version";
1.269.1.4. static final String BLUETOOTH_AVRCP_VERSION_PROPERTY
@VisibleForTesting
static final String BLUETOOTH_AVRCP_VERSION_PROPERTY = "persist.bluetooth.avrcpversion";
1.269.2. BluetoothAvrcpVersionPreferenceControllerMethod方法列表
1.269.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.269.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.269.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.270. BluetoothDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/BluetoothDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.270.1. BluetoothDashboardFragment Field属性列表
1.270.1.1. FooterPreference mFooterPreference;
private FooterPreference mFooterPreference;
1.270.1.2. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.270.1.3. BluetoothSwitchPreferenceController mController;
private BluetoothSwitchPreferenceController mController;
1.270.1.4. static final String TAG
private static final String TAG = "BluetoothDashboardFrag";
1.270.1.5. static final String KEY_BLUETOOTH_SCREEN
public static final String KEY_BLUETOOTH_SCREEN = "bluetooth_switchbar_screen";
1.270.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList<>();
// Add the activity title
final SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.bluetooth_settings_title);
data.screenTitle = context.getString(R.string.bluetooth_settings_title);
data.keywords = context.getString(R.string.keywords_bluetooth_settings);
data.key = KEY_BLUETOOTH_SCREEN;
result.add(data);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
BluetoothManager manager = (BluetoothManager) context.getSystemService(Context.BLUETOOTH_SERVICE);
if (manager != null) {
BluetoothAdapter adapter = manager.getAdapter();
final int status = adapter != null ? TogglePreferenceController.AVAILABLE : TogglePreferenceController.UNSUPPORTED_ON_DEVICE;
if (status != TogglePreferenceController.AVAILABLE) {
keys.add(KEY_BLUETOOTH_SCREEN);
}
}
return keys;
}
};
1.270.2. BluetoothDashboardFragmentMethod方法列表
1.270.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.270.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.270.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.270.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.270.2.5. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.270.2.6. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.270.2.7. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.271. BluetoothDetailsButtonsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDetailsButtonsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.271.1. BluetoothDetailsButtonsController Field属性列表
1.271.1.1. boolean mIsConnected;
private boolean mIsConnected;
1.271.1.2. boolean mConnectButtonInitialized;
private boolean mConnectButtonInitialized;
1.271.1.3. ActionButtonPreference mActionButtons;
private ActionButtonPreference mActionButtons;
1.271.1.4. static final String KEY_ACTION_BUTTONS
private static final String KEY_ACTION_BUTTONS = "action_buttons";
1.271.2. BluetoothDetailsButtonsControllerMethod方法列表
1.271.2.1. onForgetButtonPressed()
private void onForgetButtonPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForgetButtonPressed", ""));
1.271.2.2. init(PreferenceScreen screen)
protected void init(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "PreferenceScreen screen"));
1.271.2.3. refresh()
protected void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.271.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.272. BluetoothDetailsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDetailsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.272.1. BluetoothDetailsController Field属性列表
1.272.1.1. final Context mContext;
protected final Context mContext;
1.272.1.2. final PreferenceFragment mFragment;
protected final PreferenceFragment mFragment;
1.272.1.3. final CachedBluetoothDevice mCachedDevice;
protected final CachedBluetoothDevice mCachedDevice;
1.272.2. BluetoothDetailsControllerMethod方法列表
1.272.2.1. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.272.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.272.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.272.2.4. onDeviceAttributesChanged()
public void onDeviceAttributesChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAttributesChanged", ""));
1.272.2.5. final displayPreference(PreferenceScreen screen)
public final void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.272.2.6. abstract init(PreferenceScreen screen)
protected abstract void init(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "PreferenceScreen screen"));
1.272.2.7. abstract refresh()
protected abstract void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.273. BluetoothDetailsHeaderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDetailsHeaderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.273.1. BluetoothDetailsHeaderController Field属性列表
1.273.1.1. EntityHeaderController mHeaderController;
private EntityHeaderController mHeaderController;
1.273.1.2. LocalBluetoothManager mLocalManager;
private LocalBluetoothManager mLocalManager;
1.273.1.3. CachedBluetoothDeviceManager mDeviceManager;
private CachedBluetoothDeviceManager mDeviceManager;
1.273.1.4. static final String KEY_DEVICE_HEADER
private static final String KEY_DEVICE_HEADER = "bluetooth_device_header";
1.273.2. BluetoothDetailsHeaderControllerMethod方法列表
1.273.2.1. init(PreferenceScreen screen)
protected void init(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "PreferenceScreen screen"));
1.273.2.2. setHeaderProperties()
protected void setHeaderProperties()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderProperties", ""));
1.273.2.3. refresh()
protected void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.273.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.274. BluetoothDetailsMacAddressController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDetailsMacAddressController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.274.1. BluetoothDetailsMacAddressController Field属性列表
1.274.1.1. FooterPreferenceMixin mFooterPreferenceMixin;
FooterPreferenceMixin mFooterPreferenceMixin;
1.274.1.2. FooterPreference mFooterPreference;
FooterPreference mFooterPreference;
1.274.2. BluetoothDetailsMacAddressControllerMethod方法列表
1.274.2.1. init(PreferenceScreen screen)
protected void init(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "PreferenceScreen screen"));
1.274.2.2. refresh()
protected void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.274.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.275. BluetoothDetailsProfilesController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.275.1. BluetoothDetailsProfilesController Field属性列表
1.275.1.1. LocalBluetoothManager mManager;
private LocalBluetoothManager mManager;
1.275.1.2. LocalBluetoothProfileManager mProfileManager;
private LocalBluetoothProfileManager mProfileManager;
1.275.1.3. CachedBluetoothDevice mCachedDevice;
private CachedBluetoothDevice mCachedDevice;
1.275.1.4. PreferenceCategory mProfilesContainer;
private PreferenceCategory mProfilesContainer;
1.275.1.5. static final String KEY_PROFILES_GROUP
private static final String KEY_PROFILES_GROUP = "bluetooth_profiles";
1.275.1.6. static final String HIGH_QUALITY_AUDIO_PREF_TAG
@VisibleForTesting
static final String HIGH_QUALITY_AUDIO_PREF_TAG = "A2dpProfileHighQualityAudio";
1.275.2. BluetoothDetailsProfilesControllerMethod方法列表
1.275.2.1. init(PreferenceScreen screen)
protected void init(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "PreferenceScreen screen"));
1.275.2.2. createProfilePreference(Context context,LocalBluetoothProfile profile)
private SwitchPreference createProfilePreference(Context context, LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"SwitchPreference" ,"createProfilePreference", "Context context,LocalBluetoothProfile profile"));
1.275.2.3. refreshProfilePreference(SwitchPreference profilePref,LocalBluetoothProfile profile)
private void refreshProfilePreference(SwitchPreference profilePref, LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshProfilePreference", "SwitchPreference profilePref,LocalBluetoothProfile profile"));
1.275.2.4. enableProfile(LocalBluetoothProfile profile,BluetoothDevice device,SwitchPreference profilePref)
private void enableProfile(LocalBluetoothProfile profile, BluetoothDevice device, SwitchPreference profilePref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableProfile", "LocalBluetoothProfile profile,BluetoothDevice device,SwitchPreference profilePref"));
1.275.2.5. disableProfile(LocalBluetoothProfile profile,BluetoothDevice device,SwitchPreference profilePref)
private void disableProfile(LocalBluetoothProfile profile, BluetoothDevice device, SwitchPreference profilePref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableProfile", "LocalBluetoothProfile profile,BluetoothDevice device,SwitchPreference profilePref"));
1.275.2.6. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.275.2.7. getProfiles()
private List getProfiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getProfiles", ""));
1.275.2.8. maybeAddHighQualityAudioPref(LocalBluetoothProfile profile)
private void maybeAddHighQualityAudioPref(LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeAddHighQualityAudioPref", "LocalBluetoothProfile profile"));
1.275.2.9. refresh()
protected void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.275.2.10. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.276. BluetoothDeviceDetailsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDeviceDetailsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.276.1. BluetoothDeviceDetailsFragment Field属性列表
1.276.1.1. String mDeviceAddress;
private String mDeviceAddress;
1.276.1.2. LocalBluetoothManager mManager;
private LocalBluetoothManager mManager;
1.276.1.3. CachedBluetoothDevice mCachedDevice;
private CachedBluetoothDevice mCachedDevice;
1.276.1.4. static int EDIT_DEVICE_NAME_ITEM_ID
@VisibleForTesting
static int EDIT_DEVICE_NAME_ITEM_ID = Menu.FIRST;
1.276.1.5. static TestDataFactory sTestDataFactory;
@VisibleForTesting
static TestDataFactory sTestDataFactory;
1.276.1.6. static final String KEY_DEVICE_ADDRESS
public static final String KEY_DEVICE_ADDRESS = "device_address";
1.276.1.7. static final String TAG
private static final String TAG = "BTDeviceDetailsFrg";
1.276.2. BluetoothDeviceDetailsFragmentMethod方法列表
1.276.2.1. getLocalBluetoothManager(Context context)
LocalBluetoothManager getLocalBluetoothManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"LocalBluetoothManager" ,"getLocalBluetoothManager", "Context context"));
1.276.2.2. getCachedDevice(String deviceAddress)
CachedBluetoothDevice getCachedDevice(String deviceAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"CachedBluetoothDevice" ,"getCachedDevice", "String deviceAddress"));
1.276.2.3. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.276.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.276.2.5. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.276.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.276.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.276.2.8. onOptionsItemSelected(MenuItem menuItem)
public boolean onOptionsItemSelected(MenuItem menuItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem menuItem"));
1.276.2.9. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.276.2.10. static newInstance(String deviceAddress)
public static BluetoothDeviceDetailsFragment newInstance(String deviceAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothDeviceDetailsFragment" ,"newInstance", "String deviceAddress"));
1.277. BluetoothDeviceNamePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDeviceNamePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.277.1. BluetoothDeviceNamePreferenceController Field属性列表
1.277.1.1. Preference mPreference;
@VisibleForTesting
Preference mPreference;
1.277.1.2. LocalBluetoothManager mLocalManager;
private LocalBluetoothManager mLocalManager;
1.277.1.3. LocalBluetoothAdapter mLocalAdapter;
protected LocalBluetoothAdapter mLocalAdapter;
1.277.1.4. final BroadcastReceiver mReceiver
/**
* Receiver that listens to {@link BluetoothAdapter#ACTION_LOCAL_NAME_CHANGED} and updates the
* device name if possible
*/
@VisibleForTesting
final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final String action = intent.getAction();
if (TextUtils.equals(action, BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED)) {
if (mPreference != null && mLocalAdapter != null && mLocalAdapter.isEnabled()) {
updatePreferenceState(mPreference);
}
} else if (TextUtils.equals(action, BluetoothAdapter.ACTION_STATE_CHANGED)) {
updatePreferenceState(mPreference);
}
}
};
1.277.1.5. static final String TAG
private static final String TAG = "BluetoothNamePrefCtrl";
1.277.2. BluetoothDeviceNamePreferenceControllerMethod方法列表
1.277.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.277.2.2. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.277.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.277.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.277.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.277.2.6. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.277.2.7. createBluetoothDeviceNamePreference(PreferenceScreen screen,int order)
public Preference createBluetoothDeviceNamePreference(PreferenceScreen screen, int order)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createBluetoothDeviceNamePreference", "PreferenceScreen screen,int order"));
1.277.2.8. updatePreferenceState(final Preference preference)
protected void updatePreferenceState(final Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceState", "final Preference preference"));
1.277.2.9. getDeviceName()
protected String getDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceName", ""));
1.278. BluetoothDeviceNoNamePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothDeviceNoNamePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.278.1. BluetoothDeviceNoNamePreferenceController Field属性列表
1.278.1.1. static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_KEY
private static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_KEY = "bluetooth_show_devices_without_names";
1.278.1.2. static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY
@VisibleForTesting
static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY = "persist.bluetooth.showdeviceswithoutnames";
1.278.2. BluetoothDeviceNoNamePreferenceControllerMethod方法列表
1.278.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.278.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.278.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.278.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.279. BluetoothDevicePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDevicePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.279.1. BluetoothDevicePreference Field属性列表
1.279.1.1. AlertDialog mDisconnectDialog;
private AlertDialog mDisconnectDialog;
1.279.1.2. String contentDescription
private String contentDescription = null;
1.279.1.3. boolean mHideSecondTarget
private boolean mHideSecondTarget = false;
1.279.1.4. Resources mResources;
/* Talk-back descriptions for various BT icons */
Resources mResources;
1.279.1.5. final CachedBluetoothDevice mCachedDevice;
private final CachedBluetoothDevice mCachedDevice;
1.279.1.6. final UserManager mUserManager;
private final UserManager mUserManager;
1.279.1.7. final boolean mShowDevicesWithoutNames;
private final boolean mShowDevicesWithoutNames;
1.279.1.8. static int sDimAlpha
private static int sDimAlpha = Integer.MIN_VALUE;
1.279.1.9. static final String TAG
private static final String TAG = "BluetoothDevicePref";
1.279.2. BluetoothDevicePreferenceMethod方法列表
1.279.2.1. rebind()
void rebind()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebind", ""));
1.279.2.2. shouldHideSecondTarget()
protected boolean shouldHideSecondTarget()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideSecondTarget", ""));
1.279.2.3. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.279.2.4. getCachedDevice()
CachedBluetoothDevice getCachedDevice()
methodList.add(new ZMethod(mZAndroidAPPClass,"CachedBluetoothDevice" ,"getCachedDevice", ""));
1.279.2.5. onPrepareForRemoval()
protected void onPrepareForRemoval()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareForRemoval", ""));
1.279.2.6. getBluetoothDevice()
public CachedBluetoothDevice getBluetoothDevice()
methodList.add(new ZMethod(mZAndroidAPPClass,"CachedBluetoothDevice" ,"getBluetoothDevice", ""));
1.279.2.7. hideSecondTarget(boolean hideSecondTarget)
public void hideSecondTarget(boolean hideSecondTarget)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hideSecondTarget", "boolean hideSecondTarget"));
1.279.2.8. onDeviceAttributesChanged()
public void onDeviceAttributesChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAttributesChanged", ""));
1.279.2.9. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.279.2.10. equals(Object o)
public boolean equals(Object o)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object o"));
1.279.2.11. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.279.2.12. compareTo(Preference another)
public int compareTo(Preference another)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "Preference another"));
1.279.2.13. onClicked()
void onClicked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClicked", ""));
1.279.2.14. askDisconnect()
private void askDisconnect()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"askDisconnect", ""));
1.279.2.15. pair()
private void pair()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pair", ""));
1.280. BluetoothDeviceRenamePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDeviceRenamePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.280.1. BluetoothDeviceRenamePreferenceController Field属性列表
1.280.1.1. Fragment mFragment;
private Fragment mFragment;
1.280.1.2. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.280.2. BluetoothDeviceRenamePreferenceControllerMethod方法列表
1.280.2.1. setFragment(Fragment fragment)
public void setFragment(Fragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFragment", "Fragment fragment"));
1.280.2.2. updatePreferenceState(final Preference preference)
protected void updatePreferenceState(final Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceState", "final Preference preference"));
1.280.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.280.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.281. BluetoothDeviceUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDeviceUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.281.1. BluetoothDeviceUpdater Field属性列表
1.281.1.1. Context mPrefContext;
protected Context mPrefContext;
1.281.1.2. DashboardFragment mFragment;
protected DashboardFragment mFragment;
1.281.1.3. final LocalBluetoothManager mLocalManager;
protected final LocalBluetoothManager mLocalManager;
1.281.1.4. final DevicePreferenceCallback mDevicePreferenceCallback;
protected final DevicePreferenceCallback mDevicePreferenceCallback;
1.281.1.5. final Map mPreferenceMap;
protected final Map mPreferenceMap;
1.281.1.6. final boolean mShowDeviceWithoutNames;
private final boolean mShowDeviceWithoutNames;
1.281.1.7. final GearPreference.OnGearClickListener mDeviceProfilesListener
@VisibleForTesting
final GearPreference.OnGearClickListener mDeviceProfilesListener = pref -> {
launchDeviceDetails(pref);
};
1.281.1.8. static final String TAG
private static final String TAG = "BluetoothDeviceUpdater";
1.281.1.9. static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY
private static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY = "persist.bluetooth.showdeviceswithoutnames";
1.281.2. BluetoothDeviceUpdaterMethod方法列表
1.281.2.1. registerCallback()
public void registerCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerCallback", ""));
1.281.2.2. unregisterCallback()
public void unregisterCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterCallback", ""));
1.281.2.3. forceUpdate()
public void forceUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceUpdate", ""));
1.281.2.4. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.281.2.5. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.281.2.6. onDeviceAdded(CachedBluetoothDevice cachedDevice)
public void onDeviceAdded(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "CachedBluetoothDevice cachedDevice"));
1.281.2.7. onDeviceDeleted(CachedBluetoothDevice cachedDevice)
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceDeleted", "CachedBluetoothDevice cachedDevice"));
1.281.2.8. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.281.2.9. onConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state)
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state"));
1.281.2.10. onActiveDeviceChanged(CachedBluetoothDevice activeDevice,int bluetoothProfile)
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActiveDeviceChanged", "CachedBluetoothDevice activeDevice,int bluetoothProfile"));
1.281.2.11. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.281.2.12. onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile)
public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile"));
1.281.2.13. onServiceConnected()
public void onServiceConnected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onServiceConnected", ""));
1.281.2.14. onServiceDisconnected()
public void onServiceDisconnected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onServiceDisconnected", ""));
1.281.2.15. setPrefContext(Context context)
public void setPrefContext(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPrefContext", "Context context"));
1.281.2.16. update(CachedBluetoothDevice cachedBluetoothDevice)
protected void update(CachedBluetoothDevice cachedBluetoothDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", "CachedBluetoothDevice cachedBluetoothDevice"));
1.281.2.17. addPreference(CachedBluetoothDevice cachedDevice)
protected void addPreference(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreference", "CachedBluetoothDevice cachedDevice"));
1.281.2.18. removePreference(CachedBluetoothDevice cachedDevice)
protected void removePreference(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removePreference", "CachedBluetoothDevice cachedDevice"));
1.281.2.19. launchDeviceDetails(Preference preference)
protected void launchDeviceDetails(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchDeviceDetails", "Preference preference"));
1.281.2.20. isDeviceConnected(CachedBluetoothDevice cachedDevice)
public boolean isDeviceConnected(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceConnected", "CachedBluetoothDevice cachedDevice"));
1.281.2.21. abstract isFilterMatched(CachedBluetoothDevice cachedBluetoothDevice)
public abstract boolean isFilterMatched(CachedBluetoothDevice cachedBluetoothDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFilterMatched", "CachedBluetoothDevice cachedBluetoothDevice"));
1.282. BluetoothDiscoverableEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothDiscoverableEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.282.1. BluetoothDiscoverableEnabler Field属性列表
1.282.1.1. Context mContext;
private Context mContext;
1.282.1.2. boolean mDiscoverable;
private boolean mDiscoverable;
1.282.1.3. int mNumberOfPairedDevices;
private int mNumberOfPairedDevices;
1.282.1.4. int mTimeoutSecs
private int mTimeoutSecs = -1;
1.282.1.5. final Handler mUiHandler;
private final Handler mUiHandler;
1.282.1.6. final Preference mDiscoveryPreference;
private final Preference mDiscoveryPreference;
1.282.1.7. final LocalBluetoothAdapter mLocalAdapter;
private final LocalBluetoothAdapter mLocalAdapter;
1.282.1.8. final SharedPreferences mSharedPreferences;
private final SharedPreferences mSharedPreferences;
1.282.1.9. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (BluetoothAdapter.ACTION_SCAN_MODE_CHANGED.equals(intent.getAction())) {
int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE, BluetoothAdapter.ERROR);
if (mode != BluetoothAdapter.ERROR) {
handleModeChanged(mode);
}
}
}
};
1.282.1.10. final Runnable mUpdateCountdownSummaryRunnable
private final Runnable mUpdateCountdownSummaryRunnable = new Runnable() {
public void run() {
updateCountdownSummary();
}
};
1.282.1.11. static final String TAG
private static final String TAG = "BluetoothDiscoverableEnabler";
1.282.1.12. static final String SYSTEM_PROPERTY_DISCOVERABLE_TIMEOUT
private static final String SYSTEM_PROPERTY_DISCOVERABLE_TIMEOUT = "debug.bt.discoverable_time";
1.282.1.13. static final int DISCOVERABLE_TIMEOUT_TWO_MINUTES
private static final int DISCOVERABLE_TIMEOUT_TWO_MINUTES = 120;
1.282.1.14. static final int DISCOVERABLE_TIMEOUT_FIVE_MINUTES
private static final int DISCOVERABLE_TIMEOUT_FIVE_MINUTES = 300;
1.282.1.15. static final int DISCOVERABLE_TIMEOUT_ONE_HOUR
private static final int DISCOVERABLE_TIMEOUT_ONE_HOUR = 3600;
1.282.1.16. static final int DISCOVERABLE_TIMEOUT_NEVER
static final int DISCOVERABLE_TIMEOUT_NEVER = 0;
1.282.1.17. static final // Use the same preference key for discoverable timeout as the old ListPreference. private String KEY_DISCOVERABLE_TIMEOUT
// Bluetooth advanced settings screen was replaced with action bar items.
// Use the same preference key for discoverable timeout as the old ListPreference.
private static final String KEY_DISCOVERABLE_TIMEOUT = "bt_discoverable_timeout";
1.282.1.18. static final String VALUE_DISCOVERABLE_TIMEOUT_TWO_MINUTES
private static final String VALUE_DISCOVERABLE_TIMEOUT_TWO_MINUTES = "twomin";
1.282.1.19. static final String VALUE_DISCOVERABLE_TIMEOUT_FIVE_MINUTES
private static final String VALUE_DISCOVERABLE_TIMEOUT_FIVE_MINUTES = "fivemin";
1.282.1.20. static final String VALUE_DISCOVERABLE_TIMEOUT_ONE_HOUR
private static final String VALUE_DISCOVERABLE_TIMEOUT_ONE_HOUR = "onehour";
1.282.1.21. static final String VALUE_DISCOVERABLE_TIMEOUT_NEVER
private static final String VALUE_DISCOVERABLE_TIMEOUT_NEVER = "never";
1.282.1.22. static final int DEFAULT_DISCOVERABLE_TIMEOUT
static final int DEFAULT_DISCOVERABLE_TIMEOUT = DISCOVERABLE_TIMEOUT_TWO_MINUTES;
1.282.2. BluetoothDiscoverableEnablerMethod方法列表
1.282.2.1. resume(Context context)
public void resume(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", "Context context"));
1.282.2.2. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.282.2.3. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.282.2.4. setEnabled(boolean enable)
private void setEnabled(boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enable"));
1.282.2.5. updateTimerDisplay(int timeout)
private void updateTimerDisplay(int timeout)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTimerDisplay", "int timeout"));
1.282.2.6. setDiscoverableTimeout(int index)
void setDiscoverableTimeout(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDiscoverableTimeout", "int index"));
1.282.2.7. getDiscoverableTimeout()
private int getDiscoverableTimeout()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDiscoverableTimeout", ""));
1.282.2.8. getDiscoverableTimeoutIndex()
int getDiscoverableTimeoutIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDiscoverableTimeoutIndex", ""));
1.282.2.9. setNumberOfPairedDevices(int pairedDevices)
void setNumberOfPairedDevices(int pairedDevices)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNumberOfPairedDevices", "int pairedDevices"));
1.282.2.10. handleModeChanged(int mode)
void handleModeChanged(int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleModeChanged", "int mode"));
1.282.2.11. setSummaryNotDiscoverable()
private void setSummaryNotDiscoverable()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummaryNotDiscoverable", ""));
1.282.2.12. updateCountdownSummary()
private void updateCountdownSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCountdownSummary", ""));
1.282.2.13. static formatTimeRemaining(int timeout)
private static String formatTimeRemaining(int timeout)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatTimeRemaining", "int timeout"));
1.283. BluetoothEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.283.1. BluetoothEnabler Field属性列表
1.283.1.1. Context mContext;
private Context mContext;
1.283.1.2. boolean mValidListener;
private boolean mValidListener;
1.283.1.3. SwitchWidgetController.OnSwitchChangeListener mCallback;
private SwitchWidgetController.OnSwitchChangeListener mCallback;
1.283.1.4. final SwitchWidgetController mSwitchController;
private final SwitchWidgetController mSwitchController;
1.283.1.5. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.283.1.6. final LocalBluetoothAdapter mLocalAdapter;
private final LocalBluetoothAdapter mLocalAdapter;
1.283.1.7. final IntentFilter mIntentFilter;
private final IntentFilter mIntentFilter;
1.283.1.8. final RestrictionUtils mRestrictionUtils;
private final RestrictionUtils mRestrictionUtils;
1.283.1.9. final int mMetricsEvent;
private final int mMetricsEvent;
1.283.1.10. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
// Broadcast receiver is always running on the UI thread here,
// so we don't need consider thread synchronization.
int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
handleStateChanged(state);
}
};
1.283.1.11. static final String EVENT_DATA_IS_BT_ON
private static final String EVENT_DATA_IS_BT_ON = "is_bluetooth_on";
1.283.1.12. static final int EVENT_UPDATE_INDEX
private static final int EVENT_UPDATE_INDEX = 0;
1.283.2. BluetoothEnablerMethod方法列表
1.283.2.1. setupSwitchController()
public void setupSwitchController()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupSwitchController", ""));
1.283.2.2. teardownSwitchController()
public void teardownSwitchController()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"teardownSwitchController", ""));
1.283.2.3. resume(Context context)
public void resume(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", "Context context"));
1.283.2.4. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.283.2.5. handleStateChanged(int state)
void handleStateChanged(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleStateChanged", "int state"));
1.283.2.6. setChecked(boolean isChecked)
private void setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean isChecked"));
1.283.2.7. onSwitchToggled(boolean isChecked)
public boolean onSwitchToggled(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onSwitchToggled", "boolean isChecked"));
1.283.2.8. setToggleCallback(SwitchWidgetController.OnSwitchChangeListener listener)
public void setToggleCallback(SwitchWidgetController.OnSwitchChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setToggleCallback", "SwitchWidgetController.OnSwitchChangeListener listener"));
1.283.2.9. maybeEnforceRestrictions()
boolean maybeEnforceRestrictions()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"maybeEnforceRestrictions", ""));
1.283.2.10. triggerParentPreferenceCallback(boolean isChecked)
private void triggerParentPreferenceCallback(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"triggerParentPreferenceCallback", "boolean isChecked"));
1.283.2.11. static getEnforcedAdmin(RestrictionUtils mRestrictionUtils,Context mContext)
public static EnforcedAdmin getEnforcedAdmin(RestrictionUtils mRestrictionUtils, Context mContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getEnforcedAdmin", "RestrictionUtils mRestrictionUtils,Context mContext"));
1.284. BluetoothFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.285. BluetoothFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.285.1. BluetoothFeatureProviderImpl Field属性列表
1.285.2. BluetoothFeatureProviderImplMethod方法列表
1.285.2.1. isPairingPageEnabled()
public boolean isPairingPageEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPairingPageEnabled", ""));
1.285.2.2. isDeviceDetailPageEnabled()
public boolean isDeviceDetailPageEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceDetailPageEnabled", ""));
1.286. BluetoothFilesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothFilesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.286.1. BluetoothFilesPreferenceController Field属性列表
1.286.1.1. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.286.1.2. static final String TAG
private static final String TAG = "BluetoothFilesPrefCtrl";
1.286.1.3. static final String KEY_RECEIVED_FILES
public static final String KEY_RECEIVED_FILES = "bt_received_files";
1.286.1.4. static final String ACTION_OPEN_FILES
/* Private intent to show the list of received files */
@VisibleForTesting
static final String ACTION_OPEN_FILES = "com.android.bluetooth.action.TransferHistory";
1.286.1.5. static final String EXTRA_SHOW_ALL_FILES
@VisibleForTesting
static final String EXTRA_SHOW_ALL_FILES = "android.btopp.intent.extra.SHOW_ALL";
1.286.1.6. static final String EXTRA_DIRECTION
@VisibleForTesting
static final String EXTRA_DIRECTION = "direction";
1.286.2. BluetoothFilesPreferenceControllerMethod方法列表
1.286.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.286.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.286.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.287. BluetoothLengthDeviceNameFilter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothLengthDeviceNameFilter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.287.1. BluetoothLengthDeviceNameFilter Field属性列表
1.287.1.1. static final int BLUETOOTH_NAME_MAX_LENGTH_BYTES
private static final int BLUETOOTH_NAME_MAX_LENGTH_BYTES = 248;
1.287.2. BluetoothLengthDeviceNameFilterMethod方法列表
1.288. BluetoothMaxConnectedAudioDevicesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothMaxConnectedAudioDevicesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.288.1. BluetoothMaxConnectedAudioDevicesPreferenceController Field属性列表
1.288.1.1. final int mDefaultMaxConnectedAudioDevices;
private final int mDefaultMaxConnectedAudioDevices;
1.288.1.2. static final String MAX_CONNECTED_AUDIO_DEVICES_PREFERENCE_KEY
private static final String MAX_CONNECTED_AUDIO_DEVICES_PREFERENCE_KEY = "bluetooth_max_connected_audio_devices";
1.288.1.3. static final String MAX_CONNECTED_AUDIO_DEVICES_PROPERTY
@VisibleForTesting
static final String MAX_CONNECTED_AUDIO_DEVICES_PROPERTY = "persist.bluetooth.maxconnectedaudiodevices";
1.288.2. BluetoothMaxConnectedAudioDevicesPreferenceControllerMethod方法列表
1.288.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.288.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.288.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.288.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.288.2.5. onDeveloperOptionsSwitchEnabled()
protected void onDeveloperOptionsSwitchEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchEnabled", ""));
1.288.2.6. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.289. BluetoothNameDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothNameDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.289.1. BluetoothNameDialogFragment Field属性列表
1.289.1.1. AlertDialog mAlertDialog;
private AlertDialog mAlertDialog;
1.289.1.2. Button mOkButton;
private Button mOkButton;
1.289.1.3. EditText mDeviceNameView;
EditText mDeviceNameView;
1.289.1.4. boolean mDeviceNameUpdated;
// This flag is set when the name is updated by code, to distinguish from user changes
private boolean mDeviceNameUpdated;
1.289.1.5. boolean mDeviceNameEdited;
// This flag is set when the user edits the name (preserved on rotation)
private boolean mDeviceNameEdited;
1.289.1.6. static final String KEY_NAME
// Key to save the edited name and edit status for restoring after rotation
private static final String KEY_NAME = "device_name";
1.289.1.7. static final String KEY_NAME_EDITED
private static final String KEY_NAME_EDITED = "device_name_edited";
1.289.2. BluetoothNameDialogFragmentMethod方法列表
1.289.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.289.2.2. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.289.2.3. createDialogView(String deviceName)
private View createDialogView(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createDialogView", "String deviceName"));
1.289.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.289.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.289.2.6. updateDeviceName()
void updateDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDeviceName", ""));
1.289.2.7. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.289.2.8. onConfigurationChanged(Configuration newConfig,CharSequence s)
public void onConfigurationChanged(Configuration newConfig, CharSequence s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConfigurationChanged", "Configuration newConfig,CharSequence s"));
1.289.2.9. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.289.2.10. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.289.2.11. abstract getDialogTitle()
protected abstract int getDialogTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogTitle", ""));
1.289.2.12. abstract getDeviceName()
protected abstract String getDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceName", ""));
1.289.2.13. abstract setDeviceName(String deviceName)
protected abstract void setDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDeviceName", "String deviceName"));
1.290. BluetoothOnWhileDrivingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/BluetoothOnWhileDrivingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.290.1. BluetoothOnWhileDrivingPreferenceController Field属性列表
1.290.1.1. static final String KEY_BLUETOOTH_ON_DRIVING
static final String KEY_BLUETOOTH_ON_DRIVING = "bluetooth_on_while_driving";
1.290.2. BluetoothOnWhileDrivingPreferenceControllerMethod方法列表
1.290.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.290.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.290.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.291. BluetoothPairingController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.291.1. BluetoothPairingController Field属性列表
1.291.1.1. LocalBluetoothManager mBluetoothManager;
// Bluetooth dependencies for the connection we are trying to establish
private LocalBluetoothManager mBluetoothManager;
1.291.1.2. BluetoothDevice mDevice;
@VisibleForTesting
BluetoothDevice mDevice;
1.291.1.3. int mType;
@VisibleForTesting
int mType;
1.291.1.4. String mUserInput;
private String mUserInput;
1.291.1.5. String mPasskeyFormatted;
private String mPasskeyFormatted;
1.291.1.6. int mPasskey;
private int mPasskey;
1.291.1.7. String mDeviceName;
private String mDeviceName;
1.291.1.8. LocalBluetoothProfile mPbapClientProfile;
private LocalBluetoothProfile mPbapClientProfile;
1.291.1.9. boolean mPbapAllowed;
private boolean mPbapAllowed;
1.291.1.10. static final String TAG
private static final String TAG = "BTPairingController";
1.291.1.11. static final int INVALID_DIALOG_TYPE
// Different types of dialogs we can map to
public static final int INVALID_DIALOG_TYPE = -1;
1.291.1.12. static final int USER_ENTRY_DIALOG
public static final int USER_ENTRY_DIALOG = 0;
1.291.1.13. static final int CONFIRMATION_DIALOG
public static final int CONFIRMATION_DIALOG = 1;
1.291.1.14. static final int DISPLAY_PASSKEY_DIALOG
public static final int DISPLAY_PASSKEY_DIALOG = 2;
1.291.1.15. static final int BLUETOOTH_PIN_MAX_LENGTH
private static final int BLUETOOTH_PIN_MAX_LENGTH = 16;
1.291.1.16. static final int BLUETOOTH_PASSKEY_MAX_LENGTH
private static final int BLUETOOTH_PASSKEY_MAX_LENGTH = 6;
1.291.2. BluetoothPairingControllerMethod方法列表
1.291.2.1. onCheckedChanged(CompoundButton buttonView,boolean isChecked)
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton buttonView,boolean isChecked"));
1.291.2.2. onDialogPositiveClick(BluetoothPairingDialogFragment dialog)
public void onDialogPositiveClick(BluetoothPairingDialogFragment dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogPositiveClick", "BluetoothPairingDialogFragment dialog"));
1.291.2.3. onDialogNegativeClick(BluetoothPairingDialogFragment dialog)
public void onDialogNegativeClick(BluetoothPairingDialogFragment dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogNegativeClick", "BluetoothPairingDialogFragment dialog"));
1.291.2.4. getDialogType()
public int getDialogType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogType", ""));
1.291.2.5. getDeviceName()
public String getDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceName", ""));
1.291.2.6. isProfileReady()
public boolean isProfileReady()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProfileReady", ""));
1.291.2.7. getContactSharingState()
public boolean getContactSharingState()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getContactSharingState", ""));
1.291.2.8. setContactSharingState()
public void setContactSharingState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setContactSharingState", ""));
1.291.2.9. isPasskeyValid(Editable s)
public boolean isPasskeyValid(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPasskeyValid", "Editable s"));
1.291.2.10. getDeviceVariantMessageId()
public int getDeviceVariantMessageId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDeviceVariantMessageId", ""));
1.291.2.11. getDeviceVariantMessageHintId()
public int getDeviceVariantMessageHintId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDeviceVariantMessageHintId", ""));
1.291.2.12. getDeviceMaxPasskeyLength()
public int getDeviceMaxPasskeyLength()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDeviceMaxPasskeyLength", ""));
1.291.2.13. pairingCodeIsAlphanumeric()
public boolean pairingCodeIsAlphanumeric()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"pairingCodeIsAlphanumeric", ""));
1.291.2.14. notifyDialogDisplayed()
protected void notifyDialogDisplayed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyDialogDisplayed", ""));
1.291.2.15. isDisplayPairingKeyVariant()
public boolean isDisplayPairingKeyVariant()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisplayPairingKeyVariant", ""));
1.291.2.16. hasPairingContent()
public boolean hasPairingContent()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasPairingContent", ""));
1.291.2.17. getPairingContent()
public String getPairingContent()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPairingContent", ""));
1.291.2.18. updateUserInput(String input)
protected void updateUserInput(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUserInput", "String input"));
1.291.2.19. formatKey(int passkey)
private String formatKey(int passkey)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatKey", "int passkey"));
1.291.2.20. onPair(String passkey)
private void onPair(String passkey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPair", "String passkey"));
1.291.2.21. onCancel()
public void onCancel()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancel", ""));
1.291.2.22. deviceEquals(BluetoothDevice device)
public boolean deviceEquals(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"deviceEquals", "BluetoothDevice device"));
1.292. BluetoothPairingDetail.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDetail.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.292.1. BluetoothPairingDetail Field属性列表
1.292.1.1. BluetoothProgressCategory mAvailableDevicesCategory;
@VisibleForTesting
BluetoothProgressCategory mAvailableDevicesCategory;
1.292.1.2. FooterPreference mFooterPreference;
@VisibleForTesting
FooterPreference mFooterPreference;
1.292.1.3. AlwaysDiscoverable mAlwaysDiscoverable;
@VisibleForTesting
AlwaysDiscoverable mAlwaysDiscoverable;
1.292.1.4. boolean mInitialScanStarted;
private boolean mInitialScanStarted;
1.292.1.5. static final String TAG
private static final String TAG = "BluetoothPairingDetail";
1.292.1.6. static final String KEY_AVAIL_DEVICES
@VisibleForTesting
static final String KEY_AVAIL_DEVICES = "available_devices";
1.292.1.7. static final String KEY_FOOTER_PREF
@VisibleForTesting
static final String KEY_FOOTER_PREF = "footer_preference";
1.292.2. BluetoothPairingDetailMethod方法列表
1.292.2.1. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.292.2.2. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.292.2.3. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.292.2.4. updateBluetooth()
void updateBluetooth()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBluetooth", ""));
1.292.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.292.2.6. initPreferencesFromPreferenceScreen()
void initPreferencesFromPreferenceScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreferencesFromPreferenceScreen", ""));
1.292.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.292.2.8. enableScanning()
void enableScanning()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableScanning", ""));
1.292.2.9. onDevicePreferenceClick(BluetoothDevicePreference btPreference)
void onDevicePreferenceClick(BluetoothDevicePreference btPreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDevicePreferenceClick", "BluetoothDevicePreference btPreference"));
1.292.2.10. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.292.2.11. updateContent(int bluetoothState)
void updateContent(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateContent", "int bluetoothState"));
1.292.2.12. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.292.2.13. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.292.2.14. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.292.2.15. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.292.2.16. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.292.2.17. getDeviceListKey()
public String getDeviceListKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceListKey", ""));
1.293. BluetoothPairingDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.293.1. BluetoothPairingDialog Field属性列表
1.293.1.1. BluetoothPairingController mBluetoothPairingController;
private BluetoothPairingController mBluetoothPairingController;
1.293.1.2. boolean mReceiverRegistered
private boolean mReceiverRegistered = false;
1.293.1.3. final BroadcastReceiver mReceiver
/**
* Dismiss the dialog if the bond state changes to bonded or none,
* or if pairing was canceled for {@link BluetoothPairingController#mDevice}.
*/
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (BluetoothDevice.ACTION_BOND_STATE_CHANGED.equals(action)) {
int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR);
if (bondState == BluetoothDevice.BOND_BONDED || bondState == BluetoothDevice.BOND_NONE) {
dismiss();
}
} else if (BluetoothDevice.ACTION_PAIRING_CANCEL.equals(action)) {
BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
if (device == null || mBluetoothPairingController.deviceEquals(device)) {
dismiss();
}
}
}
};
1.293.1.4. static final String FRAGMENT_TAG
public static final String FRAGMENT_TAG = "bluetooth.pairing.fragment";
1.293.2. BluetoothPairingDialogMethod方法列表
1.293.2.1. onCreate(@Nullable Bundle savedInstanceState)
protected void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.293.2.2. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.293.2.3. dismiss()
void dismiss()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismiss", ""));
1.294. BluetoothPairingDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.294.1. BluetoothPairingDialogFragment Field属性列表
1.294.1.1. AlertDialog.Builder mBuilder;
private AlertDialog.Builder mBuilder;
1.294.1.2. AlertDialog mDialog;
private AlertDialog mDialog;
1.294.1.3. BluetoothPairingController mPairingController;
private BluetoothPairingController mPairingController;
1.294.1.4. BluetoothPairingDialog mPairingDialogActivity;
private BluetoothPairingDialog mPairingDialogActivity;
1.294.1.5. EditText mPairingView;
private EditText mPairingView;
1.294.1.6. static final String TAG
private static final String TAG = "BTPairingDialogFragment";
1.294.2. BluetoothPairingDialogFragmentMethod方法列表
1.294.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.294.2.2. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.294.2.3. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.294.2.4. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.294.2.5. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.294.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.294.2.7. getmDialog()
protected AlertDialog getmDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"getmDialog", ""));
1.294.2.8. setPairingController(BluetoothPairingController pairingController)
void setPairingController(BluetoothPairingController pairingController)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPairingController", "BluetoothPairingController pairingController"));
1.294.2.9. isPairingControllerSet()
boolean isPairingControllerSet()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPairingControllerSet", ""));
1.294.2.10. setPairingDialogActivity(BluetoothPairingDialog pairingDialogActivity)
void setPairingDialogActivity(BluetoothPairingDialog pairingDialogActivity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPairingDialogActivity", "BluetoothPairingDialog pairingDialogActivity"));
1.294.2.11. isPairingDialogActivitySet()
boolean isPairingDialogActivitySet()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPairingDialogActivitySet", ""));
1.294.2.12. setupDialog()
private AlertDialog setupDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"setupDialog", ""));
1.294.2.13. getPairingViewText()
CharSequence getPairingViewText()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPairingViewText", ""));
1.294.2.14. createUserEntryDialog()
private AlertDialog createUserEntryDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createUserEntryDialog", ""));
1.294.2.15. createPinEntryView()
private View createPinEntryView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createPinEntryView", ""));
1.294.2.16. createConfirmationDialog()
private AlertDialog createConfirmationDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createConfirmationDialog", ""));
1.294.2.17. createConsentDialog()
private AlertDialog createConsentDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createConsentDialog", ""));
1.294.2.18. createDisplayPasskeyOrPinDialog()
private AlertDialog createDisplayPasskeyOrPinDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDisplayPasskeyOrPinDialog", ""));
1.294.2.19. createView()
private View createView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createView", ""));
1.295. BluetoothPairingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.295.1. BluetoothPairingPreferenceController Field属性列表
1.295.1.1. DashboardFragment mFragment;
private DashboardFragment mFragment;
1.295.1.2. Preference mPreference;
private Preference mPreference;
1.295.1.3. static final String TAG
private static final String TAG = "BluetoothPairingPrefCtrl";
1.295.1.4. static final String KEY_PAIRING
public static final String KEY_PAIRING = "pref_bt_pairing";
1.295.2. BluetoothPairingPreferenceControllerMethod方法列表
1.295.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.295.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.295.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.295.2.4. createBluetoothPairingPreference(int order)
public Preference createBluetoothPairingPreference(int order)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createBluetoothPairingPreference", "int order"));
1.296. BluetoothPairingRequest.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingRequest.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.296.1. BluetoothPairingRequest Field属性列表
1.296.2. BluetoothPairingRequestMethod方法列表
1.296.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.297. BluetoothPairingService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPairingService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.297.1. BluetoothPairingService Field属性列表
1.297.1.1. BluetoothDevice mDevice;
private BluetoothDevice mDevice;
1.297.1.2. boolean mRegistered
private boolean mRegistered = false;
1.297.1.3. final BroadcastReceiver mCancelReceiver
private final BroadcastReceiver mCancelReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(BluetoothDevice.ACTION_BOND_STATE_CHANGED)) {
int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR);
if ((bondState != BluetoothDevice.BOND_NONE) && (bondState != BluetoothDevice.BOND_BONDED)) {
return;
}
} else if (action.equals(ACTION_DISMISS_PAIRING)) {
Log.d(TAG, "Notification cancel " + mDevice.getAddress() + " (" + mDevice.getName() + ")");
mDevice.cancelPairingUserInput();
} else {
int bondState = intent.getIntExtra(BluetoothDevice.EXTRA_BOND_STATE, BluetoothDevice.ERROR);
Log.d(TAG, "Dismiss pairing for " + mDevice.getAddress() + " (" + mDevice.getName() + "), BondState: " + bondState);
}
stopForeground(true);
stopSelf();
}
};
1.297.1.4. static final int NOTIFICATION_ID
private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth;
1.297.1.5. static final String ACTION_DISMISS_PAIRING
private static final String ACTION_DISMISS_PAIRING = "com.android.settings.bluetooth.ACTION_DISMISS_PAIRING";
1.297.1.6. static final String BLUETOOTH_NOTIFICATION_CHANNEL
private static final String BLUETOOTH_NOTIFICATION_CHANNEL = "bluetooth_notification_channel";
1.297.1.7. static final String TAG
private static final String TAG = "BluetoothPairingService";
1.297.2. BluetoothPairingServiceMethod方法列表
1.297.2.1. onCreate()
public void onCreate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", ""));
1.297.2.2. onStartCommand(Intent intent,int flags,int startId)
public int onStartCommand(Intent intent, int flags, int startId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"onStartCommand", "Intent intent,int flags,int startId"));
1.297.2.3. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.297.2.4. onBind(Intent intent)
public IBinder onBind(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"IBinder" ,"onBind", "Intent intent"));
1.297.2.5. static getPairingDialogIntent(Context context,Intent intent)
public static Intent getPairingDialogIntent(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getPairingDialogIntent", "Context context,Intent intent"));
1.298. BluetoothPermissionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.298.1. BluetoothPermissionActivity Field属性列表
1.298.1.1. View mView;
private View mView;
1.298.1.2. TextView messageView;
private TextView messageView;
1.298.1.3. Button mOkButton;
private Button mOkButton;
1.298.1.4. BluetoothDevice mDevice;
private BluetoothDevice mDevice;
1.298.1.5. String mReturnPackage
private String mReturnPackage = null;
1.298.1.6. String mReturnClass
private String mReturnClass = null;
1.298.1.7. int mRequestType
private int mRequestType = 0;
1.298.1.8. BroadcastReceiver mReceiver
private BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(BluetoothDevice.ACTION_CONNECTION_ACCESS_CANCEL)) {
int requestType = intent.getIntExtra(BluetoothDevice.EXTRA_ACCESS_REQUEST_TYPE, BluetoothDevice.REQUEST_TYPE_PHONEBOOK_ACCESS);
if (requestType != mRequestType)
return;
BluetoothDevice device = intent.getParcelableExtra(BluetoothDevice.EXTRA_DEVICE);
if (mDevice.equals(device))
dismissDialog();
}
}
};
1.298.1.9. boolean mReceiverRegistered
private boolean mReceiverRegistered = false;
1.298.1.10. static final String TAG
private static final String TAG = "BluetoothPermissionActivity";
1.298.1.11. static final boolean DEBUG
private static final boolean DEBUG = Utils.D;
1.298.2. BluetoothPermissionActivityMethod方法列表
1.298.2.1. dismissDialog()
private void dismissDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismissDialog", ""));
1.298.2.2. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.298.2.3. showDialog(String title,int requestType)
private void showDialog(String title, int requestType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialog", "String title,int requestType"));
1.298.2.4. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.298.2.5. createConnectionDialogView()
private View createConnectionDialogView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createConnectionDialogView", ""));
1.298.2.6. createPhonebookDialogView()
private View createPhonebookDialogView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createPhonebookDialogView", ""));
1.298.2.7. createMapDialogView()
private View createMapDialogView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createMapDialogView", ""));
1.298.2.8. createSapDialogView()
private View createSapDialogView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createSapDialogView", ""));
1.298.2.9. onPositive()
private void onPositive()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPositive", ""));
1.298.2.10. onNegative()
private void onNegative()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNegative", ""));
1.298.2.11. sendReplyIntentToReceiver(final boolean allowed,final boolean always)
private void sendReplyIntentToReceiver(final boolean allowed, final boolean always)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendReplyIntentToReceiver", "final boolean allowed,final boolean always"));
1.298.2.12. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.298.2.13. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.298.2.14. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.299. BluetoothPermissionRequest.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPermissionRequest.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.299.1. BluetoothPermissionRequest Field属性列表
1.299.1.1. NotificationChannel mNotificationChannel
private NotificationChannel mNotificationChannel = null;
1.299.1.2. Context mContext;
Context mContext;
1.299.1.3. int mRequestType;
int mRequestType;
1.299.1.4. BluetoothDevice mDevice;
BluetoothDevice mDevice;
1.299.1.5. String mReturnPackage
String mReturnPackage = null;
1.299.1.6. String mReturnClass
String mReturnClass = null;
1.299.1.7. static final String TAG
private static final String TAG = "BluetoothPermissionRequest";
1.299.1.8. static final boolean DEBUG
private static final boolean DEBUG = Utils.V;
1.299.1.9. static final int NOTIFICATION_ID
private static final int NOTIFICATION_ID = android.R.drawable.stat_sys_data_bluetooth;
1.299.1.10. static final String NOTIFICATION_TAG_PBAP
private static final String NOTIFICATION_TAG_PBAP = "Phonebook Access";
1.299.1.11. static final String NOTIFICATION_TAG_MAP
private static final String NOTIFICATION_TAG_MAP = "Message Access";
1.299.1.12. static final String NOTIFICATION_TAG_SAP
private static final String NOTIFICATION_TAG_SAP = "SIM Access";
1.299.1.13. static final String BLUETOOTH_NOTIFICATION_CHANNEL
/* TODO: Consolidate this multiple defined but common channel ID with other
* handlers that declare and use the same channel ID */
private static final String BLUETOOTH_NOTIFICATION_CHANNEL = "bluetooth_notification_channel";
1.299.2. BluetoothPermissionRequestMethod方法列表
1.299.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.299.2.2. getNotificationTag(int requestType)
private String getNotificationTag(int requestType)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getNotificationTag", "int requestType"));
1.299.2.3. checkUserChoice()
private boolean checkUserChoice()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkUserChoice", ""));
1.299.2.4. sendReplyIntentToReceiver(final boolean allowed)
private void sendReplyIntentToReceiver(final boolean allowed)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendReplyIntentToReceiver", "final boolean allowed"));
1.300. BluetoothProgressCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothProgressCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.300.1. BluetoothProgressCategory Field属性列表
1.300.2. BluetoothProgressCategoryMethod方法列表
1.300.2.1. init()
private void init()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", ""));
1.301. BluetoothScanAnomalyDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/BluetoothScanAnomalyDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.301.1. BluetoothScanAnomalyDetector Field属性列表
1.301.1.1. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.301.1.2. long mBluetoothScanningThreshold;
private long mBluetoothScanningThreshold;
1.301.1.3. Context mContext;
private Context mContext;
1.301.1.4. AnomalyUtils mAnomalyUtils;
private AnomalyUtils mAnomalyUtils;
1.301.1.5. static final String TAG
private static final String TAG = "BluetoothScanAnomalyDetector";
1.301.2. BluetoothScanAnomalyDetectorMethod方法列表
1.301.2.1. detectAnomalies(BatteryStatsHelper batteryStatsHelper)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper"));
1.301.2.2. detectAnomalies(BatteryStatsHelper batteryStatsHelper,String targetPackageName)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper, String targetPackageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper,String targetPackageName"));
1.301.2.3. getBluetoothUnoptimizedBgTimeMs(BatteryStats.Uid uid,long elapsedRealtimeMs)
public long getBluetoothUnoptimizedBgTimeMs(BatteryStats.Uid uid, long elapsedRealtimeMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getBluetoothUnoptimizedBgTimeMs", "BatteryStats.Uid uid,long elapsedRealtimeMs"));
1.302. BluetoothScanningPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/BluetoothScanningPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.302.1. BluetoothScanningPreferenceController Field属性列表
1.302.1.1. static final String KEY_BLUETOOTH_SCAN_ALWAYS_AVAILABLE
private static final String KEY_BLUETOOTH_SCAN_ALWAYS_AVAILABLE = "bluetooth_always_scanning";
1.302.2. BluetoothScanningPreferenceControllerMethod方法列表
1.302.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.302.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.302.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.302.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.303. BluetoothServiceConnectionListener.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothServiceConnectionListener.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.304. BluetoothSliceBuilder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSliceBuilder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.304.1. BluetoothSliceBuilder Field属性列表
1.304.1.1. static final String TAG
private static final String TAG = "BluetoothSliceBuilder";
1.304.1.2. static final Uri BLUETOOTH_URI
/**
* Backing Uri for the Bluetooth Slice.
*/
public static final Uri BLUETOOTH_URI = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(SettingsSlicesContract.AUTHORITY).appendPath(SettingsSlicesContract.PATH_SETTING_ACTION).appendPath(SettingsSlicesContract.KEY_BLUETOOTH).build();
1.304.1.3. static final String ACTION_BLUETOOTH_SLICE_CHANGED
/**
* Action notifying a change on the BluetoothSlice.
*/
public static final String ACTION_BLUETOOTH_SLICE_CHANGED = "com.android.settings.bluetooth.action.BLUETOOTH_MODE_CHANGED";
1.304.1.4. static final IntentFilter INTENT_FILTER
public static final IntentFilter INTENT_FILTER = new IntentFilter();
1.304.2. BluetoothSliceBuilderMethod方法列表
1.304.2.1. static getSlice(Context context)
public static Slice getSlice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getSlice", "Context context"));
1.304.2.2. static getIntent(Context context)
public static Intent getIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", "Context context"));
1.304.2.3. static handleUriChange(Context context,Intent intent)
public static void handleUriChange(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUriChange", "Context context,Intent intent"));
1.304.2.4. static isBluetoothEnabled()
private static boolean isBluetoothEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBluetoothEnabled", ""));
1.304.2.5. static getPrimaryAction(Context context)
private static PendingIntent getPrimaryAction(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getPrimaryAction", "Context context"));
1.304.2.6. static getBroadcastIntent(Context context)
private static PendingIntent getBroadcastIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getBroadcastIntent", "Context context"));
1.305. BluetoothSnoopLogPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BluetoothSnoopLogPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.305.1. BluetoothSnoopLogPreferenceController Field属性列表
1.305.1.1. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "bt_hci_snoop_log";
1.305.1.2. static final String BLUETOOTH_BTSNOOP_ENABLE_PROPERTY
@VisibleForTesting
static final String BLUETOOTH_BTSNOOP_ENABLE_PROPERTY = "persist.bluetooth.btsnoopenable";
1.305.2. BluetoothSnoopLogPreferenceControllerMethod方法列表
1.305.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.305.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.305.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.305.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.306. BluetoothSummaryUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSummaryUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.306.1. BluetoothSummaryUpdater Field属性列表
1.306.1.1. final LocalBluetoothManager mBluetoothManager;
private final LocalBluetoothManager mBluetoothManager;
1.306.1.2. final LocalBluetoothAdapter mBluetoothAdapter;
private final LocalBluetoothAdapter mBluetoothAdapter;
1.306.1.3. static final String TAG
private static final String TAG = "BluetoothSummaryUpdater";
1.306.2. BluetoothSummaryUpdaterMethod方法列表
1.306.2.1. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.306.2.2. onConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state)
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state"));
1.306.2.3. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.306.2.4. onDeviceAdded(CachedBluetoothDevice cachedDevice)
public void onDeviceAdded(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "CachedBluetoothDevice cachedDevice"));
1.306.2.5. onDeviceDeleted(CachedBluetoothDevice cachedDevice)
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceDeleted", "CachedBluetoothDevice cachedDevice"));
1.306.2.6. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.306.2.7. onActiveDeviceChanged(CachedBluetoothDevice activeDevice,int bluetoothProfile)
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActiveDeviceChanged", "CachedBluetoothDevice activeDevice,int bluetoothProfile"));
1.306.2.8. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.306.2.9. register(boolean listening)
public void register(boolean listening)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", "boolean listening"));
1.306.2.10. getSummary()
public String getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", ""));
1.306.2.11. getConnectedDeviceSummary()
String getConnectedDeviceSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConnectedDeviceSummary", ""));
1.307. BluetoothSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.307.1. BluetoothSwitchPreferenceController Field属性列表
1.307.1.1. LocalBluetoothAdapter mBluetoothAdapter;
@VisibleForTesting
LocalBluetoothAdapter mBluetoothAdapter;
1.307.1.2. LocalBluetoothManager mBluetoothManager;
private LocalBluetoothManager mBluetoothManager;
1.307.1.3. BluetoothEnabler mBluetoothEnabler;
private BluetoothEnabler mBluetoothEnabler;
1.307.1.4. RestrictionUtils mRestrictionUtils;
private RestrictionUtils mRestrictionUtils;
1.307.1.5. SwitchWidgetController mSwitch;
private SwitchWidgetController mSwitch;
1.307.1.6. Context mContext;
private Context mContext;
1.307.1.7. FooterPreference mFooterPreference;
private FooterPreference mFooterPreference;
1.307.2. BluetoothSwitchPreferenceControllerMethod方法列表
1.307.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.307.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.307.2.3. onSwitchToggled(boolean isChecked)
public boolean onSwitchToggled(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onSwitchToggled", "boolean isChecked"));
1.307.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.307.2.5. updateText(boolean isChecked)
void updateText(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateText", "boolean isChecked"));
1.308. BootSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/BootSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.308.1. BootSoundPreferenceController Field属性列表
1.308.1.1. static final String KEY_BOOT_SOUNDS
// Boot Sounds needs to be a system property so it can be accessed during boot.
private static final String KEY_BOOT_SOUNDS = "boot_sounds";
1.308.1.2. static final String PROPERTY_BOOT_SOUNDS
@VisibleForTesting
static final String PROPERTY_BOOT_SOUNDS = "persist.sys.bootanim.play_sound";
1.308.2. BootSoundPreferenceControllerMethod方法列表
1.308.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.308.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.308.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.308.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.309. BottomLabelLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/graph/BottomLabelLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.309.1. BottomLabelLayout Field属性列表
1.309.1.1. static final String TAG
private static final String TAG = "BottomLabelLayout";
1.309.2. BottomLabelLayoutMethod方法列表
1.309.2.1. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.309.2.2. setStacked(boolean stacked)
void setStacked(boolean stacked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStacked", "boolean stacked"));
1.309.2.3. isStacked()
private boolean isStacked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isStacked", ""));
1.310. BrandedAccountPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/BrandedAccountPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.310.1. BrandedAccountPreferenceController Field属性列表
1.310.1.1. final Account[] mAccounts;
private final Account[] mAccounts;
1.310.1.2. static final String KEY_PREFERENCE_TITLE
private static final String KEY_PREFERENCE_TITLE = "branded_account";
1.310.2. BrandedAccountPreferenceControllerMethod方法列表
1.310.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.310.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.311. BrightnessLevelPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/BrightnessLevelPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.311.1. BrightnessLevelPreferenceController Field属性列表
1.311.1.1. Preference mPreference;
private Preference mPreference;
1.311.1.2. ContentObserver mBrightnessObserver
private ContentObserver mBrightnessObserver = new ContentObserver(new Handler(Looper.getMainLooper())) {
@Override
public void onChange(boolean selfChange) {
updatedSummary(mPreference);
}
};
1.311.1.3. final int mMinBrightness;
private final int mMinBrightness;
1.311.1.4. final int mMaxBrightness;
private final int mMaxBrightness;
1.311.1.5. final int mMinVrBrightness;
private final int mMinVrBrightness;
1.311.1.6. final int mMaxVrBrightness;
private final int mMaxVrBrightness;
1.311.1.7. final ContentResolver mContentResolver;
private final ContentResolver mContentResolver;
1.311.1.8. static final String TAG
private static final String TAG = "BrightnessPrefCtrl";
1.311.1.9. static final String KEY_BRIGHTNESS
private static final String KEY_BRIGHTNESS = "brightness";
1.311.1.10. static final Uri BRIGHTNESS_URI;
private static final Uri BRIGHTNESS_URI;
1.311.1.11. static final Uri BRIGHTNESS_FOR_VR_URI;
private static final Uri BRIGHTNESS_FOR_VR_URI;
1.311.1.12. static final Uri BRIGHTNESS_ADJ_URI;
private static final Uri BRIGHTNESS_ADJ_URI;
1.311.2. BrightnessLevelPreferenceControllerMethod方法列表
1.311.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.311.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.311.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.311.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.311.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.311.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.311.2.7. updatedSummary(Preference preference)
private void updatedSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatedSummary", "Preference preference"));
1.311.2.8. getCurrentBrightness()
private double getCurrentBrightness()
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"getCurrentBrightness", ""));
1.311.2.9. getPercentage(double value,int min,int max)
private double getPercentage(double value, int min, int max)
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"getPercentage", "double value,int min,int max"));
1.311.2.10. isInVrMode()
boolean isInVrMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInVrMode", ""));
1.312. BrightnessPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/BrightnessPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.312.1. BrightnessPreference Field属性列表
1.312.2. BrightnessPreferenceMethod方法列表
1.312.2.1. onClick()
protected void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.313. BugReportInPowerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BugReportInPowerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.313.1. BugReportInPowerPreferenceController Field属性列表
1.313.1.1. final UserManager mUserManager;
private final UserManager mUserManager;
1.313.1.2. static int SETTING_VALUE_ON
@VisibleForTesting
static int SETTING_VALUE_ON = 1;
1.313.1.3. static int SETTING_VALUE_OFF
@VisibleForTesting
static int SETTING_VALUE_OFF = 0;
1.313.1.4. static final String KEY_BUGREPORT_IN_POWER
private static final String KEY_BUGREPORT_IN_POWER = "bugreport_in_power";
1.313.2. BugReportInPowerPreferenceControllerMethod方法列表
1.313.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.313.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.313.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.313.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.313.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.314. BugreportPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/BugreportPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.314.1. BugreportPreference Field属性列表
1.314.1.1. CheckedTextView mInteractiveTitle;
private CheckedTextView mInteractiveTitle;
1.314.1.2. TextView mInteractiveSummary;
private TextView mInteractiveSummary;
1.314.1.3. CheckedTextView mFullTitle;
private CheckedTextView mFullTitle;
1.314.1.4. TextView mFullSummary;
private TextView mFullSummary;
1.314.1.5. static final String TAG
private static final String TAG = "BugreportPreference";
1.314.2. BugreportPreferenceMethod方法列表
1.314.2.1. onPrepareDialogBuilder(Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "Builder builder,DialogInterface.OnClickListener listener"));
1.314.2.2. onClick(DialogInterface dialog,int which)
protected void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.314.2.3. takeBugreport(int bugreportType)
private void takeBugreport(int bugreportType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"takeBugreport", "int bugreportType"));
1.315. BugReportPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/BugReportPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.315.1. BugReportPreferenceController Field属性列表
1.315.1.1. final UserManager mUserManager;
private final UserManager mUserManager;
1.315.1.2. static final String KEY_BUGREPORT
private static final String KEY_BUGREPORT = "bugreport";
1.315.2. BugReportPreferenceControllerMethod方法列表
1.315.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.315.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.316. BugReportsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/BugReportsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.316.1. BugReportsPreferenceController Field属性列表
1.316.1.1. static final String KEY_BUG_REPORTS
private static final String KEY_BUG_REPORTS = "bug_reports";
1.316.2. BugReportsPreferenceControllerMethod方法列表
1.316.2.1. getAdminActionTimestamp()
protected Date getAdminActionTimestamp()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getAdminActionTimestamp", ""));
1.316.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.317. BuildNumberDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/BuildNumberDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.317.1. BuildNumberDialogController Field属性列表
1.317.1.1. final FirmwareVersionDialogFragment mDialog;
private final FirmwareVersionDialogFragment mDialog;
1.317.1.2. static final int BUILD_NUMBER_VALUE_ID
@VisibleForTesting
static final int BUILD_NUMBER_VALUE_ID = R.id.build_number_value;
1.317.2. BuildNumberDialogControllerMethod方法列表
1.317.2.1. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.318. BuildNumberPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/BuildNumberPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.318.1. BuildNumberPreferenceController Field属性列表
1.318.1.1. Toast mDevHitToast;
private Toast mDevHitToast;
1.318.1.2. RestrictedLockUtils.EnforcedAdmin mDebuggingFeaturesDisallowedAdmin;
private RestrictedLockUtils.EnforcedAdmin mDebuggingFeaturesDisallowedAdmin;
1.318.1.3. boolean mDebuggingFeaturesDisallowedBySystem;
private boolean mDebuggingFeaturesDisallowedBySystem;
1.318.1.4. int mDevHitCountdown;
private int mDevHitCountdown;
1.318.1.5. boolean mProcessingLastDevHit;
private boolean mProcessingLastDevHit;
1.318.1.6. final Activity mActivity;
private final Activity mActivity;
1.318.1.7. final Fragment mFragment;
private final Fragment mFragment;
1.318.1.8. final UserManager mUm;
private final UserManager mUm;
1.318.1.9. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.318.1.10. static final int TAPS_TO_BE_A_DEVELOPER
static final int TAPS_TO_BE_A_DEVELOPER = 7;
1.318.1.11. static final int REQUEST_CONFIRM_PASSWORD_FOR_DEV_PREF
static final int REQUEST_CONFIRM_PASSWORD_FOR_DEV_PREF = 100;
1.318.1.12. static final String KEY_BUILD_NUMBER
private static final String KEY_BUILD_NUMBER = "build_number";
1.318.2. BuildNumberPreferenceControllerMethod方法列表
1.318.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.318.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.318.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.318.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.318.2.5. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.318.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.318.2.7. enableDevelopmentSettings()
private void enableDevelopmentSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableDevelopmentSettings", ""));
1.319. ButtonActionDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/ButtonActionDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.319.1. ButtonActionDialogFragment Field属性列表
1.319.1.1. int mId;
@VisibleForTesting
int mId;
1.319.1.2. static final String ARG_ID
private static final String ARG_ID = "id";
1.319.2. ButtonActionDialogFragmentMethod方法列表
1.319.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.319.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.319.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.319.2.4. createDialog(int id)
private AlertDialog createDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id"));
1.319.2.5. static newInstance(@DialogType int id)
public static ButtonActionDialogFragment newInstance(@DialogType int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"ButtonActionDialogFragment" ,"newInstance", "@DialogType int id"));
1.320. ButtonBarHandler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ButtonBarHandler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.321. CaCertsCurrentUserPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/CaCertsCurrentUserPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.321.1. CaCertsCurrentUserPreferenceController Field属性列表
1.321.1.1. static final String CA_CERTS_CURRENT_USER
@VisibleForTesting
static final String CA_CERTS_CURRENT_USER = "ca_certs_current_user";
1.321.2. CaCertsCurrentUserPreferenceControllerMethod方法列表
1.321.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.321.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.321.2.3. getNumberOfCaCerts()
protected int getNumberOfCaCerts()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfCaCerts", ""));
1.322. CaCertsManagedProfilePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/CaCertsManagedProfilePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.322.1. CaCertsManagedProfilePreferenceController Field属性列表
1.322.1.1. static final String CA_CERTS_MANAGED_PROFILE
@VisibleForTesting
static final String CA_CERTS_MANAGED_PROFILE = "ca_certs_managed_profile";
1.322.2. CaCertsManagedProfilePreferenceControllerMethod方法列表
1.322.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.322.2.2. getNumberOfCaCerts()
protected int getNumberOfCaCerts()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfCaCerts", ""));
1.323. CaCertsPreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/CaCertsPreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.323.1. CaCertsPreferenceControllerBase Field属性列表
1.323.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
protected final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.323.2. CaCertsPreferenceControllerBaseMethod方法列表
1.323.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.323.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.323.2.3. abstract getNumberOfCaCerts()
protected abstract int getNumberOfCaCerts()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfCaCerts", ""));
1.324. CachedStorageValuesHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/CachedStorageValuesHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.324.1. CachedStorageValuesHelper Field属性列表
1.324.1.1. // replaced for test purposes. protected Clock mClock;
// This clock is used to provide the time. By default, it uses the system clock, but can be
// replaced for test purposes.
protected Clock mClock;
1.324.1.2. final Long mClobberThreshold;
private final Long mClobberThreshold;
1.324.1.3. final SharedPreferences mSharedPreferences;
private final SharedPreferences mSharedPreferences;
1.324.1.4. final int mUserId;
private final int mUserId;
1.324.1.5. static final String SHARED_PREFERENCES_NAME
@VisibleForTesting
public static final String SHARED_PREFERENCES_NAME = "CachedStorageValues";
1.324.1.6. static final String TIMESTAMP_KEY
public static final String TIMESTAMP_KEY = "last_query_timestamp";
1.324.1.7. static final String FREE_BYTES_KEY
public static final String FREE_BYTES_KEY = "free_bytes";
1.324.1.8. static final String TOTAL_BYTES_KEY
public static final String TOTAL_BYTES_KEY = "total_bytes";
1.324.1.9. static final String GAME_APPS_SIZE_KEY
public static final String GAME_APPS_SIZE_KEY = "game_apps_size";
1.324.1.10. static final String MUSIC_APPS_SIZE_KEY
public static final String MUSIC_APPS_SIZE_KEY = "music_apps_size";
1.324.1.11. static final String VIDEO_APPS_SIZE_KEY
public static final String VIDEO_APPS_SIZE_KEY = "video_apps_size";
1.324.1.12. static final String PHOTO_APPS_SIZE_KEY
public static final String PHOTO_APPS_SIZE_KEY = "photo_apps_size";
1.324.1.13. static final String OTHER_APPS_SIZE_KEY
public static final String OTHER_APPS_SIZE_KEY = "other_apps_size";
1.324.1.14. static final String CACHE_APPS_SIZE_KEY
public static final String CACHE_APPS_SIZE_KEY = "cache_apps_size";
1.324.1.15. static final String EXTERNAL_TOTAL_BYTES
public static final String EXTERNAL_TOTAL_BYTES = "external_total_bytes";
1.324.1.16. static final String EXTERNAL_AUDIO_BYTES
public static final String EXTERNAL_AUDIO_BYTES = "external_audio_bytes";
1.324.1.17. static final String EXTERNAL_VIDEO_BYTES
public static final String EXTERNAL_VIDEO_BYTES = "external_video_bytes";
1.324.1.18. static final String EXTERNAL_IMAGE_BYTES
public static final String EXTERNAL_IMAGE_BYTES = "external_image_bytes";
1.324.1.19. static final String EXTERNAL_APP_BYTES
public static final String EXTERNAL_APP_BYTES = "external_apps_bytes";
1.324.1.20. static final String USER_ID_KEY
public static final String USER_ID_KEY = "user_id";
1.324.2. CachedStorageValuesHelperMethod方法列表
1.324.2.1. getCachedPrivateStorageInfo()
public PrivateStorageInfo getCachedPrivateStorageInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"PrivateStorageInfo" ,"getCachedPrivateStorageInfo", ""));
1.324.2.2. getCachedAppsStorageResult()
public SparseArray getCachedAppsStorageResult()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"getCachedAppsStorageResult", ""));
1.324.2.3. cacheResult(PrivateStorageInfo storageInfo,StorageAsyncLoader.AppsStorageResult result)
public void cacheResult(PrivateStorageInfo storageInfo, StorageAsyncLoader.AppsStorageResult result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cacheResult", "PrivateStorageInfo storageInfo,StorageAsyncLoader.AppsStorageResult result"));
1.324.2.4. isDataValid()
private boolean isDataValid()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDataValid", ""));
1.325. CallVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/CallVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.325.1. CallVolumePreferenceController Field属性列表
1.325.1.1. AudioManager mAudioManager;
private AudioManager mAudioManager;
1.325.2. CallVolumePreferenceControllerMethod方法列表
1.325.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.325.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.325.2.3. getAudioStream()
public int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.325.2.4. getMuteIcon()
public int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.326. CameraGesturePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/CameraGesturePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.326.1. CameraGesturePreferenceController Field属性列表
1.326.1.1. static final String KEY_CAMERA_GESTURE
private static final String KEY_CAMERA_GESTURE = "camera_gesture";
1.326.2. CameraGesturePreferenceControllerMethod方法列表
1.326.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.326.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.326.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.326.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.327. CameraLaserSensorPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/CameraLaserSensorPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.327.1. CameraLaserSensorPreferenceController Field属性列表
1.327.1.1. static final String KEY_CAMERA_LASER_SENSOR_SWITCH
private static final String KEY_CAMERA_LASER_SENSOR_SWITCH = "camera_laser_sensor_switch";
1.327.1.2. static final String BUILD_TYPE
@VisibleForTesting
static final String BUILD_TYPE = "ro.build.type";
1.327.1.3. static final String PROPERTY_CAMERA_LASER_SENSOR
@VisibleForTesting
static final String PROPERTY_CAMERA_LASER_SENSOR = "persist.camera.stats.disablehaf";
1.327.1.4. static final int ENABLED
@VisibleForTesting
static final int ENABLED = 0;
1.327.1.5. static final int DISABLED
@VisibleForTesting
static final int DISABLED = 2;
1.327.1.6. static final String USERDEBUG_BUILD
@VisibleForTesting
static final String USERDEBUG_BUILD = "userdebug";
1.327.1.7. static final String ENG_BUILD
@VisibleForTesting
static final String ENG_BUILD = "eng";
1.327.1.8. static final String USER_BUILD
@VisibleForTesting
static final String USER_BUILD = "user";
1.327.2. CameraLaserSensorPreferenceControllerMethod方法列表
1.327.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.327.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.327.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.327.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.327.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.327.2.6. isLaserSensorEnabled()
private boolean isLaserSensorEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLaserSensorEnabled", ""));
1.328. CancellablePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CancellablePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.328.1. CancellablePreference Field属性列表
1.328.1.1. boolean mCancellable;
private boolean mCancellable;
1.328.1.2. OnCancelListener mListener;
private OnCancelListener mListener;
1.328.2. CancellablePreferenceMethod方法列表
1.328.2.1. setCancellable(boolean isCancellable)
public void setCancellable(boolean isCancellable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCancellable", "boolean isCancellable"));
1.328.2.2. setOnCancelListener(OnCancelListener listener)
public void setOnCancelListener(OnCancelListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnCancelListener", "OnCancelListener listener"));
1.328.2.3. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.328.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.329. CaptionPropertiesFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/CaptionPropertiesFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.329.1. CaptionPropertiesFragment Field属性列表
1.329.1.1. CaptioningManager mCaptioningManager;
private CaptioningManager mCaptioningManager;
1.329.1.2. SubtitleView mPreviewText;
private SubtitleView mPreviewText;
1.329.1.3. View mPreviewWindow;
private View mPreviewWindow;
1.329.1.4. View mPreviewViewport;
private View mPreviewViewport;
1.329.1.5. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.329.1.6. ToggleSwitch mToggleSwitch;
private ToggleSwitch mToggleSwitch;
1.329.1.7. LocalePreference mLocale;
// Standard options.
private LocalePreference mLocale;
1.329.1.8. ListPreference mFontSize;
private ListPreference mFontSize;
1.329.1.9. PresetPreference mPreset;
private PresetPreference mPreset;
1.329.1.10. ListPreference mTypeface;
// Custom options.
private ListPreference mTypeface;
1.329.1.11. ColorPreference mForegroundColor;
private ColorPreference mForegroundColor;
1.329.1.12. ColorPreference mForegroundOpacity;
private ColorPreference mForegroundOpacity;
1.329.1.13. EdgeTypePreference mEdgeType;
private EdgeTypePreference mEdgeType;
1.329.1.14. ColorPreference mEdgeColor;
private ColorPreference mEdgeColor;
1.329.1.15. ColorPreference mBackgroundColor;
private ColorPreference mBackgroundColor;
1.329.1.16. ColorPreference mBackgroundOpacity;
private ColorPreference mBackgroundOpacity;
1.329.1.17. ColorPreference mWindowColor;
private ColorPreference mWindowColor;
1.329.1.18. ColorPreference mWindowOpacity;
private ColorPreference mWindowOpacity;
1.329.1.19. PreferenceCategory mCustom;
private PreferenceCategory mCustom;
1.329.1.20. boolean mShowingCustom;
private boolean mShowingCustom;
1.329.1.21. static final String PREF_BACKGROUND_COLOR
private static final String PREF_BACKGROUND_COLOR = "captioning_background_color";
1.329.1.22. static final String PREF_BACKGROUND_OPACITY
private static final String PREF_BACKGROUND_OPACITY = "captioning_background_opacity";
1.329.1.23. static final String PREF_FOREGROUND_COLOR
private static final String PREF_FOREGROUND_COLOR = "captioning_foreground_color";
1.329.1.24. static final String PREF_FOREGROUND_OPACITY
private static final String PREF_FOREGROUND_OPACITY = "captioning_foreground_opacity";
1.329.1.25. static final String PREF_WINDOW_COLOR
private static final String PREF_WINDOW_COLOR = "captioning_window_color";
1.329.1.26. static final String PREF_WINDOW_OPACITY
private static final String PREF_WINDOW_OPACITY = "captioning_window_opacity";
1.329.1.27. static final String PREF_EDGE_COLOR
private static final String PREF_EDGE_COLOR = "captioning_edge_color";
1.329.1.28. static final String PREF_EDGE_TYPE
private static final String PREF_EDGE_TYPE = "captioning_edge_type";
1.329.1.29. static final String PREF_FONT_SIZE
private static final String PREF_FONT_SIZE = "captioning_font_size";
1.329.1.30. static final String PREF_TYPEFACE
private static final String PREF_TYPEFACE = "captioning_typeface";
1.329.1.31. static final String PREF_LOCALE
private static final String PREF_LOCALE = "captioning_locale";
1.329.1.32. static final String PREF_PRESET
private static final String PREF_PRESET = "captioning_preset";
1.329.1.33. static final String PREF_CUSTOM
private static final String PREF_CUSTOM = "custom";
1.329.1.34. static final float LINE_HEIGHT_RATIO
/** WebVtt specifies line height as 5.3% of the viewport height. */
private static final float LINE_HEIGHT_RATIO = 0.0533f;
1.329.2. CaptionPropertiesFragmentMethod方法列表
1.329.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.329.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.329.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.329.2.4. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.329.2.5. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.329.2.6. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.329.2.7. refreshPreviewText()
private void refreshPreviewText()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshPreviewText", ""));
1.329.2.8. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.329.2.9. installSwitchBarToggleSwitch()
private void installSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"installSwitchBarToggleSwitch", ""));
1.329.2.10. removeSwitchBarToggleSwitch()
private void removeSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeSwitchBarToggleSwitch", ""));
1.329.2.11. initializeAllPreferences()
private void initializeAllPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeAllPreferences", ""));
1.329.2.12. installUpdateListeners()
private void installUpdateListeners()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"installUpdateListeners", ""));
1.329.2.13. updateAllPreferences()
private void updateAllPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAllPreferences", ""));
1.329.2.14. parseColorOpacity(ColorPreference color,ColorPreference opacity,int value)
private void parseColorOpacity(ColorPreference color, ColorPreference opacity, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"parseColorOpacity", "ColorPreference color,ColorPreference opacity,int value"));
1.329.2.15. mergeColorOpacity(ColorPreference color,ColorPreference opacity)
private int mergeColorOpacity(ColorPreference color, ColorPreference opacity)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"mergeColorOpacity", "ColorPreference color,ColorPreference opacity"));
1.329.2.16. refreshShowingCustom()
private void refreshShowingCustom()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshShowingCustom", ""));
1.329.2.17. onValueChanged(ListDialogPreference preference,int value)
public void onValueChanged(ListDialogPreference preference, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onValueChanged", "ListDialogPreference preference,int value"));
1.329.2.18. onPreferenceChange(Preference preference,Object value)
public boolean onPreferenceChange(Preference preference, Object value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object value"));
1.329.2.19. static applyCaptionProperties(CaptioningManager manager,SubtitleView previewText,View previewWindow,int styleId)
public static void applyCaptionProperties(CaptioningManager manager, SubtitleView previewText, View previewWindow, int styleId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"applyCaptionProperties", "CaptioningManager manager,SubtitleView previewText,View previewWindow,int styleId"));
1.330. CaptivePortalNetworkCallback.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/CaptivePortalNetworkCallback.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.330.1. CaptivePortalNetworkCallback Field属性列表
1.330.1.1. boolean mIsCaptivePortal;
private boolean mIsCaptivePortal;
1.330.1.2. final ConnectedAccessPointPreference mConnectedApPreference;
private final ConnectedAccessPointPreference mConnectedApPreference;
1.330.1.3. final Network mNetwork;
private final Network mNetwork;
1.330.2. CaptivePortalNetworkCallbackMethod方法列表
1.330.2.1. onLost(Network network)
public void onLost(Network network)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLost", "Network network"));
1.330.2.2. onCapabilitiesChanged(Network network,NetworkCapabilities networkCapabilities)
public void onCapabilitiesChanged(Network network, NetworkCapabilities networkCapabilities)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCapabilitiesChanged", "Network network,NetworkCapabilities networkCapabilities"));
1.330.2.3. isSameNetworkAndPreference(Network network,ConnectedAccessPointPreference connectedApPreference)
public boolean isSameNetworkAndPreference(Network network, ConnectedAccessPointPreference connectedApPreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSameNetworkAndPreference", "Network network,ConnectedAccessPointPreference connectedApPreference"));
1.330.2.4. isCaptivePortal()
public boolean isCaptivePortal()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCaptivePortal", ""));
1.330.2.5. getNetwork()
public Network getNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"Network" ,"getNetwork", ""));
1.331. CastPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/CastPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.331.1. CastPreferenceController Field属性列表
1.331.1.1. static final String KEY_WIFI_DISPLAY
private static final String KEY_WIFI_DISPLAY = "wifi_display";
1.331.2. CastPreferenceControllerMethod方法列表
1.331.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.331.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.332. CellDataPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/CellDataPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.332.1. CellDataPreference Field属性列表
1.332.1.1. int mSubId
public int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
1.332.1.2. boolean mChecked;
public boolean mChecked;
1.332.1.3. boolean mMultiSimDialog;
public boolean mMultiSimDialog;
1.332.1.4. TelephonyManager mTelephonyManager;
private TelephonyManager mTelephonyManager;
1.332.1.5. SubscriptionManager mSubscriptionManager;
@VisibleForTesting
SubscriptionManager mSubscriptionManager;
1.332.1.6. final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener
@VisibleForTesting
final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener = new SubscriptionManager.OnSubscriptionsChangedListener() {
@Override
public void onSubscriptionsChanged() {
if (DataUsageSummary.LOGD) {
Log.d(TAG, "onSubscriptionsChanged");
}
updateEnabled();
}
};
1.332.1.7. final DataStateListener mDataStateListener
private final DataStateListener mDataStateListener = new DataStateListener() {
@Override
public void onChange(boolean selfChange) {
updateChecked();
}
};
1.332.1.8. static final String TAG
private static final String TAG = "CellDataPreference";
1.332.2. CellDataPreferenceMethod方法列表
1.332.2.1. onRestoreInstanceState(Parcelable s)
protected void onRestoreInstanceState(Parcelable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable s"));
1.332.2.2. onSaveInstanceState()
protected Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.332.2.3. onAttached()
public void onAttached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttached", ""));
1.332.2.4. onDetached()
public void onDetached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetached", ""));
1.332.2.5. setTemplate(NetworkTemplate template,int subId,NetworkServices services)
public void setTemplate(NetworkTemplate template, int subId, NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTemplate", "NetworkTemplate template,int subId,NetworkServices services"));
1.332.2.6. updateChecked()
private void updateChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateChecked", ""));
1.332.2.7. updateEnabled()
private void updateEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEnabled", ""));
1.332.2.8. performClick(View view)
protected void performClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performClick", "View view"));
1.332.2.9. setMobileDataEnabled(boolean enabled)
private void setMobileDataEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMobileDataEnabled", "boolean enabled"));
1.332.2.10. setChecked(boolean checked)
private void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.332.2.11. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.332.2.12. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.332.2.13. showDisableDialog(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
private void showDisableDialog(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDisableDialog", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.332.2.14. showMultiSimDialog(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
private void showMultiSimDialog(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showMultiSimDialog", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.332.2.15. disableDataForOtherSubscriptions(int subId)
private void disableDataForOtherSubscriptions(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableDataForOtherSubscriptions", "int subId"));
1.332.2.16. onClick(DialogInterface dialog,int which)
protected void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.333. CellularDataCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/CellularDataCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.333.1. CellularDataCondition Field属性列表
1.333.1.1. final Receiver mReceiver;
private final Receiver mReceiver;
1.333.1.2. static final IntentFilter DATA_CONNECTION_FILTER
private static final IntentFilter DATA_CONNECTION_FILTER = new IntentFilter(TelephonyIntents.ACTION_ANY_DATA_CONNECTION_STATE_CHANGED);
1.333.2. CellularDataConditionMethod方法列表
1.333.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.333.2.2. getReceiver()
protected BroadcastReceiver getReceiver()
methodList.add(new ZMethod(mZAndroidAPPClass,"BroadcastReceiver" ,"getReceiver", ""));
1.333.2.3. getIntentFilter()
protected IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.333.2.4. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.333.2.5. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.333.2.6. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.333.2.7. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.333.2.8. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.333.2.9. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.333.2.10. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.334. CellularFallbackPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/CellularFallbackPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.334.1. CellularFallbackPreferenceController Field属性列表
1.334.1.1. static final String KEY_CELLULAR_FALLBACK
private static final String KEY_CELLULAR_FALLBACK = "wifi_cellular_data_fallback";
1.334.2. CellularFallbackPreferenceControllerMethod方法列表
1.334.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.334.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.334.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.334.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.334.2.5. avoidBadWifiConfig()
private boolean avoidBadWifiConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"avoidBadWifiConfig", ""));
1.334.2.6. avoidBadWifiCurrentSettings()
private boolean avoidBadWifiCurrentSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"avoidBadWifiCurrentSettings", ""));
1.335. ChangeProfileScreenLockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ChangeProfileScreenLockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.335.1. ChangeProfileScreenLockPreferenceController Field属性列表
1.335.1.1. static final String KEY_UNLOCK_SET_OR_CHANGE_PROFILE
private static final String KEY_UNLOCK_SET_OR_CHANGE_PROFILE = "unlock_set_or_change_profile";
1.335.2. ChangeProfileScreenLockPreferenceControllerMethod方法列表
1.335.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.335.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.335.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.335.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.336. ChangeScreenLockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ChangeScreenLockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.336.1. ChangeScreenLockPreferenceController Field属性列表
1.336.1.1. RestrictedPreference mPreference;
protected RestrictedPreference mPreference;
1.336.1.2. final DevicePolicyManager mDPM;
protected final DevicePolicyManager mDPM;
1.336.1.3. final SecuritySettings mHost;
protected final SecuritySettings mHost;
1.336.1.4. final UserManager mUm;
protected final UserManager mUm;
1.336.1.5. final LockPatternUtils mLockPatternUtils;
protected final LockPatternUtils mLockPatternUtils;
1.336.1.6. final int mUserId
protected final int mUserId = UserHandle.myUserId();
1.336.1.7. final int mProfileChallengeUserId;
protected final int mProfileChallengeUserId;
1.336.1.8. static final String KEY_UNLOCK_SET_OR_CHANGE
private static final String KEY_UNLOCK_SET_OR_CHANGE = "unlock_set_or_change";
1.336.2. ChangeScreenLockPreferenceControllerMethod方法列表
1.336.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.336.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.336.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.336.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.336.2.5. onGearClick(GearPreference p)
public void onGearClick(GearPreference p)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onGearClick", "GearPreference p"));
1.336.2.6. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.336.2.7. updateSummary(Preference preference,int userId)
protected void updateSummary(Preference preference, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "Preference preference,int userId"));
1.336.2.8. disableIfPasswordQualityManaged(int userId)
void disableIfPasswordQualityManaged(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableIfPasswordQualityManaged", "int userId"));
1.337. ChangeWifiStateDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/ChangeWifiStateDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.337.1. ChangeWifiStateDetails Field属性列表
1.337.1.1. AppStateChangeWifiStateBridge mAppBridge;
private AppStateChangeWifiStateBridge mAppBridge;
1.337.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.337.1.3. SwitchPreference mSwitchPref;
private SwitchPreference mSwitchPref;
1.337.1.4. WifiSettingsState mWifiSettingsState;
private WifiSettingsState mWifiSettingsState;
1.337.1.5. static final String KEY_APP_OPS_SETTINGS_SWITCH
private static final String KEY_APP_OPS_SETTINGS_SWITCH = "app_ops_settings_switch";
1.337.1.6. static final String LOG_TAG
private static final String LOG_TAG = "ChangeWifiStateDetails";
1.337.2. ChangeWifiStateDetailsMethod方法列表
1.337.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.337.2.2. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.337.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.337.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.337.2.5. setCanChangeWifiState(boolean newState)
private void setCanChangeWifiState(boolean newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCanChangeWifiState", "boolean newState"));
1.337.2.6. logSpecialPermissionChange(boolean newState,String packageName)
protected void logSpecialPermissionChange(boolean newState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean newState,String packageName"));
1.337.2.7. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.337.2.8. static getSummary(Context context,AppEntry entry)
public static CharSequence getSummary(Context context, AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,AppEntry entry"));
1.337.2.9. static getSummary(Context context,WifiSettingsState wifiSettingsState)
public static CharSequence getSummary(Context context, WifiSettingsState wifiSettingsState)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,WifiSettingsState wifiSettingsState"));
1.338. ChannelGroupNotificationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ChannelGroupNotificationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.338.1. ChannelGroupNotificationSettings Field属性列表
1.338.1.1. static final String TAG
private static final String TAG = "ChannelGroupSettings";
1.338.2. ChannelGroupNotificationSettingsMethod方法列表
1.338.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.338.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.338.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.338.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.338.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.338.2.6. populateChannelList()
private void populateChannelList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateChannelList", ""));
1.339. ChannelNotificationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ChannelNotificationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.339.1. ChannelNotificationSettings Field属性列表
1.339.1.1. static final String TAG
private static final String TAG = "ChannelSettings";
1.339.2. ChannelNotificationSettingsMethod方法列表
1.339.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.339.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.339.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.339.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.339.2.5. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.339.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.339.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.340. ChargingSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ChargingSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.340.1. ChargingSoundPreferenceController Field属性列表
1.340.1.1. static final String KEY_CHARGING_SOUNDS
private static final String KEY_CHARGING_SOUNDS = "charging_sounds";
1.340.2. ChargingSoundPreferenceControllerMethod方法列表
1.340.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.341. ChartAxis.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartAxis.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.342. ChartDataUsagePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/ChartDataUsagePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.342.1. ChartDataUsagePreference Field属性列表
1.342.1.1. NetworkPolicy mPolicy;
private NetworkPolicy mPolicy;
1.342.1.2. long mStart;
private long mStart;
1.342.1.3. long mEnd;
private long mEnd;
1.342.1.4. NetworkStatsHistory mNetwork;
private NetworkStatsHistory mNetwork;
1.342.1.5. int mSecondaryColor;
private int mSecondaryColor;
1.342.1.6. int mSeriesColor;
private int mSeriesColor;
1.342.1.7. final int mWarningColor;
private final int mWarningColor;
1.342.1.8. final int mLimitColor;
private final int mLimitColor;
1.342.1.9. static final // Set to half a meg for now. private long RESOLUTION
// The resolution we show on the graph so that we can squash things down to ints.
// Set to half a meg for now.
private static final long RESOLUTION = TrafficStats.MB_IN_BYTES / 2;
1.342.2. ChartDataUsagePreferenceMethod方法列表
1.342.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.342.2.2. getTop()
public int getTop()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTop", ""));
1.342.2.3. calcPoints(UsageView chart)
void calcPoints(UsageView chart)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calcPoints", "UsageView chart"));
1.342.2.4. toInt(long l)
private int toInt(long l)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"toInt", "long l"));
1.342.2.5. bindNetworkPolicy(UsageView chart,NetworkPolicy policy,int top)
private void bindNetworkPolicy(UsageView chart, NetworkPolicy policy, int top)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindNetworkPolicy", "UsageView chart,NetworkPolicy policy,int top"));
1.342.2.6. getLabel(long bytes,int str,int mLimitColor)
private CharSequence getLabel(long bytes, int str, int mLimitColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getLabel", "long bytes,int str,int mLimitColor"));
1.342.2.7. setNetworkPolicy(NetworkPolicy policy)
public void setNetworkPolicy(NetworkPolicy policy)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNetworkPolicy", "NetworkPolicy policy"));
1.342.2.8. setVisibleRange(long start,long end)
public void setVisibleRange(long start, long end)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisibleRange", "long start,long end"));
1.342.2.9. getInspectStart()
public long getInspectStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getInspectStart", ""));
1.342.2.10. getInspectEnd()
public long getInspectEnd()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getInspectEnd", ""));
1.342.2.11. setNetworkStats(NetworkStatsHistory network)
public void setNetworkStats(NetworkStatsHistory network)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNetworkStats", "NetworkStatsHistory network"));
1.342.2.12. setColors(int seriesColor,int secondaryColor)
public void setColors(int seriesColor, int secondaryColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setColors", "int seriesColor,int secondaryColor"));
1.343. ChartDataUsageView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartDataUsageView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.343.1. ChartDataUsageView Field属性列表
1.343.1.1. ChartGridView mGrid;
private ChartGridView mGrid;
1.343.1.2. ChartNetworkSeriesView mSeries;
private ChartNetworkSeriesView mSeries;
1.343.1.3. ChartNetworkSeriesView mDetailSeries;
private ChartNetworkSeriesView mDetailSeries;
1.343.1.4. NetworkStatsHistory mHistory;
private NetworkStatsHistory mHistory;
1.343.1.5. ChartSweepView mSweepWarning;
private ChartSweepView mSweepWarning;
1.343.1.6. ChartSweepView mSweepLimit;
private ChartSweepView mSweepLimit;
1.343.1.7. long mInspectStart;
private long mInspectStart;
1.343.1.8. long mInspectEnd;
private long mInspectEnd;
1.343.1.9. Handler mHandler;
private Handler mHandler;
1.343.1.10. long mVertMax;
/** Current maximum value of {@link #mVert}. */
private long mVertMax;
1.343.1.11. DataUsageChartListener mListener;
private DataUsageChartListener mListener;
1.343.1.12. OnSweepListener mVertListener
private OnSweepListener mVertListener = new OnSweepListener() {
@Override
public void onSweep(ChartSweepView sweep, boolean sweepDone) {
if (sweepDone) {
clearUpdateAxisDelayed(sweep);
updateEstimateVisible();
if (sweep == mSweepWarning && mListener != null) {
mListener.onWarningChanged();
} else if (sweep == mSweepLimit && mListener != null) {
mListener.onLimitChanged();
}
} else {
// while moving, kick off delayed grow/shrink axis updates
sendUpdateAxisDelayed(sweep, false);
}
}
@Override
public void requestEdit(ChartSweepView sweep) {
if (sweep == mSweepWarning && mListener != null) {
mListener.requestWarningEdit();
} else if (sweep == mSweepLimit && mListener != null) {
mListener.requestLimitEdit();
}
}
};
1.343.1.13. static final int MSG_UPDATE_AXIS
private static final int MSG_UPDATE_AXIS = 100;
1.343.1.14. static final long DELAY_MILLIS
private static final long DELAY_MILLIS = 250;
1.343.2. ChartDataUsageViewMethod方法列表
1.343.2.1. onFinishInflate()
protected void onFinishInflate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFinishInflate", ""));
1.343.2.2. setListener(DataUsageChartListener listener)
public void setListener(DataUsageChartListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "DataUsageChartListener listener"));
1.343.2.3. bindNetworkStats(NetworkStatsHistory stats)
public void bindNetworkStats(NetworkStatsHistory stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindNetworkStats", "NetworkStatsHistory stats"));
1.343.2.4. bindDetailNetworkStats(NetworkStatsHistory stats)
public void bindDetailNetworkStats(NetworkStatsHistory stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindDetailNetworkStats", "NetworkStatsHistory stats"));
1.343.2.5. bindNetworkPolicy(NetworkPolicy policy)
public void bindNetworkPolicy(NetworkPolicy policy)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindNetworkPolicy", "NetworkPolicy policy"));
1.343.2.6. updateVertAxisBounds(ChartSweepView activeSweep)
private void updateVertAxisBounds(ChartSweepView activeSweep)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateVertAxisBounds", "ChartSweepView activeSweep"));
1.343.2.7. updateEstimateVisible()
private void updateEstimateVisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEstimateVisible", ""));
1.343.2.8. sendUpdateAxisDelayed(ChartSweepView sweep,boolean force)
private void sendUpdateAxisDelayed(ChartSweepView sweep, boolean force)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendUpdateAxisDelayed", "ChartSweepView sweep,boolean force"));
1.343.2.9. clearUpdateAxisDelayed(ChartSweepView sweep)
private void clearUpdateAxisDelayed(ChartSweepView sweep)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearUpdateAxisDelayed", "ChartSweepView sweep"));
1.343.2.10. onTouchEvent(MotionEvent event)
public boolean onTouchEvent(MotionEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onTouchEvent", "MotionEvent event"));
1.343.2.11. getInspectStart()
public long getInspectStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getInspectStart", ""));
1.343.2.12. getInspectEnd()
public long getInspectEnd()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getInspectEnd", ""));
1.343.2.13. getWarningBytes()
public long getWarningBytes()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWarningBytes", ""));
1.343.2.14. getLimitBytes()
public long getLimitBytes()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getLimitBytes", ""));
1.343.2.15. setVisibleRange(long visibleStart,long visibleEnd)
public void setVisibleRange(long visibleStart, long visibleEnd)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisibleRange", "long visibleStart,long visibleEnd"));
1.343.2.16. updatePrimaryRange()
private void updatePrimaryRange()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePrimaryRange", ""));
1.343.2.17. static setText(SpannableStringBuilder builder,Object key,CharSequence text,String bootstrap)
private static void setText(SpannableStringBuilder builder, Object key, CharSequence text, String bootstrap)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "SpannableStringBuilder builder,Object key,CharSequence text,String bootstrap"));
1.343.2.18. static roundUpToPowerOfTwo(long i)
private static long roundUpToPowerOfTwo(long i)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"roundUpToPowerOfTwo", "long i"));
1.344. ChartGridView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartGridView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.344.1. ChartGridView Field属性列表
1.344.1.1. ChartAxis mHoriz;
private ChartAxis mHoriz;
1.344.1.2. ChartAxis mVert;
private ChartAxis mVert;
1.344.1.3. Drawable mPrimary;
private Drawable mPrimary;
1.344.1.4. Drawable mSecondary;
private Drawable mSecondary;
1.344.1.5. Drawable mBorder;
private Drawable mBorder;
1.344.1.6. int mLabelSize;
private int mLabelSize;
1.344.1.7. int mLabelColor;
private int mLabelColor;
1.344.1.8. Layout mLabelStart;
private Layout mLabelStart;
1.344.1.9. Layout mLabelMid;
private Layout mLabelMid;
1.344.1.10. Layout mLabelEnd;
private Layout mLabelEnd;
1.344.2. ChartGridViewMethod方法列表
1.344.2.1. init(ChartAxis horiz,ChartAxis vert)
void init(ChartAxis horiz, ChartAxis vert)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "ChartAxis horiz,ChartAxis vert"));
1.344.2.2. setBounds(long start,long end)
void setBounds(long start, long end)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBounds", "long start,long end"));
1.344.2.3. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.344.2.4. makeLabel(CharSequence text)
private Layout makeLabel(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"Layout" ,"makeLabel", "CharSequence text"));
1.345. ChartNetworkSeriesView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartNetworkSeriesView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.345.1. ChartNetworkSeriesView Field属性列表
1.345.1.1. ChartAxis mHoriz;
private ChartAxis mHoriz;
1.345.1.2. ChartAxis mVert;
private ChartAxis mVert;
1.345.1.3. Paint mPaintStroke;
private Paint mPaintStroke;
1.345.1.4. Paint mPaintFill;
private Paint mPaintFill;
1.345.1.5. Paint mPaintFillSecondary;
private Paint mPaintFillSecondary;
1.345.1.6. Paint mPaintEstimate;
private Paint mPaintEstimate;
1.345.1.7. NetworkStatsHistory mStats;
private NetworkStatsHistory mStats;
1.345.1.8. Path mPathStroke;
private Path mPathStroke;
1.345.1.9. Path mPathFill;
private Path mPathFill;
1.345.1.10. Path mPathEstimate;
private Path mPathEstimate;
1.345.1.11. int mSafeRegion;
private int mSafeRegion;
1.345.1.12. long mStart;
private long mStart;
1.345.1.13. long mEnd;
private long mEnd;
1.345.1.14. long mEndTime
/** Series will be extended to reach this end time. */
private long mEndTime = Long.MIN_VALUE;
1.345.1.15. boolean mPathValid
private boolean mPathValid = false;
1.345.1.16. boolean mEstimateVisible
private boolean mEstimateVisible = false;
1.345.1.17. boolean mSecondary
private boolean mSecondary = false;
1.345.1.18. long mMax;
private long mMax;
1.345.1.19. long mMaxEstimate;
private long mMaxEstimate;
1.345.1.20. static final String TAG
private static final String TAG = "ChartNetworkSeriesView";
1.345.1.21. static final boolean LOGD
private static final boolean LOGD = false;
1.345.1.22. static final boolean ESTIMATE_ENABLED
private static final boolean ESTIMATE_ENABLED = false;
1.345.2. ChartNetworkSeriesViewMethod方法列表
1.345.2.1. init(ChartAxis horiz,ChartAxis vert)
void init(ChartAxis horiz, ChartAxis vert)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "ChartAxis horiz,ChartAxis vert"));
1.345.2.2. setChartColor(int stroke,int fill,int fillSecondary)
public void setChartColor(int stroke, int fill, int fillSecondary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChartColor", "int stroke,int fill,int fillSecondary"));
1.345.2.3. setSafeRegion(int safeRegion)
public void setSafeRegion(int safeRegion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSafeRegion", "int safeRegion"));
1.345.2.4. bindNetworkStats(NetworkStatsHistory stats)
public void bindNetworkStats(NetworkStatsHistory stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindNetworkStats", "NetworkStatsHistory stats"));
1.345.2.5. setBounds(long start,long end)
public void setBounds(long start, long end)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBounds", "long start,long end"));
1.345.2.6. setSecondary(boolean secondary)
public void setSecondary(boolean secondary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSecondary", "boolean secondary"));
1.345.2.7. invalidatePath()
public void invalidatePath()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"invalidatePath", ""));
1.345.2.8. generatePath()
private void generatePath()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"generatePath", ""));
1.345.2.9. setEndTime(long endTime)
public void setEndTime(long endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEndTime", "long endTime"));
1.345.2.10. setEstimateVisible(boolean estimateVisible)
public void setEstimateVisible(boolean estimateVisible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEstimateVisible", "boolean estimateVisible"));
1.345.2.11. getMaxEstimate()
public long getMaxEstimate()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getMaxEstimate", ""));
1.345.2.12. getMaxVisible()
public long getMaxVisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getMaxVisible", ""));
1.345.2.13. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.346. ChartSweepView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartSweepView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.346.1. ChartSweepView Field属性列表
1.346.1.1. Drawable mSweep;
// TODO: clean up all the various padding/offset/margins
private Drawable mSweep;
1.346.1.2. Rect mSweepPadding
private Rect mSweepPadding = new Rect();
1.346.1.3. Rect mContentOffset
/** Offset of content inside this view. */
private Rect mContentOffset = new Rect();
1.346.1.4. Point mSweepOffset
/** Offset of {@link #mSweep} inside this view. */
private Point mSweepOffset = new Point();
1.346.1.5. Rect mMargins
private Rect mMargins = new Rect();
1.346.1.6. float mNeighborMargin;
private float mNeighborMargin;
1.346.1.7. int mSafeRegion;
private int mSafeRegion;
1.346.1.8. int mFollowAxis;
private int mFollowAxis;
1.346.1.9. int mLabelMinSize;
private int mLabelMinSize;
1.346.1.10. float mLabelSize;
private float mLabelSize;
1.346.1.11. int mLabelTemplateRes;
private int mLabelTemplateRes;
1.346.1.12. int mLabelColor;
private int mLabelColor;
1.346.1.13. SpannableStringBuilder mLabelTemplate;
private SpannableStringBuilder mLabelTemplate;
1.346.1.14. DynamicLayout mLabelLayout;
private DynamicLayout mLabelLayout;
1.346.1.15. ChartAxis mAxis;
private ChartAxis mAxis;
1.346.1.16. long mValue;
private long mValue;
1.346.1.17. long mLabelValue;
private long mLabelValue;
1.346.1.18. long mValidAfter;
private long mValidAfter;
1.346.1.19. long mValidBefore;
private long mValidBefore;
1.346.1.20. ChartSweepView mValidAfterDynamic;
private ChartSweepView mValidAfterDynamic;
1.346.1.21. ChartSweepView mValidBeforeDynamic;
private ChartSweepView mValidBeforeDynamic;
1.346.1.22. float mLabelOffset;
private float mLabelOffset;
1.346.1.23. Paint mOutlinePaint
private Paint mOutlinePaint = new Paint();
1.346.1.24. int mTouchMode
private int mTouchMode = MODE_NONE;
1.346.1.25. long mDragInterval
private long mDragInterval = 1;
1.346.1.26. OnSweepListener mListener;
private OnSweepListener mListener;
1.346.1.27. float mTrackingStart;
private float mTrackingStart;
1.346.1.28. MotionEvent mTracking;
private MotionEvent mTracking;
1.346.1.29. ChartSweepView[] mNeighbors
private ChartSweepView[] mNeighbors = new ChartSweepView[0];
1.346.1.30. OnClickListener mClickListener
private OnClickListener mClickListener = new OnClickListener() {
public void onClick(View v) {
dispatchRequestEdit();
}
};
1.346.1.31. static final boolean DRAW_OUTLINE
private static final boolean DRAW_OUTLINE = false;
1.346.1.32. static final int HORIZONTAL
public static final int HORIZONTAL = 0;
1.346.1.33. static final int VERTICAL
public static final int VERTICAL = 1;
1.346.1.34. static final int MODE_NONE
private static final int MODE_NONE = 0;
1.346.1.35. static final int MODE_DRAG
private static final int MODE_DRAG = 1;
1.346.1.36. static final int MODE_LABEL
private static final int MODE_LABEL = 2;
1.346.1.37. static final int LARGE_WIDTH
private static final int LARGE_WIDTH = 1024;
1.346.2. ChartSweepViewMethod方法列表
1.346.2.1. init(ChartAxis axis)
void init(ChartAxis axis)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "ChartAxis axis"));
1.346.2.2. setNeighbors(ChartSweepView... neighbors)
public void setNeighbors(ChartSweepView... neighbors)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNeighbors", "ChartSweepView... neighbors"));
1.346.2.3. getFollowAxis()
public int getFollowAxis()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getFollowAxis", ""));
1.346.2.4. getMargins()
public Rect getMargins()
methodList.add(new ZMethod(mZAndroidAPPClass,"Rect" ,"getMargins", ""));
1.346.2.5. setDragInterval(long dragInterval)
public void setDragInterval(long dragInterval)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDragInterval", "long dragInterval"));
1.346.2.6. getTargetInset()
private float getTargetInset()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getTargetInset", ""));
1.346.2.7. addOnSweepListener(OnSweepListener listener)
public void addOnSweepListener(OnSweepListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addOnSweepListener", "OnSweepListener listener"));
1.346.2.8. dispatchOnSweep(boolean sweepDone)
private void dispatchOnSweep(boolean sweepDone)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dispatchOnSweep", "boolean sweepDone"));
1.346.2.9. dispatchRequestEdit()
private void dispatchRequestEdit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dispatchRequestEdit", ""));
1.346.2.10. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.346.2.11. setSweepDrawable(Drawable sweep,int color)
public void setSweepDrawable(Drawable sweep, int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSweepDrawable", "Drawable sweep,int color"));
1.346.2.12. setFollowAxis(int followAxis)
public void setFollowAxis(int followAxis)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFollowAxis", "int followAxis"));
1.346.2.13. setLabelMinSize(int minSize)
public void setLabelMinSize(int minSize)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabelMinSize", "int minSize"));
1.346.2.14. setLabelTemplate(int resId)
public void setLabelTemplate(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabelTemplate", "int resId"));
1.346.2.15. setLabelColor(int color)
public void setLabelColor(int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabelColor", "int color"));
1.346.2.16. invalidateLabelTemplate()
private void invalidateLabelTemplate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"invalidateLabelTemplate", ""));
1.346.2.17. invalidateLabel()
private void invalidateLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"invalidateLabel", ""));
1.346.2.18. invalidateLabelOffset()
public void invalidateLabelOffset()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"invalidateLabelOffset", ""));
1.346.2.19. jumpDrawablesToCurrentState()
public void jumpDrawablesToCurrentState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"jumpDrawablesToCurrentState", ""));
1.346.2.20. setVisibility(int visibility)
public void setVisibility(int visibility)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisibility", "int visibility"));
1.346.2.21. verifyDrawable(Drawable who)
protected boolean verifyDrawable(Drawable who)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"verifyDrawable", "Drawable who"));
1.346.2.22. getAxis()
public ChartAxis getAxis()
methodList.add(new ZMethod(mZAndroidAPPClass,"ChartAxis" ,"getAxis", ""));
1.346.2.23. setValue(long value)
public void setValue(long value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValue", "long value"));
1.346.2.24. getValue()
public long getValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getValue", ""));
1.346.2.25. getLabelValue()
public long getLabelValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getLabelValue", ""));
1.346.2.26. getPoint()
public float getPoint()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getPoint", ""));
1.346.2.27. setValidRange(long validAfter,long validBefore)
public void setValidRange(long validAfter, long validBefore)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValidRange", "long validAfter,long validBefore"));
1.346.2.28. setNeighborMargin(float neighborMargin)
public void setNeighborMargin(float neighborMargin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNeighborMargin", "float neighborMargin"));
1.346.2.29. setSafeRegion(int safeRegion)
public void setSafeRegion(int safeRegion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSafeRegion", "int safeRegion"));
1.346.2.30. setValidRangeDynamic(ChartSweepView validAfter,ChartSweepView validBefore)
public void setValidRangeDynamic(ChartSweepView validAfter, ChartSweepView validBefore)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValidRangeDynamic", "ChartSweepView validAfter,ChartSweepView validBefore"));
1.346.2.31. isTouchCloserTo(MotionEvent eventInParent,ChartSweepView another)
public boolean isTouchCloserTo(MotionEvent eventInParent, ChartSweepView another)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTouchCloserTo", "MotionEvent eventInParent,ChartSweepView another"));
1.346.2.32. getTouchDistanceFromTarget(MotionEvent eventInParent)
private float getTouchDistanceFromTarget(MotionEvent eventInParent)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getTouchDistanceFromTarget", "MotionEvent eventInParent"));
1.346.2.33. onTouchEvent(MotionEvent event)
public boolean onTouchEvent(MotionEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onTouchEvent", "MotionEvent event"));
1.346.2.34. updateValueFromPosition()
public void updateValueFromPosition()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateValueFromPosition", ""));
1.346.2.35. shouldAdjustAxis()
public int shouldAdjustAxis()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"shouldAdjustAxis", ""));
1.346.2.36. getParentContentRect()
private Rect getParentContentRect()
methodList.add(new ZMethod(mZAndroidAPPClass,"Rect" ,"getParentContentRect", ""));
1.346.2.37. addOnLayoutChangeListener(OnLayoutChangeListener listener)
public void addOnLayoutChangeListener(OnLayoutChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addOnLayoutChangeListener", "OnLayoutChangeListener listener"));
1.346.2.38. removeOnLayoutChangeListener(OnLayoutChangeListener listener)
public void removeOnLayoutChangeListener(OnLayoutChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeOnLayoutChangeListener", "OnLayoutChangeListener listener"));
1.346.2.39. getValidAfterDynamic()
private long getValidAfterDynamic()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getValidAfterDynamic", ""));
1.346.2.40. getValidBeforeDynamic()
private long getValidBeforeDynamic()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getValidBeforeDynamic", ""));
1.346.2.41. computeClampRect(Rect parentContent)
private Rect computeClampRect(Rect parentContent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Rect" ,"computeClampRect", "Rect parentContent"));
1.346.2.42. buildClampRect(Rect parentContent,long afterValue,long beforeValue,float margin)
private Rect buildClampRect(Rect parentContent, long afterValue, long beforeValue, float margin)
methodList.add(new ZMethod(mZAndroidAPPClass,"Rect" ,"buildClampRect", "Rect parentContent,long afterValue,long beforeValue,float margin"));
1.346.2.43. drawableStateChanged()
protected void drawableStateChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawableStateChanged", ""));
1.346.2.44. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.346.2.45. onLayout(boolean changed,int left,int top,int right,int bottom)
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLayout", "boolean changed,int left,int top,int right,int bottom"));
1.346.2.46. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.346.2.47. static getLabelTop(ChartSweepView view)
public static float getLabelTop(ChartSweepView view)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getLabelTop", "ChartSweepView view"));
1.346.2.48. static getLabelBottom(ChartSweepView view)
public static float getLabelBottom(ChartSweepView view)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getLabelBottom", "ChartSweepView view"));
1.346.2.49. static getLabelWidth(ChartSweepView view)
public static float getLabelWidth(ChartSweepView view)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getLabelWidth", "ChartSweepView view"));
1.347. ChartView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ChartView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.347.1. ChartView Field属性列表
1.347.1.1. ChartAxis mHoriz;
ChartAxis mHoriz;
1.347.1.2. ChartAxis mVert;
ChartAxis mVert;
1.347.1.3. int mOptimalWidth
@ViewDebug.ExportedProperty
private int mOptimalWidth = -1;
1.347.1.4. float mOptimalWidthWeight
private float mOptimalWidthWeight = 0;
1.347.1.5. Rect mContent
private Rect mContent = new Rect();
1.347.1.6. static final int SWEEP_GRAVITY
// TODO: extend something that supports two-dimensional scrolling
private static final int SWEEP_GRAVITY = Gravity.TOP | Gravity.START;
1.347.2. ChartViewMethod方法列表
1.347.2.1. init(ChartAxis horiz,ChartAxis vert)
void init(ChartAxis horiz, ChartAxis vert)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "ChartAxis horiz,ChartAxis vert"));
1.347.2.2. setOptimalWidth(int optimalWidth,float optimalWidthWeight)
public void setOptimalWidth(int optimalWidth, float optimalWidthWeight)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOptimalWidth", "int optimalWidth,float optimalWidthWeight"));
1.347.2.3. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.347.2.4. onLayout(boolean changed,int l,int t,int r,int b)
protected void onLayout(boolean changed, int l, int t, int r, int b)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLayout", "boolean changed,int l,int t,int r,int b"));
1.347.2.5. layoutSweep(ChartSweepView sweep)
protected void layoutSweep(ChartSweepView sweep)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"layoutSweep", "ChartSweepView sweep"));
1.347.2.6. layoutSweep(ChartSweepView sweep,Rect parentRect,Rect childRect)
protected void layoutSweep(ChartSweepView sweep, Rect parentRect, Rect childRect)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"layoutSweep", "ChartSweepView sweep,Rect parentRect,Rect childRect"));
1.348. CheckableLinearLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CheckableLinearLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.348.1. CheckableLinearLayout Field属性列表
1.348.1.1. boolean mChecked;
private boolean mChecked;
1.348.1.2. float mDisabledAlpha;
private float mDisabledAlpha;
1.348.2. CheckableLinearLayoutMethod方法列表
1.348.2.1. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.348.2.2. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.348.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.348.2.4. toggle()
public void toggle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toggle", ""));
1.348.2.5. updateChecked()
private void updateChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateChecked", ""));
1.349. ChooseAccountActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/ChooseAccountActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.349.1. ChooseAccountActivity Field属性列表
1.349.1.1. EnterprisePrivacyFeatureProvider mFeatureProvider;
private EnterprisePrivacyFeatureProvider mFeatureProvider;
1.349.1.2. FooterPreference mEnterpriseDisclosurePreference
private FooterPreference mEnterpriseDisclosurePreference = null;
1.349.1.3. String[] mAuthorities;
private String[] mAuthorities;
1.349.1.4. PreferenceGroup mAddAccountGroup;
private PreferenceGroup mAddAccountGroup;
1.349.1.5. HashSet mAccountTypesFilter;
public HashSet mAccountTypesFilter;
1.349.1.6. AuthenticatorDescription[] mAuthDescs;
private AuthenticatorDescription[] mAuthDescs;
1.349.1.7. HashMap> mAccountTypeToAuthorities
private HashMap> mAccountTypeToAuthorities = null;
1.349.1.8. Map mTypeToAuthDescription
private Map mTypeToAuthDescription = new HashMap();
1.349.1.9. UserHandle mUserHandle;
// The UserHandle of the user we are choosing an account for
private UserHandle mUserHandle;
1.349.1.10. UserManager mUm;
private UserManager mUm;
1.349.1.11. final ArrayList mProviderList
private final ArrayList mProviderList = new ArrayList();
1.349.1.12. static final String TAG
private static final String TAG = "ChooseAccountActivity";
1.349.2. ChooseAccountActivityMethod方法列表
1.349.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.349.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.349.2.3. updateAuthDescriptions()
private void updateAuthDescriptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAuthDescriptions", ""));
1.349.2.4. onAuthDescriptionsUpdated()
private void onAuthDescriptionsUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthDescriptionsUpdated", ""));
1.349.2.5. addEnterpriseDisclosure()
private void addEnterpriseDisclosure()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addEnterpriseDisclosure", ""));
1.349.2.6. getAuthoritiesForAccountType(String type)
public ArrayList getAuthoritiesForAccountType(String type)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getAuthoritiesForAccountType", "String type"));
1.349.2.7. getDrawableForType(final String accountType)
protected Drawable getDrawableForType(final String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getDrawableForType", "final String accountType"));
1.349.2.8. getLabelForType(final String accountType)
protected CharSequence getLabelForType(final String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getLabelForType", "final String accountType"));
1.349.2.9. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.349.2.10. finishWithAccountType(String accountType)
private void finishWithAccountType(String accountType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finishWithAccountType", "String accountType"));
1.350. ChooseLockGeneric.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockGeneric.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.350.1. ChooseLockGeneric Field属性列表
1.350.1.1. static final String CONFIRM_CREDENTIALS
public static final String CONFIRM_CREDENTIALS = "confirm_credentials";
1.350.2. ChooseLockGenericMethod方法列表
1.350.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.350.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.350.2.3. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.351. ChooseLockGenericController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockGenericController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.351.1. ChooseLockGenericController Field属性列表
1.351.1.1. ManagedLockPasswordProvider mManagedPasswordProvider;
private ManagedLockPasswordProvider mManagedPasswordProvider;
1.351.1.2. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.351.1.3. final Context mContext;
private final Context mContext;
1.351.1.4. final int mUserId;
private final int mUserId;
1.351.2. ChooseLockGenericControllerMethod方法列表
1.351.2.1. upgradeQuality(int quality)
public int upgradeQuality(int quality)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"upgradeQuality", "int quality"));
1.351.2.2. isScreenLockVisible(ScreenLockType type)
public boolean isScreenLockVisible(ScreenLockType type)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isScreenLockVisible", "ScreenLockType type"));
1.351.2.3. isScreenLockEnabled(ScreenLockType type,int quality)
public boolean isScreenLockEnabled(ScreenLockType type, int quality)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isScreenLockEnabled", "ScreenLockType type,int quality"));
1.351.2.4. isScreenLockDisabledByAdmin(ScreenLockType type,int adminEnforcedQuality)
public boolean isScreenLockDisabledByAdmin(ScreenLockType type, int adminEnforcedQuality)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isScreenLockDisabledByAdmin", "ScreenLockType type,int adminEnforcedQuality"));
1.351.2.5. getTitle(ScreenLockType type)
public CharSequence getTitle(ScreenLockType type)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "ScreenLockType type"));
1.351.2.6. getVisibleScreenLockTypes(int quality,boolean includeDisabled)
public List getVisibleScreenLockTypes(int quality, boolean includeDisabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getVisibleScreenLockTypes", "int quality,boolean includeDisabled"));
1.352. ChooseLockPassword.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockPassword.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.352.1. ChooseLockPassword Field属性列表
1.352.1.1. static final String PASSWORD_MIN_KEY
public static final String PASSWORD_MIN_KEY = "lockscreen.password_min";
1.352.1.2. static final String PASSWORD_MAX_KEY
public static final String PASSWORD_MAX_KEY = "lockscreen.password_max";
1.352.1.3. static final String PASSWORD_MIN_LETTERS_KEY
public static final String PASSWORD_MIN_LETTERS_KEY = "lockscreen.password_min_letters";
1.352.1.4. static final String PASSWORD_MIN_LOWERCASE_KEY
public static final String PASSWORD_MIN_LOWERCASE_KEY = "lockscreen.password_min_lowercase";
1.352.1.5. static final String PASSWORD_MIN_UPPERCASE_KEY
public static final String PASSWORD_MIN_UPPERCASE_KEY = "lockscreen.password_min_uppercase";
1.352.1.6. static final String PASSWORD_MIN_NUMERIC_KEY
public static final String PASSWORD_MIN_NUMERIC_KEY = "lockscreen.password_min_numeric";
1.352.1.7. static final String PASSWORD_MIN_SYMBOLS_KEY
public static final String PASSWORD_MIN_SYMBOLS_KEY = "lockscreen.password_min_symbols";
1.352.1.8. static final String PASSWORD_MIN_NONLETTER_KEY
public static final String PASSWORD_MIN_NONLETTER_KEY = "lockscreen.password_min_nonletter";
1.352.1.9. static final String TAG
private static final String TAG = "ChooseLockPassword";
1.352.2. ChooseLockPasswordMethod方法列表
1.352.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.352.2.2. onApplyThemeResource(Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Theme theme,int resid,boolean first"));
1.352.2.3. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.352.2.4. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.352.2.5. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.353. ChooseLockPattern.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockPattern.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.353.1. ChooseLockPattern Field属性列表
1.353.1.1. static final int RESULT_FINISHED
/** * Used by the choose lock pattern wizard to indicate the wizard is * finished, and each activity in the wizard should finish. *
* Previously, each activity in the wizard would finish itself after * starting the next activity. However, this leads to broken 'Back' * behavior. So, now an activity does not finish itself until it gets this * result. */ static final int RESULT_FINISHED = RESULT_FIRST_USER;
1.353.1.2. static final String TAG
private static final String TAG = "ChooseLockPattern";
1.353.2. ChooseLockPatternMethod方法列表
1.353.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.353.2.2. onApplyThemeResource(Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Theme theme,int resid,boolean first"));
1.353.2.3. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.353.2.4. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.353.2.5. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.353.2.6. onKeyDown(int keyCode,KeyEvent event)
public boolean onKeyDown(int keyCode, KeyEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onKeyDown", "int keyCode,KeyEvent event"));
1.354. ChooseLockSettingsHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockSettingsHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.354.1. ChooseLockSettingsHelper Field属性列表
1.354.1.1. LockPatternUtils mLockPatternUtils;
@VisibleForTesting
LockPatternUtils mLockPatternUtils;
1.354.1.2. Activity mActivity;
private Activity mActivity;
1.354.1.3. Fragment mFragment;
private Fragment mFragment;
1.354.1.4. static final String EXTRA_KEY_TYPE
public static final String EXTRA_KEY_TYPE = "type";
1.354.1.5. static final String EXTRA_KEY_PASSWORD
public static final String EXTRA_KEY_PASSWORD = "password";
1.354.1.6. static final String EXTRA_KEY_RETURN_CREDENTIALS
public static final String EXTRA_KEY_RETURN_CREDENTIALS = "return_credentials";
1.354.1.7. static final String EXTRA_KEY_HAS_CHALLENGE
public static final String EXTRA_KEY_HAS_CHALLENGE = "has_challenge";
1.354.1.8. static final String EXTRA_KEY_CHALLENGE
public static final String EXTRA_KEY_CHALLENGE = "challenge";
1.354.1.9. static final String EXTRA_KEY_CHALLENGE_TOKEN
public static final String EXTRA_KEY_CHALLENGE_TOKEN = "hw_auth_token";
1.354.1.10. static final String EXTRA_KEY_FOR_FINGERPRINT
public static final String EXTRA_KEY_FOR_FINGERPRINT = "for_fingerprint";
1.354.1.11. static final String EXTRA_KEY_FOR_CHANGE_CRED_REQUIRED_FOR_BOOT
public static final String EXTRA_KEY_FOR_CHANGE_CRED_REQUIRED_FOR_BOOT = "for_cred_req_boot";
1.354.1.12. static final String EXTRA_ALLOW_ANY_USER
/**
* When invoked via {@link ConfirmLockPassword.InternalActivity}, this flag
* controls if we relax the enforcement of
* {@link Utils#enforceSameOwner(android.content.Context, int)}.
*/
public static final String EXTRA_ALLOW_ANY_USER = "allow_any_user";
1.354.2. ChooseLockSettingsHelperMethod方法列表
1.354.2.1. utils()
public LockPatternUtils utils()
methodList.add(new ZMethod(mZAndroidAPPClass,"LockPatternUtils" ,"utils", ""));
1.354.2.2. launchConfirmationActivity(int request,CharSequence title)
public boolean launchConfirmationActivity(int request, CharSequence title)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,CharSequence title"));
1.354.2.3. launchConfirmationActivity(int request,CharSequence title,boolean returnCredentials)
public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentials)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,CharSequence title,boolean returnCredentials"));
1.354.2.4. launchConfirmationActivity(int request,CharSequence title,boolean returnCredentials,int userId)
public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentials, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,CharSequence title,boolean returnCredentials,int userId"));
1.354.2.5. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external)
boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean returnCredentials, boolean external)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external"));
1.354.2.6. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,int userId)
boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean returnCredentials, boolean external, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,int userId"));
1.354.2.7. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,long challenge)
public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, long challenge)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,long challenge"));
1.354.2.8. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,long challenge,int userId)
public boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, long challenge, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,long challenge,int userId"));
1.354.2.9. launchConfirmationActivityWithExternalAndChallenge(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean external,long challenge,int userId)
public boolean launchConfirmationActivityWithExternalAndChallenge(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean external, long challenge, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivityWithExternalAndChallenge", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean external,long challenge,int userId"));
1.354.2.10. launchConfirmationActivityForAnyUser(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,int userId)
public boolean launchConfirmationActivityForAnyUser(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivityForAnyUser", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,int userId"));
1.354.2.11. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId)
private boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean returnCredentials, boolean external, boolean hasChallenge, long challenge, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId"));
1.354.2.12. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,Bundle extras)
private boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean returnCredentials, boolean external, boolean hasChallenge, long challenge, int userId, Bundle extras)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,Bundle extras"));
1.354.2.13. launchFrpConfirmationActivity(int request,@Nullable CharSequence header,@Nullable CharSequence description,@Nullable CharSequence alternateButton)
public boolean launchFrpConfirmationActivity(int request, @Nullable CharSequence header, @Nullable CharSequence description, @Nullable CharSequence alternateButton)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchFrpConfirmationActivity", "int request,@Nullable CharSequence header,@Nullable CharSequence description,@Nullable CharSequence alternateButton"));
1.354.2.14. launchConfirmationActivity(int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,@Nullable CharSequence alternateButton,Bundle extras)
private boolean launchConfirmationActivity(int request, @Nullable CharSequence title, @Nullable CharSequence header, @Nullable CharSequence description, boolean returnCredentials, boolean external, boolean hasChallenge, long challenge, int userId, @Nullable CharSequence alternateButton, Bundle extras)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,@Nullable CharSequence title,@Nullable CharSequence header,@Nullable CharSequence description,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,@Nullable CharSequence alternateButton,Bundle extras"));
1.354.2.15. launchConfirmationActivity(int request,CharSequence title,CharSequence header,CharSequence message,Class activityClass,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,@Nullable CharSequence alternateButton,Bundle extras)
private boolean launchConfirmationActivity(int request, CharSequence title, CharSequence header, CharSequence message, Class activityClass, boolean returnCredentials, boolean external, boolean hasChallenge, long challenge, int userId, @Nullable CharSequence alternateButton, Bundle extras)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launchConfirmationActivity", "int request,CharSequence title,CharSequence header,CharSequence message,Class activityClass,boolean returnCredentials,boolean external,boolean hasChallenge,long challenge,int userId,@Nullable CharSequence alternateButton,Bundle extras"));
1.354.2.16. copyOptionalExtras(Intent inIntent,Intent outIntent)
private void copyOptionalExtras(Intent inIntent, Intent outIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyOptionalExtras", "Intent inIntent,Intent outIntent"));
1.354.2.17. copyInternalExtras(Intent inIntent,Intent outIntent)
private void copyInternalExtras(Intent inIntent, Intent outIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyInternalExtras", "Intent inIntent,Intent outIntent"));
1.355. ChooseLockTypeDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ChooseLockTypeDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.355.1. ChooseLockTypeDialogFragment Field属性列表
1.355.1.1. ScreenLockAdapter mAdapter;
private ScreenLockAdapter mAdapter;
1.355.1.2. ChooseLockGenericController mController;
private ChooseLockGenericController mController;
1.355.1.3. static final String ARG_USER_ID
private static final String ARG_USER_ID = "userId";
1.355.2. ChooseLockTypeDialogFragmentMethod方法列表
1.355.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.355.2.2. onClick(DialogInterface dialogInterface,int i)
public void onClick(DialogInterface dialogInterface, int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialogInterface,int i"));
1.355.2.3. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.355.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.355.2.5. static newInstance(int userId)
public static ChooseLockTypeDialogFragment newInstance(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ChooseLockTypeDialogFragment" ,"newInstance", "int userId"));
1.355.2.6. static copyBooleanExtra(Intent from,Intent to,String name,boolean defaultValue)
private static void copyBooleanExtra(Intent from, Intent to, String name, boolean defaultValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyBooleanExtra", "Intent from,Intent to,String name,boolean defaultValue"));
1.356. ClearAdbKeysPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ClearAdbKeysPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.356.1. ClearAdbKeysPreferenceController Field属性列表
1.356.1.1. final IUsbManager mUsbManager;
private final IUsbManager mUsbManager;
1.356.1.2. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.356.1.3. static final String TAG
private static final String TAG = "ClearAdbPrefCtrl";
1.356.1.4. static final String CLEAR_ADB_KEYS
private static final String CLEAR_ADB_KEYS = "clear_adb_keys";
1.356.1.5. static final String RO_ADB_SECURE_PROPERTY_KEY
@VisibleForTesting
static final String RO_ADB_SECURE_PROPERTY_KEY = "ro.adb.secure";
1.356.2. ClearAdbKeysPreferenceControllerMethod方法列表
1.356.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.356.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.356.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.356.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.356.2.5. onDeveloperOptionsSwitchEnabled()
protected void onDeveloperOptionsSwitchEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchEnabled", ""));
1.356.2.6. onClearAdbKeysConfirmed()
public void onClearAdbKeysConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClearAdbKeysConfirmed", ""));
1.356.2.7. isAdminUser()
boolean isAdminUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdminUser", ""));
1.357. ClearAdbKeysWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ClearAdbKeysWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.357.1. ClearAdbKeysWarningDialog Field属性列表
1.357.1.1. static final String TAG
public static final String TAG = "ClearAdbKeysDlg";
1.357.2. ClearAdbKeysWarningDialogMethod方法列表
1.357.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.357.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.357.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.357.2.4. static show(Fragment host)
public static void show(Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host"));
1.358. ClearDefaultsPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ClearDefaultsPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.358.1. ClearDefaultsPreference Field属性列表
1.358.1.1. Button mActivitiesButton;
private Button mActivitiesButton;
1.358.1.2. AppWidgetManager mAppWidgetManager;
private AppWidgetManager mAppWidgetManager;
1.358.1.3. IUsbManager mUsbManager;
private IUsbManager mUsbManager;
1.358.1.4. PackageManager mPm;
private PackageManager mPm;
1.358.1.5. String mPackageName;
private String mPackageName;
1.358.1.6. ApplicationsState.AppEntry mAppEntry;
protected ApplicationsState.AppEntry mAppEntry;
1.358.1.7. static final String TAG
protected static final String TAG = ClearDefaultsPreference.class.getSimpleName();
1.358.2. ClearDefaultsPreferenceMethod方法列表
1.358.2.1. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.358.2.2. setAppEntry(ApplicationsState.AppEntry entry)
public void setAppEntry(ApplicationsState.AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAppEntry", "ApplicationsState.AppEntry entry"));
1.358.2.3. onBindViewHolder(final PreferenceViewHolder view)
public void onBindViewHolder(final PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "final PreferenceViewHolder view"));
1.358.2.4. updateUI(PreferenceViewHolder view)
public boolean updateUI(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"updateUI", "PreferenceViewHolder view"));
1.358.2.5. isDefaultBrowser(String packageName)
private boolean isDefaultBrowser(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultBrowser", "String packageName"));
1.358.2.6. resetLaunchDefaultsUi(TextView autoLaunchView)
private void resetLaunchDefaultsUi(TextView autoLaunchView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetLaunchDefaultsUi", "TextView autoLaunchView"));
1.359. ColorModePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ColorModePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.359.1. ColorModePreference Field属性列表
1.359.1.1. DisplayManager mDisplayManager;
private DisplayManager mDisplayManager;
1.359.1.2. Display mDisplay;
private Display mDisplay;
1.359.1.3. int mCurrentIndex;
private int mCurrentIndex;
1.359.1.4. List mDescriptions;
private List mDescriptions;
1.359.2. ColorModePreferenceMethod方法列表
1.359.2.1. getColorModeCount()
public int getColorModeCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getColorModeCount", ""));
1.359.2.2. startListening()
public void startListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListening", ""));
1.359.2.3. stopListening()
public void stopListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListening", ""));
1.359.2.4. onDisplayAdded(int displayId)
public void onDisplayAdded(int displayId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisplayAdded", "int displayId"));
1.359.2.5. onDisplayChanged(int displayId)
public void onDisplayChanged(int displayId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisplayChanged", "int displayId"));
1.359.2.6. onDisplayRemoved(int displayId)
public void onDisplayRemoved(int displayId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisplayRemoved", "int displayId"));
1.359.2.7. updateCurrentAndSupported()
public void updateCurrentAndSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCurrentAndSupported", ""));
1.359.2.8. persistBoolean(boolean value)
protected boolean persistBoolean(boolean value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"persistBoolean", "boolean value"));
1.359.2.9. static getColorModeDescriptions(Context context)
public static List getColorModeDescriptions(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getColorModeDescriptions", "Context context"));
1.360. ColorModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ColorModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.360.1. ColorModePreferenceController Field属性列表
1.360.1.1. ColorDisplayController mColorDisplayController;
private ColorDisplayController mColorDisplayController;
1.360.1.2. final ConfigurationWrapper mConfigWrapper;
private final ConfigurationWrapper mConfigWrapper;
1.360.1.3. static final String TAG
private static final String TAG = "ColorModePreference";
1.360.1.4. static final String KEY_COLOR_MODE
private static final String KEY_COLOR_MODE = "color_mode";
1.360.1.5. static final int SURFACE_FLINGER_TRANSACTION_QUERY_WIDE_COLOR
private static final int SURFACE_FLINGER_TRANSACTION_QUERY_WIDE_COLOR = 1024;
1.360.2. ColorModePreferenceControllerMethod方法列表
1.360.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.360.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.360.2.3. getColorDisplayController()
ColorDisplayController getColorDisplayController()
methodList.add(new ZMethod(mZAndroidAPPClass,"ColorDisplayController" ,"getColorDisplayController", ""));
1.361. ColorModePreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ColorModePreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.361.1. ColorModePreferenceFragment Field属性列表
1.361.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.361.1.2. static final String KEY_COLOR_MODE_NATURAL
@VisibleForTesting
static final String KEY_COLOR_MODE_NATURAL = "color_mode_natural";
1.361.1.3. static final String KEY_COLOR_MODE_BOOSTED
@VisibleForTesting
static final String KEY_COLOR_MODE_BOOSTED = "color_mode_boosted";
1.361.1.4. static final String KEY_COLOR_MODE_SATURATED
@VisibleForTesting
static final String KEY_COLOR_MODE_SATURATED = "color_mode_saturated";
1.361.1.5. static final String KEY_COLOR_MODE_AUTOMATIC
@VisibleForTesting
static final String KEY_COLOR_MODE_AUTOMATIC = "color_mode_automatic";
1.361.2. ColorModePreferenceFragmentMethod方法列表
1.361.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.361.2.2. onDetach()
public void onDetach()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetach", ""));
1.361.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.361.2.4. configureAndInstallPreview(LayoutPreference preview,PreferenceScreen screen)
void configureAndInstallPreview(LayoutPreference preview, PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"configureAndInstallPreview", "LayoutPreference preview,PreferenceScreen screen"));
1.361.2.5. addStaticPreferences(PreferenceScreen screen)
protected void addStaticPreferences(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addStaticPreferences", "PreferenceScreen screen"));
1.361.2.6. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.361.2.7. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.361.2.8. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.361.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.361.2.10. onAccessibilityTransformChanged(boolean state)
public void onAccessibilityTransformChanged(boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccessibilityTransformChanged", "boolean state"));
1.362. ColorPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ColorPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.362.1. ColorPreference Field属性列表
1.362.1.1. ColorDrawable mPreviewColor;
private ColorDrawable mPreviewColor;
1.362.1.2. boolean mPreviewEnabled;
private boolean mPreviewEnabled;
1.362.2. ColorPreferenceMethod方法列表
1.362.2.1. setPreviewEnabled(boolean enabled)
public void setPreviewEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreviewEnabled", "boolean enabled"));
1.362.2.2. shouldDisableDependents()
public boolean shouldDisableDependents()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldDisableDependents", ""));
1.362.2.3. getTitleAt(int index)
protected CharSequence getTitleAt(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitleAt", "int index"));
1.362.2.4. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.362.2.5. onBindListItem(View view,int index)
protected void onBindListItem(View view, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindListItem", "View view,int index"));
1.363. Condition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/Condition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.363.1. Condition Field属性列表
1.363.1.1. boolean mReceiverRegistered;
protected boolean mReceiverRegistered;
1.363.1.2. boolean mIsSilenced;
private boolean mIsSilenced;
1.363.1.3. boolean mIsActive;
private boolean mIsActive;
1.363.1.4. long mLastStateChange;
private long mLastStateChange;
1.363.1.5. final ConditionManager mManager;
protected final ConditionManager mManager;
1.363.1.6. final MetricsFeatureProvider mMetricsFeatureProvider;
protected final MetricsFeatureProvider mMetricsFeatureProvider;
1.363.1.7. static final String KEY_SILENCE
private static final String KEY_SILENCE = "silence";
1.363.1.8. static final String KEY_ACTIVE
private static final String KEY_ACTIVE = "active";
1.363.1.9. static final String KEY_LAST_STATE
private static final String KEY_LAST_STATE = "last_state";
1.363.2. ConditionMethod方法列表
1.363.2.1. restoreState(PersistableBundle bundle)
void restoreState(PersistableBundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreState", "PersistableBundle bundle"));
1.363.2.2. saveState(PersistableBundle bundle)
boolean saveState(PersistableBundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"saveState", "PersistableBundle bundle"));
1.363.2.3. notifyChanged()
protected void notifyChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyChanged", ""));
1.363.2.4. isSilenced()
public boolean isSilenced()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSilenced", ""));
1.363.2.5. isActive()
public boolean isActive()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActive", ""));
1.363.2.6. setActive(boolean active)
protected void setActive(boolean active)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActive", "boolean active"));
1.363.2.7. silence()
public void silence()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"silence", ""));
1.363.2.8. onSilenceChanged(boolean silenced)
void onSilenceChanged(boolean silenced)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSilenceChanged", "boolean silenced"));
1.363.2.9. getReceiver()
protected BroadcastReceiver getReceiver()
methodList.add(new ZMethod(mZAndroidAPPClass,"BroadcastReceiver" ,"getReceiver", ""));
1.363.2.10. getIntentFilter()
protected IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.363.2.11. shouldShow()
public boolean shouldShow()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShow", ""));
1.363.2.12. getLastChange()
long getLastChange()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getLastChange", ""));
1.363.2.13. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.363.2.14. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.363.2.15. abstract refreshState()
public abstract void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.363.2.16. abstract getMetricsConstant()
public abstract int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.363.2.17. abstract getIcon()
public abstract Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.363.2.18. abstract getTitle()
public abstract CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.363.2.19. abstract getSummary()
public abstract CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.363.2.20. abstract getActions()
public abstract CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.363.2.21. abstract onPrimaryClick()
public abstract void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.363.2.22. abstract onActionClick(int index)
public abstract void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.364. ConditionAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ConditionAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.364.1. ConditionAdapter Field属性列表
1.364.1.1. List mConditions;
private List mConditions;
1.364.1.2. boolean mExpanded;
private boolean mExpanded;
1.364.1.3. View.OnClickListener mConditionClickListener
private View.OnClickListener mConditionClickListener = new View.OnClickListener() {
@Override
public void onClick(View v) {
//TODO: get rid of setTag/getTag
Condition condition = (Condition) v.getTag();
mMetricsFeatureProvider.action(mContext, MetricsEvent.ACTION_SETTINGS_CONDITION_CLICK, condition.getMetricsConstant());
condition.onPrimaryClick();
}
};
1.364.1.4. ItemTouchHelper.SimpleCallback mSwipeCallback
@VisibleForTesting
ItemTouchHelper.SimpleCallback mSwipeCallback = new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.START | ItemTouchHelper.END) {
@Override
public boolean onMove(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder, RecyclerView.ViewHolder target) {
return true;
}
@Override
public int getSwipeDirs(RecyclerView recyclerView, RecyclerView.ViewHolder viewHolder) {
return viewHolder.getItemViewType() == R.layout.condition_tile ? super.getSwipeDirs(recyclerView, viewHolder) : 0;
}
@Override
public void onSwiped(RecyclerView.ViewHolder viewHolder, int direction) {
Object item = getItem(viewHolder.getItemId());
// item can become null when running monkey
if (item != null) {
((Condition) item).silence();
}
}
};
1.364.1.5. final Context mContext;
private final Context mContext;
1.364.1.6. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.364.1.7. static final String TAG
public static final String TAG = "ConditionAdapter";
1.364.2. ConditionAdapterMethod方法列表
1.364.2.1. getItem(long itemId)
public Object getItem(long itemId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getItem", "long itemId"));
1.364.2.2. onCreateViewHolder(ViewGroup parent,int viewType)
public DashboardItemHolder onCreateViewHolder(ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardItemHolder" ,"onCreateViewHolder", "ViewGroup parent,int viewType"));
1.364.2.3. onBindViewHolder(DashboardItemHolder holder,int position)
public void onBindViewHolder(DashboardItemHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "DashboardItemHolder holder,int position"));
1.364.2.4. getItemId(int position)
public long getItemId(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getItemId", "int position"));
1.364.2.5. getItemViewType(int position)
public int getItemViewType(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemViewType", "int position"));
1.364.2.6. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.364.2.7. addDismissHandling(final RecyclerView recyclerView)
public void addDismissHandling(final RecyclerView recyclerView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDismissHandling", "final RecyclerView recyclerView"));
1.364.2.8. bindViews(final Condition condition,DashboardItemHolder view,boolean isLastItem,View.OnClickListener onClickListener)
private void bindViews(final Condition condition, DashboardItemHolder view, boolean isLastItem, View.OnClickListener onClickListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindViews", "final Condition condition,DashboardItemHolder view,boolean isLastItem,View.OnClickListener onClickListener"));
1.364.2.9. setViewVisibility(View containerView,int viewId,boolean visible)
private void setViewVisibility(View containerView, int viewId, boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setViewVisibility", "View containerView,int viewId,boolean visible"));
1.365. ConditionManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/ConditionManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.365.1. ConditionManager Field属性列表
1.365.1.1. File mXmlFile;
private File mXmlFile;
1.365.1.2. final Context mContext;
private final Context mContext;
1.365.1.3. final ArrayList mConditions;
private final ArrayList mConditions;
1.365.1.4. final ArrayList mListeners
private final ArrayList mListeners = new ArrayList<>();
1.365.1.5. static ConditionManager sInstance;
private static ConditionManager sInstance;
1.365.1.6. static final String TAG
private static final String TAG = "ConditionManager";
1.365.1.7. static final boolean DEBUG
private static final boolean DEBUG = false;
1.365.1.8. static final String PKG
private static final String PKG = "com.android.settings.dashboard.conditional.";
1.365.1.9. static final String FILE_NAME
private static final String FILE_NAME = "condition_state.xml";
1.365.1.10. static final String TAG_CONDITIONS
private static final String TAG_CONDITIONS = "cs";
1.365.1.11. static final String TAG_CONDITION
private static final String TAG_CONDITION = "c";
1.365.1.12. static final String ATTR_CLASS
private static final String ATTR_CLASS = "cls";
1.365.1.13. static final Comparator CONDITION_COMPARATOR
private static final Comparator CONDITION_COMPARATOR = new Comparator() {
@Override
public int compare(Condition lhs, Condition rhs) {
return Long.compare(lhs.getLastChange(), rhs.getLastChange());
}
};
1.365.2. ConditionManagerMethod方法列表
1.365.2.1. refreshAll()
public void refreshAll()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshAll", ""));
1.365.2.2. readFromXml(File xmlFile,ArrayList conditions)
private void readFromXml(File xmlFile, ArrayList conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"readFromXml", "File xmlFile,ArrayList conditions"));
1.365.2.3. saveToXml()
private void saveToXml()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveToXml", ""));
1.365.2.4. addMissingConditions(ArrayList conditions)
private void addMissingConditions(ArrayList conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMissingConditions", "ArrayList conditions"));
1.365.2.5. addIfMissing(Class clz,ArrayList conditions)
private void addIfMissing(Class clz, ArrayList conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addIfMissing", "Class clz,ArrayList conditions"));
1.365.2.6. createCondition(Class clz)
private Condition createCondition(Class clz)
methodList.add(new ZMethod(mZAndroidAPPClass,"Condition" ,"createCondition", "Class clz"));
1.365.2.7. getContext()
Context getContext()
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"getContext", ""));
1.365.2.8. getCondition(Class clz)
public T getCondition(Class clz)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"getCondition", "Class clz"));
1.365.2.9. getCondition(Class clz,List conditions)
private T getCondition(Class clz, List conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"getCondition", "Class clz,List conditions"));
1.365.2.10. getConditions()
public List getConditions()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConditions", ""));
1.365.2.11. getVisibleConditions()
public List getVisibleConditions()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getVisibleConditions", ""));
1.365.2.12. notifyChanged(Condition condition)
public void notifyChanged(Condition condition)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyChanged", "Condition condition"));
1.365.2.13. addListener(ConditionListener listener)
public void addListener(ConditionListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addListener", "ConditionListener listener"));
1.365.2.14. remListener(ConditionListener listener)
public void remListener(ConditionListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"remListener", "ConditionListener listener"));
1.365.2.15. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.365.2.16. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.365.2.17. static get(Context context)
public static ConditionManager get(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConditionManager" ,"get", "Context context"));
1.365.2.18. static get(Context context,boolean loadConditionsNow)
public static ConditionManager get(Context context, boolean loadConditionsNow)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConditionManager" ,"get", "Context context,boolean loadConditionsNow"));
1.366. ConfigDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/ConfigDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.366.1. ConfigDialog Field属性列表
1.366.1.1. boolean mEditing;
private boolean mEditing;
1.366.1.2. boolean mExists;
private boolean mExists;
1.366.1.3. View mView;
private View mView;
1.366.1.4. TextView mName;
private TextView mName;
1.366.1.5. Spinner mType;
private Spinner mType;
1.366.1.6. TextView mServer;
private TextView mServer;
1.366.1.7. TextView mUsername;
private TextView mUsername;
1.366.1.8. TextView mPassword;
private TextView mPassword;
1.366.1.9. TextView mSearchDomains;
private TextView mSearchDomains;
1.366.1.10. TextView mDnsServers;
private TextView mDnsServers;
1.366.1.11. TextView mRoutes;
private TextView mRoutes;
1.366.1.12. CheckBox mMppe;
private CheckBox mMppe;
1.366.1.13. TextView mL2tpSecret;
private TextView mL2tpSecret;
1.366.1.14. TextView mIpsecIdentifier;
private TextView mIpsecIdentifier;
1.366.1.15. TextView mIpsecSecret;
private TextView mIpsecSecret;
1.366.1.16. Spinner mIpsecUserCert;
private Spinner mIpsecUserCert;
1.366.1.17. Spinner mIpsecCaCert;
private Spinner mIpsecCaCert;
1.366.1.18. Spinner mIpsecServerCert;
private Spinner mIpsecServerCert;
1.366.1.19. CheckBox mSaveLogin;
private CheckBox mSaveLogin;
1.366.1.20. CheckBox mShowOptions;
private CheckBox mShowOptions;
1.366.1.21. CheckBox mAlwaysOnVpn;
private CheckBox mAlwaysOnVpn;
1.366.1.22. TextView mAlwaysOnInvalidReason;
private TextView mAlwaysOnInvalidReason;
1.366.1.23. final KeyStore mKeyStore
private final KeyStore mKeyStore = KeyStore.getInstance();
1.366.1.24. final DialogInterface.OnClickListener mListener;
private final DialogInterface.OnClickListener mListener;
1.366.1.25. final VpnProfile mProfile;
private final VpnProfile mProfile;
1.366.2. ConfigDialogMethod方法列表
1.366.2.1. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.366.2.2. onRestoreInstanceState(Bundle savedState)
public void onRestoreInstanceState(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle savedState"));
1.366.2.3. afterTextChanged(Editable field)
public void afterTextChanged(Editable field)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable field"));
1.366.2.4. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.366.2.5. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.366.2.6. onClick(View view)
public void onClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View view"));
1.366.2.7. onItemSelected(AdapterView parent,View view,int position,long id)
public void onItemSelected(AdapterView parent, View view, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemSelected", "AdapterView parent,View view,int position,long id"));
1.366.2.8. onNothingSelected(AdapterView parent)
public void onNothingSelected(AdapterView parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNothingSelected", "AdapterView parent"));
1.366.2.9. onCheckedChanged(CompoundButton compoundButton,boolean b)
public void onCheckedChanged(CompoundButton compoundButton, boolean b)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton compoundButton,boolean b"));
1.366.2.10. isVpnAlwaysOn()
public boolean isVpnAlwaysOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVpnAlwaysOn", ""));
1.366.2.11. updateUiControls()
private void updateUiControls()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUiControls", ""));
1.366.2.12. showAdvancedOptions()
private void showAdvancedOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showAdvancedOptions", ""));
1.366.2.13. changeType(int type)
private void changeType(int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"changeType", "int type"));
1.366.2.14. validate(boolean editing)
private boolean validate(boolean editing)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"validate", "boolean editing"));
1.366.2.15. validateAddresses(String addresses,boolean cidr)
private boolean validateAddresses(String addresses, boolean cidr)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"validateAddresses", "String addresses,boolean cidr"));
1.366.2.16. loadCertificates(Spinner spinner,String prefix,int firstId,String selected)
private void loadCertificates(Spinner spinner, String prefix, int firstId, String selected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadCertificates", "Spinner spinner,String prefix,int firstId,String selected"));
1.366.2.17. isEditing()
boolean isEditing()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEditing", ""));
1.366.2.18. getProfile()
VpnProfile getProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"VpnProfile" ,"getProfile", ""));
1.367. ConfigDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/ConfigDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.367.1. ConfigDialogFragment Field属性列表
1.367.1.1. Context mContext;
private Context mContext;
1.367.1.2. boolean mUnlocking
private boolean mUnlocking = false;
1.367.1.3. final IConnectivityManager mService
private final IConnectivityManager mService = IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
1.367.1.4. static final String TAG_CONFIG_DIALOG
private static final String TAG_CONFIG_DIALOG = "vpnconfigdialog";
1.367.1.5. static final String TAG
private static final String TAG = "ConfigDialogFragment";
1.367.1.6. static final String ARG_PROFILE
private static final String ARG_PROFILE = "profile";
1.367.1.7. static final String ARG_EDITING
private static final String ARG_EDITING = "editing";
1.367.1.8. static final String ARG_EXISTS
private static final String ARG_EXISTS = "exists";
1.367.2. ConfigDialogFragmentMethod方法列表
1.367.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.367.2.2. onAttach(final Context context)
public void onAttach(final Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "final Context context"));
1.367.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.367.2.4. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.367.2.5. onShow(DialogInterface dialogInterface)
public void onShow(DialogInterface dialogInterface)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onShow", "DialogInterface dialogInterface"));
1.367.2.6. onClick(View positiveButton)
public void onClick(View positiveButton)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View positiveButton"));
1.367.2.7. onConfirmLockdown(Bundle options,boolean isAlwaysOn,boolean isLockdown)
public void onConfirmLockdown(Bundle options, boolean isAlwaysOn, boolean isLockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConfirmLockdown", "Bundle options,boolean isAlwaysOn,boolean isLockdown"));
1.367.2.8. onClick(DialogInterface dialogInterface,int button)
public void onClick(DialogInterface dialogInterface, int button)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialogInterface,int button"));
1.367.2.9. onCancel(DialogInterface dialog)
public void onCancel(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancel", "DialogInterface dialog"));
1.367.2.10. updateLockdownVpn(boolean isVpnAlwaysOn,VpnProfile profile)
private void updateLockdownVpn(boolean isVpnAlwaysOn, VpnProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLockdownVpn", "boolean isVpnAlwaysOn,VpnProfile profile"));
1.367.2.11. save(VpnProfile profile,boolean lockdown)
private void save(VpnProfile profile, boolean lockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"save", "VpnProfile profile,boolean lockdown"));
1.367.2.12. connect(VpnProfile profile,boolean lockdown)
private void connect(VpnProfile profile, boolean lockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"connect", "VpnProfile profile,boolean lockdown"));
1.367.2.13. disconnect(VpnProfile profile)
private boolean disconnect(VpnProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"disconnect", "VpnProfile profile"));
1.367.2.14. isConnected(VpnProfile profile)
private boolean isConnected(VpnProfile profile) throws RemoteException
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConnected", "VpnProfile profile"));
1.367.2.15. static show(VpnSettings parent,VpnProfile profile,boolean edit,boolean exists)
public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "VpnSettings parent,VpnProfile profile,boolean edit,boolean exists"));
1.368. ConfigureKeyGuardDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ConfigureKeyGuardDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.368.1. ConfigureKeyGuardDialog Field属性列表
1.368.1.1. boolean mConfigureConfirmed;
private boolean mConfigureConfirmed;
1.368.1.2. static final String TAG
public static final String TAG = "ConfigureKeyGuardDialog";
1.368.2. ConfigureKeyGuardDialogMethod方法列表
1.368.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.368.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.368.2.3. onClick(DialogInterface dialog,int button)
public void onClick(DialogInterface dialog, int button)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int button"));
1.368.2.4. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.368.2.5. startPasswordSetup()
void startPasswordSetup()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startPasswordSetup", ""));
1.369. ConfigureNotificationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ConfigureNotificationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.369.1. ConfigureNotificationSettings Field属性列表
1.369.1.1. RingtonePreference mRequestPreference;
private RingtonePreference mRequestPreference;
1.369.1.2. static final String TAG
private static final String TAG = "ConfigNotiSettings";
1.369.1.3. static final String KEY_LOCKSCREEN
@VisibleForTesting
static final String KEY_LOCKSCREEN = "lock_screen_notifications";
1.369.1.4. static final String KEY_LOCKSCREEN_WORK_PROFILE_HEADER
@VisibleForTesting
static final String KEY_LOCKSCREEN_WORK_PROFILE_HEADER = "lock_screen_notifications_profile_header";
1.369.1.5. static final String KEY_LOCKSCREEN_WORK_PROFILE
@VisibleForTesting
static final String KEY_LOCKSCREEN_WORK_PROFILE = "lock_screen_notifications_profile";
1.369.1.6. static final String KEY_SWIPE_DOWN
@VisibleForTesting
static final String KEY_SWIPE_DOWN = "gesture_swipe_down_fingerprint_notifications";
1.369.1.7. static final String KEY_NOTI_DEFAULT_RINGTONE
private static final String KEY_NOTI_DEFAULT_RINGTONE = "notification_default_ringtone";
1.369.1.8. static final String KEY_ZEN_MODE
private static final String KEY_ZEN_MODE = "zen_mode_notifications";
1.369.1.9. static final int REQUEST_CODE
private static final int REQUEST_CODE = 200;
1.369.1.10. static final String SELECTED_PREFERENCE_KEY
private static final String SELECTED_PREFERENCE_KEY = "selected_preference";
1.369.1.11. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new ConfigureNotificationSettings.SummaryProvider(activity, summaryLoader);
}
};
1.369.1.12. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.configure_notification_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, null, null);
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
keys.add(KEY_SWIPE_DOWN);
keys.add(KEY_LOCKSCREEN);
keys.add(KEY_LOCKSCREEN_WORK_PROFILE);
keys.add(KEY_LOCKSCREEN_WORK_PROFILE_HEADER);
keys.add(KEY_ZEN_MODE);
return keys;
}
};
1.369.2. ConfigureNotificationSettingsMethod方法列表
1.369.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.369.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.369.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.369.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.369.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.369.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.369.2.7. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.369.2.8. static buildPreferenceControllers(Context context,Lifecycle lifecycle,Application app,Fragment host)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle, Application app, Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle,Application app,Fragment host"));
1.370. ConfigureWifiSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/ConfigureWifiSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.370.1. ConfigureWifiSettings Field属性列表
1.370.1.1. WifiWakeupPreferenceController mWifiWakeupPreferenceController;
private WifiWakeupPreferenceController mWifiWakeupPreferenceController;
1.370.1.2. UseOpenWifiPreferenceController mUseOpenWifiPreferenceController;
private UseOpenWifiPreferenceController mUseOpenWifiPreferenceController;
1.370.1.3. static final String TAG
private static final String TAG = "ConfigureWifiSettings";
1.370.1.4. static final String KEY_IP_ADDRESS
public static final String KEY_IP_ADDRESS = "current_ip_address";
1.370.1.5. static final int WIFI_WAKEUP_REQUEST_CODE
public static final int WIFI_WAKEUP_REQUEST_CODE = 600;
1.370.1.6. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.wifi_configure_settings;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// If connected to WiFi, this IP address will be the same as the Status IP.
// Or, if there is no connection they will say unavailable.
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
NetworkInfo info = cm.getActiveNetworkInfo();
if (info == null || info.getType() == ConnectivityManager.TYPE_WIFI) {
keys.add(KEY_IP_ADDRESS);
}
return keys;
}
protected boolean isPageSearchEnabled(Context context) {
return context.getResources().getBoolean(R.bool.config_show_wifi_settings);
}
};
1.370.2. ConfigureWifiSettingsMethod方法列表
1.370.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.370.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.370.2.3. getInitialExpandedChildCount()
public int getInitialExpandedChildCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getInitialExpandedChildCount", ""));
1.370.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.370.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.370.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.371. ConfirmConvertToFbe.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ConfirmConvertToFbe.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.371.1. ConfirmConvertToFbe Field属性列表
1.371.1.1. static final String TAG
static final String TAG = "ConfirmConvertToFBE";
1.371.2. ConfirmConvertToFbeMethod方法列表
1.371.2.1. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.371.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.372. ConfirmDeviceCredentialActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ConfirmDeviceCredentialActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.372.1. ConfirmDeviceCredentialActivity Field属性列表
1.372.1.1. static final String TAG
public static final String TAG = ConfirmDeviceCredentialActivity.class.getSimpleName();
1.372.2. ConfirmDeviceCredentialActivityMethod方法列表
1.372.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.372.2.2. isInternalActivity()
private boolean isInternalActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInternalActivity", ""));
1.372.2.3. getTitleFromOrganizationName(int userId)
private String getTitleFromOrganizationName(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTitleFromOrganizationName", "int userId"));
1.372.2.4. static createIntent(CharSequence title,CharSequence details)
public static Intent createIntent(CharSequence title, CharSequence details)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createIntent", "CharSequence title,CharSequence details"));
1.372.2.5. static createIntent(CharSequence title,CharSequence details,long challenge)
public static Intent createIntent(CharSequence title, CharSequence details, long challenge)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createIntent", "CharSequence title,CharSequence details,long challenge"));
1.373. ConfirmDeviceCredentialBaseActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ConfirmDeviceCredentialBaseActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.373.1. ConfirmDeviceCredentialBaseActivity Field属性列表
1.373.1.1. boolean mRestoring;
private boolean mRestoring;
1.373.1.2. boolean mEnterAnimationPending;
private boolean mEnterAnimationPending;
1.373.1.3. boolean mFirstTimeVisible
private boolean mFirstTimeVisible = true;
1.373.1.4. boolean mIsKeyguardLocked
private boolean mIsKeyguardLocked = false;
1.373.1.5. ConfirmCredentialTheme mConfirmCredentialTheme;
private ConfirmCredentialTheme mConfirmCredentialTheme;
1.373.1.6. static final String STATE_IS_KEYGUARD_LOCKED
private static final String STATE_IS_KEYGUARD_LOCKED = "STATE_IS_KEYGUARD_LOCKED";
1.373.2. ConfirmDeviceCredentialBaseActivityMethod方法列表
1.373.2.1. isInternalActivity()
private boolean isInternalActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInternalActivity", ""));
1.373.2.2. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.373.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.373.2.4. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.373.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.373.2.6. getFragment()
private ConfirmDeviceCredentialBaseFragment getFragment()
methodList.add(new ZMethod(mZAndroidAPPClass,"ConfirmDeviceCredentialBaseFragment" ,"getFragment", ""));
1.373.2.7. onEnterAnimationComplete()
public void onEnterAnimationComplete()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnterAnimationComplete", ""));
1.373.2.8. prepareEnterAnimation()
public void prepareEnterAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"prepareEnterAnimation", ""));
1.373.2.9. startEnterAnimation()
public void startEnterAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startEnterAnimation", ""));
1.373.2.10. getConfirmCredentialTheme()
public ConfirmCredentialTheme getConfirmCredentialTheme()
methodList.add(new ZMethod(mZAndroidAPPClass,"ConfirmCredentialTheme" ,"getConfirmCredentialTheme", ""));
1.374. ConfirmDeviceCredentialBaseFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ConfirmDeviceCredentialBaseFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.374.1. ConfirmDeviceCredentialBaseFragment Field属性列表
1.374.1.1. FingerprintUiHelper mFingerprintHelper;
private FingerprintUiHelper mFingerprintHelper;
1.374.1.2. boolean mReturnCredentials
protected boolean mReturnCredentials = false;
1.374.1.3. Button mCancelButton;
protected Button mCancelButton;
1.374.1.4. ImageView mFingerprintIcon;
protected ImageView mFingerprintIcon;
1.374.1.5. int mEffectiveUserId;
protected int mEffectiveUserId;
1.374.1.6. int mUserId;
protected int mUserId;
1.374.1.7. UserManager mUserManager;
protected UserManager mUserManager;
1.374.1.8. LockPatternUtils mLockPatternUtils;
protected LockPatternUtils mLockPatternUtils;
1.374.1.9. DevicePolicyManager mDevicePolicyManager;
protected DevicePolicyManager mDevicePolicyManager;
1.374.1.10. TextView mErrorTextView;
protected TextView mErrorTextView;
1.374.1.11. boolean mFrp;
protected boolean mFrp;
1.374.1.12. CharSequence mFrpAlternateButtonText;
private CharSequence mFrpAlternateButtonText;
1.374.1.13. final Handler mHandler
protected final Handler mHandler = new Handler();
1.374.1.14. final Runnable mResetErrorRunnable
private final Runnable mResetErrorRunnable = new Runnable() {
@Override
public void run() {
mErrorTextView.setText("");
}
};
1.374.1.15. static final String PACKAGE
public static final String PACKAGE = "com.android.settings";
1.374.1.16. static final String TITLE_TEXT
public static final String TITLE_TEXT = PACKAGE + ".ConfirmCredentials.title";
1.374.1.17. static final String HEADER_TEXT
public static final String HEADER_TEXT = PACKAGE + ".ConfirmCredentials.header";
1.374.1.18. static final String DETAILS_TEXT
public static final String DETAILS_TEXT = PACKAGE + ".ConfirmCredentials.details";
1.374.1.19. static final String ALLOW_FP_AUTHENTICATION
public static final String ALLOW_FP_AUTHENTICATION = PACKAGE + ".ConfirmCredentials.allowFpAuthentication";
1.374.1.20. static final String DARK_THEME
public static final String DARK_THEME = PACKAGE + ".ConfirmCredentials.darkTheme";
1.374.1.21. static final String SHOW_CANCEL_BUTTON
public static final String SHOW_CANCEL_BUTTON = PACKAGE + ".ConfirmCredentials.showCancelButton";
1.374.1.22. static final String SHOW_WHEN_LOCKED
public static final String SHOW_WHEN_LOCKED = PACKAGE + ".ConfirmCredentials.showWhenLocked";
1.374.1.23. static final int USER_TYPE_PRIMARY
protected static final int USER_TYPE_PRIMARY = 1;
1.374.1.24. static final int USER_TYPE_MANAGED_PROFILE
protected static final int USER_TYPE_MANAGED_PROFILE = 2;
1.374.1.25. static final int USER_TYPE_SECONDARY
protected static final int USER_TYPE_SECONDARY = 3;
1.374.1.26. static final long CLEAR_WRONG_ATTEMPT_TIMEOUT_MS
/** Time we wait before clearing a wrong input attempt (e.g. pattern) and the error message. */
protected static final long CLEAR_WRONG_ATTEMPT_TIMEOUT_MS = 3000;
1.374.2. ConfirmDeviceCredentialBaseFragmentMethod方法列表
1.374.2.1. isInternalActivity()
private boolean isInternalActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInternalActivity", ""));
1.374.2.2. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.374.2.3. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.374.2.4. isFingerprintDisabledByAdmin()
private boolean isFingerprintDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFingerprintDisabledByAdmin", ""));
1.374.2.5. isStrongAuthRequired()
protected boolean isStrongAuthRequired()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isStrongAuthRequired", ""));
1.374.2.6. isFingerprintAllowed()
private boolean isFingerprintAllowed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFingerprintAllowed", ""));
1.374.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.374.2.8. refreshLockScreen()
protected void refreshLockScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshLockScreen", ""));
1.374.2.9. setAccessibilityTitle(CharSequence supplementalText)
protected void setAccessibilityTitle(CharSequence supplementalText)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccessibilityTitle", "CharSequence supplementalText"));
1.374.2.10. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.374.2.11. onAuthenticated()
public void onAuthenticated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthenticated", ""));
1.374.2.12. onFingerprintIconVisibilityChanged(boolean visible)
public void onFingerprintIconVisibilityChanged(boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFingerprintIconVisibilityChanged", "boolean visible"));
1.374.2.13. prepareEnterAnimation()
public void prepareEnterAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"prepareEnterAnimation", ""));
1.374.2.14. startEnterAnimation()
public void startEnterAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startEnterAnimation", ""));
1.374.2.15. checkForPendingIntent()
protected void checkForPendingIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkForPendingIntent", ""));
1.374.2.16. setWorkChallengeBackground(View baseView,int userId)
private void setWorkChallengeBackground(View baseView, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWorkChallengeBackground", "View baseView,int userId"));
1.374.2.17. reportSuccessfulAttempt()
protected void reportSuccessfulAttempt()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reportSuccessfulAttempt", ""));
1.374.2.18. reportFailedAttempt()
protected void reportFailedAttempt()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reportFailedAttempt", ""));
1.374.2.19. updateErrorMessage(int numAttempts)
protected void updateErrorMessage(int numAttempts)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateErrorMessage", "int numAttempts"));
1.374.2.20. getUserTypeForWipe()
private int getUserTypeForWipe()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserTypeForWipe", ""));
1.374.2.21. getWipeMessage(int userType)
private int getWipeMessage(int userType)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWipeMessage", "int userType"));
1.374.2.22. showError(CharSequence msg,long timeout)
protected void showError(CharSequence msg, long timeout)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "CharSequence msg,long timeout"));
1.374.2.23. showError(int msg,long timeout)
protected void showError(int msg, long timeout)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "int msg,long timeout"));
1.374.2.24. abstract authenticationSucceeded()
protected abstract void authenticationSucceeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"authenticationSucceeded", ""));
1.374.2.25. abstract getLastTryErrorMessage(int userType)
protected abstract int getLastTryErrorMessage(int userType)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getLastTryErrorMessage", "int userType"));
1.374.2.26. abstract onShowError()
protected abstract void onShowError()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onShowError", ""));
1.375. ConfirmLockdownFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/ConfirmLockdownFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.375.1. ConfirmLockdownFragment Field属性列表
1.375.1.1. static final String TAG
private static final String TAG = "ConfirmLockdown";
1.375.1.2. static final String ARG_REPLACING
private static final String ARG_REPLACING = "replacing";
1.375.1.3. static final String ARG_ALWAYS_ON
private static final String ARG_ALWAYS_ON = "always_on";
1.375.1.4. static final String ARG_LOCKDOWN_SRC
private static final String ARG_LOCKDOWN_SRC = "lockdown_old";
1.375.1.5. static final String ARG_LOCKDOWN_DST
private static final String ARG_LOCKDOWN_DST = "lockdown_new";
1.375.1.6. static final String ARG_OPTIONS
private static final String ARG_OPTIONS = "options";
1.375.2. ConfirmLockdownFragmentMethod方法列表
1.375.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.375.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.375.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.375.2.4. static shouldShow(boolean replacing,boolean fromLockdown,boolean toLockdown)
public static boolean shouldShow(boolean replacing, boolean fromLockdown, boolean toLockdown)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShow", "boolean replacing,boolean fromLockdown,boolean toLockdown"));
1.375.2.5. static show(Fragment parent,boolean replacing,boolean alwaysOn,boolean fromLockdown,boolean toLockdown,Bundle options)
public static void show(Fragment parent, boolean replacing, boolean alwaysOn, boolean fromLockdown, boolean toLockdown, Bundle options)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent,boolean replacing,boolean alwaysOn,boolean fromLockdown,boolean toLockdown,Bundle options"));
1.376. ConfirmLockPassword.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ConfirmLockPassword.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.376.1. ConfirmLockPassword Field属性列表
1.376.1.1. static final int[] DETAIL_TEXTS
// The index of the array is isStrongAuth << 2 + isProfile << 1 + isAlpha.
private static final int[] DETAIL_TEXTS = new int[] { R.string.lockpassword_confirm_your_pin_generic, R.string.lockpassword_confirm_your_password_generic, R.string.lockpassword_confirm_your_pin_generic_profile, R.string.lockpassword_confirm_your_password_generic_profile, R.string.lockpassword_strong_auth_required_device_pin, R.string.lockpassword_strong_auth_required_device_password, R.string.lockpassword_strong_auth_required_work_pin, R.string.lockpassword_strong_auth_required_work_password };
1.376.2. ConfirmLockPasswordMethod方法列表
1.376.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.376.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.376.2.3. onWindowFocusChanged(boolean hasFocus)
public void onWindowFocusChanged(boolean hasFocus)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWindowFocusChanged", "boolean hasFocus"));
1.377. ConfirmLockPattern.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ConfirmLockPattern.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.377.1. ConfirmLockPattern Field属性列表
1.377.2. ConfirmLockPatternMethod方法列表
1.377.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.377.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.378. ConnectedAccessPointPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/ConnectedAccessPointPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.378.1. ConnectedAccessPointPreference Field属性列表
1.378.1.1. OnGearClickListener mOnGearClickListener;
private OnGearClickListener mOnGearClickListener;
1.378.1.2. boolean mIsCaptivePortal;
private boolean mIsCaptivePortal;
1.378.2. ConnectedAccessPointPreferenceMethod方法列表
1.378.2.1. getWidgetLayoutResourceId()
protected int getWidgetLayoutResourceId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWidgetLayoutResourceId", ""));
1.378.2.2. refresh()
public void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.378.2.3. setOnGearClickListener(OnGearClickListener l)
public void setOnGearClickListener(OnGearClickListener l)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnGearClickListener", "OnGearClickListener l"));
1.378.2.4. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.378.2.5. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.378.2.6. setCaptivePortal(boolean isCaptivePortal)
public void setCaptivePortal(boolean isCaptivePortal)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCaptivePortal", "boolean isCaptivePortal"));
1.379. ConnectedBluetoothDeviceUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/ConnectedBluetoothDeviceUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.379.1. ConnectedBluetoothDeviceUpdater Field属性列表
1.379.1.1. final AudioManager mAudioManager;
private final AudioManager mAudioManager;
1.379.1.2. static final String TAG
private static final String TAG = "ConnBluetoothDeviceUpdater";
1.379.1.3. static final boolean DBG
private static final boolean DBG = false;
1.379.2. ConnectedBluetoothDeviceUpdaterMethod方法列表
1.379.2.1. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.379.2.2. onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile)
public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile"));
1.379.2.3. isFilterMatched(CachedBluetoothDevice cachedDevice)
public boolean isFilterMatched(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFilterMatched", "CachedBluetoothDevice cachedDevice"));
1.379.2.4. addPreference(CachedBluetoothDevice cachedDevice)
protected void addPreference(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreference", "CachedBluetoothDevice cachedDevice"));
1.380. ConnectedDeviceDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/ConnectedDeviceDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.380.1. ConnectedDeviceDashboardFragment Field属性列表
1.380.1.1. static final String TAG
private static final String TAG = "ConnectedDeviceFrag";
1.380.1.2. static final String KEY_CONNECTED_DEVICES
@VisibleForTesting
static final String KEY_CONNECTED_DEVICES = "connected_device_list";
1.380.1.3. static final String KEY_AVAILABLE_DEVICES
@VisibleForTesting
static final String KEY_AVAILABLE_DEVICES = "available_device_list";
1.380.1.4. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.380.1.5. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.connected_devices;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Disable because they show dynamic data
keys.add(KEY_AVAILABLE_DEVICES);
keys.add(KEY_CONNECTED_DEVICES);
return keys;
}
};
1.380.2. ConnectedDeviceDashboardFragmentMethod方法列表
1.380.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.380.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.380.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.380.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.380.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.380.2.6. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.380.2.7. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.381. ConnectedDeviceGroupController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/ConnectedDeviceGroupController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.381.1. ConnectedDeviceGroupController Field属性列表
1.381.1.1. PreferenceGroup mPreferenceGroup;
@VisibleForTesting
PreferenceGroup mPreferenceGroup;
1.381.1.2. BluetoothDeviceUpdater mBluetoothDeviceUpdater;
private BluetoothDeviceUpdater mBluetoothDeviceUpdater;
1.381.1.3. ConnectedUsbDeviceUpdater mConnectedUsbDeviceUpdater;
private ConnectedUsbDeviceUpdater mConnectedUsbDeviceUpdater;
1.381.1.4. DockUpdater mConnectedDockUpdater;
private DockUpdater mConnectedDockUpdater;
1.381.1.5. static final String KEY
private static final String KEY = "connected_device_list";
1.381.2. ConnectedDeviceGroupControllerMethod方法列表
1.381.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.381.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.381.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.381.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.381.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.381.2.6. onDeviceAdded(Preference preference)
public void onDeviceAdded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "Preference preference"));
1.381.2.7. onDeviceRemoved(Preference preference)
public void onDeviceRemoved(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceRemoved", "Preference preference"));
1.381.2.8. init(BluetoothDeviceUpdater bluetoothDeviceUpdater,ConnectedUsbDeviceUpdater connectedUsbDeviceUpdater,DockUpdater connectedDockUpdater)
public void init(BluetoothDeviceUpdater bluetoothDeviceUpdater, ConnectedUsbDeviceUpdater connectedUsbDeviceUpdater, DockUpdater connectedDockUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "BluetoothDeviceUpdater bluetoothDeviceUpdater,ConnectedUsbDeviceUpdater connectedUsbDeviceUpdater,DockUpdater connectedDockUpdater"));
1.381.2.9. init(DashboardFragment fragment)
public void init(DashboardFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "DashboardFragment fragment"));
1.382. ConnectedUsbDeviceUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ConnectedUsbDeviceUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.382.1. ConnectedUsbDeviceUpdater Field属性列表
1.382.1.1. DashboardFragment mFragment;
private DashboardFragment mFragment;
1.382.1.2. UsbBackend mUsbBackend;
private UsbBackend mUsbBackend;
1.382.1.3. DevicePreferenceCallback mDevicePreferenceCallback;
private DevicePreferenceCallback mDevicePreferenceCallback;
1.382.1.4. Preference mUsbPreference;
@VisibleForTesting
Preference mUsbPreference;
1.382.1.5. UsbConnectionBroadcastReceiver mUsbReceiver;
@VisibleForTesting
UsbConnectionBroadcastReceiver mUsbReceiver;
1.382.1.6. UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener
@VisibleForTesting
UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener = (connected, functions, powerRole, dataRole) -> {
if (connected) {
mUsbPreference.setSummary(getSummary(mUsbBackend.getCurrentFunctions(), mUsbBackend.getPowerRole()));
mDevicePreferenceCallback.onDeviceAdded(mUsbPreference);
} else {
mDevicePreferenceCallback.onDeviceRemoved(mUsbPreference);
}
};
1.382.2. ConnectedUsbDeviceUpdaterMethod方法列表
1.382.2.1. registerCallback()
public void registerCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerCallback", ""));
1.382.2.2. unregisterCallback()
public void unregisterCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterCallback", ""));
1.382.2.3. initUsbPreference(Context context)
public void initUsbPreference(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initUsbPreference", "Context context"));
1.382.2.4. forceUpdate()
private void forceUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceUpdate", ""));
1.382.2.5. static getSummary(long functions,int power)
public static int getSummary(long functions, int power)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSummary", "long functions,int power"));
1.383. ConversationMessageView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ConversationMessageView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.383.1. ConversationMessageView Field属性列表
1.383.1.1. LinearLayout mMessageBubble;
private LinearLayout mMessageBubble;
1.383.1.2. ViewGroup mMessageTextAndInfoView;
private ViewGroup mMessageTextAndInfoView;
1.383.1.3. TextView mMessageTextView;
private TextView mMessageTextView;
1.383.1.4. TextView mStatusTextView;
private TextView mStatusTextView;
1.383.1.5. TextView mContactIconView;
private TextView mContactIconView;
1.383.1.6. final boolean mIncoming;
private final boolean mIncoming;
1.383.1.7. final CharSequence mMessageText;
private final CharSequence mMessageText;
1.383.1.8. final CharSequence mTimestampText;
private final CharSequence mTimestampText;
1.383.1.9. final CharSequence mIconText;
private final CharSequence mIconText;
1.383.1.10. final int mIconTextColor;
private final int mIconTextColor;
1.383.1.11. final int mIconBackgroundColor;
private final int mIconBackgroundColor;
1.383.2. ConversationMessageViewMethod方法列表
1.383.2.1. onFinishInflate()
protected void onFinishInflate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFinishInflate", ""));
1.383.2.2. onMeasure(final int widthMeasureSpec,final int heightMeasureSpec)
protected void onMeasure(final int widthMeasureSpec, final int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "final int widthMeasureSpec,final int heightMeasureSpec"));
1.383.2.3. onLayout(final boolean changed,final int left,final int top,final int right,final int bottom)
protected void onLayout(final boolean changed, final int left, final int top, final int right, final int bottom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLayout", "final boolean changed,final int left,final int top,final int right,final int bottom"));
1.383.2.4. updateViewContent()
private void updateViewContent()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateViewContent", ""));
1.383.2.5. updateViewAppearance()
private void updateViewAppearance()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateViewAppearance", ""));
1.383.2.6. updateTextAppearance()
private void updateTextAppearance()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTextAppearance", ""));
1.383.2.7. static isLayoutRtl(final View view)
private static boolean isLayoutRtl(final View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLayoutRtl", "final View view"));
1.383.2.8. static getTintedDrawable(final Context context,final Drawable drawable,final int color)
private static Drawable getTintedDrawable(final Context context, final Drawable drawable, final int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getTintedDrawable", "final Context context,final Drawable drawable,final int color"));
1.384. ConvertToFbe.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ConvertToFbe.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.384.1. ConvertToFbe Field属性列表
1.384.1.1. static final String TAG
static final String TAG = "ConvertToFBE";
1.384.1.2. static final int KEYGUARD_REQUEST
private static final int KEYGUARD_REQUEST = 55;
1.384.2. ConvertToFbeMethod方法列表
1.384.2.1. runKeyguardConfirmation(int request)
private boolean runKeyguardConfirmation(int request)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"runKeyguardConfirmation", "int request"));
1.384.2.2. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.384.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.384.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.384.2.5. convert()
private void convert()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"convert", ""));
1.384.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.385. CoolColorTemperaturePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/CoolColorTemperaturePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.385.1. CoolColorTemperaturePreferenceController Field属性列表
1.385.1.1. static final String COLOR_TEMPERATURE_KEY
private static final String COLOR_TEMPERATURE_KEY = "color_temperature";
1.385.1.2. static final String COLOR_TEMPERATURE_PROPERTY
@VisibleForTesting
static final String COLOR_TEMPERATURE_PROPERTY = "persist.sys.debug.color_temp";
1.385.2. CoolColorTemperaturePreferenceControllerMethod方法列表
1.385.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.385.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.385.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.385.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.385.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.385.2.6. displayColorTemperatureToast()
void displayColorTemperatureToast()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayColorTemperatureToast", ""));
1.386. CreateShortcut.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/shortcut/CreateShortcut.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.386.1. CreateShortcut Field属性列表
1.386.1.1. static final String SHORTCUT_ID_PREFIX
@VisibleForTesting
static final String SHORTCUT_ID_PREFIX = "component-shortcut-";
1.386.2. CreateShortcutMethod方法列表
1.386.2.1. getTargetIntent()
protected Intent getTargetIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getTargetIntent", ""));
1.386.2.2. onListItemClick(ListView l,View v,int position,long id)
protected void onListItemClick(ListView l, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView l,View v,int position,long id"));
1.386.2.3. createResultIntent(Intent shortcutIntent,ResolveInfo resolveInfo,CharSequence label)
Intent createResultIntent(Intent shortcutIntent, ResolveInfo resolveInfo, CharSequence label)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createResultIntent", "Intent shortcutIntent,ResolveInfo resolveInfo,CharSequence label"));
1.386.2.4. logCreateShortcut(ResolveInfo info)
private void logCreateShortcut(ResolveInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logCreateShortcut", "ResolveInfo info"));
1.386.2.5. createIcon(int resource,int layoutRes,int size)
private Bitmap createIcon(int resource, int layoutRes, int size)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bitmap" ,"createIcon", "int resource,int layoutRes,int size"));
1.386.2.6. onEvaluateShowIcons()
protected boolean onEvaluateShowIcons()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onEvaluateShowIcons", ""));
1.386.2.7. onSetContentView()
protected void onSetContentView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetContentView", ""));
1.386.2.8. onQueryPackageManager(Intent queryIntent)
protected List onQueryPackageManager(Intent queryIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"onQueryPackageManager", "Intent queryIntent"));
1.386.2.9. static getBaseIntent()
static Intent getBaseIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getBaseIntent", ""));
1.387. CredentialCheckResultTracker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/CredentialCheckResultTracker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.387.1. CredentialCheckResultTracker Field属性列表
1.387.1.1. Listener mListener;
private Listener mListener;
1.387.1.2. boolean mHasResult
private boolean mHasResult = false;
1.387.1.3. boolean mResultMatched;
private boolean mResultMatched;
1.387.1.4. Intent mResultData;
private Intent mResultData;
1.387.1.5. int mResultTimeoutMs;
private int mResultTimeoutMs;
1.387.1.6. int mResultEffectiveUserId;
private int mResultEffectiveUserId;
1.387.2. CredentialCheckResultTrackerMethod方法列表
1.387.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.387.2.2. setListener(Listener listener)
public void setListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "Listener listener"));
1.387.2.3. setResult(boolean matched,Intent intent,int timeoutMs,int effectiveUserId)
public void setResult(boolean matched, Intent intent, int timeoutMs, int effectiveUserId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setResult", "boolean matched,Intent intent,int timeoutMs,int effectiveUserId"));
1.387.2.4. clearResult()
public void clearResult()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearResult", ""));
1.388. CredentialStorage.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CredentialStorage.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.388.1. CredentialStorage Field属性列表
1.388.1.1. Bundle mInstallBundle;
/**
* When non-null, the bundle containing credentials to install.
*/
private Bundle mInstallBundle;
1.388.1.2. int mRetriesRemaining
/**
* After unsuccessful KeyStore.unlock, the number of unlock
* attempts remaining before the KeyStore will reset itself.
*
* Reset to -1 on successful unlock or reset.
*/
private int mRetriesRemaining = -1;
1.388.1.3. final KeyStore mKeyStore
private final KeyStore mKeyStore = KeyStore.getInstance();
1.388.1.4. static final String TAG
private static final String TAG = "CredentialStorage";
1.388.1.5. static final String ACTION_UNLOCK
public static final String ACTION_UNLOCK = "com.android.credentials.UNLOCK";
1.388.1.6. static final String ACTION_INSTALL
public static final String ACTION_INSTALL = "com.android.credentials.INSTALL";
1.388.1.7. static final String ACTION_RESET
public static final String ACTION_RESET = "com.android.credentials.RESET";
1.388.1.8. static final // lower than this, keystore should not be activated. public int MIN_PASSWORD_QUALITY
// This is the minimum acceptable password quality. If the current password quality is
// lower than this, keystore should not be activated.
public static final int MIN_PASSWORD_QUALITY = DevicePolicyManager.PASSWORD_QUALITY_SOMETHING;
1.388.1.9. static final int CONFIRM_KEY_GUARD_REQUEST
private static final int CONFIRM_KEY_GUARD_REQUEST = 1;
1.388.1.10. static final int CONFIRM_CLEAR_SYSTEM_CREDENTIAL_REQUEST
private static final int CONFIRM_CLEAR_SYSTEM_CREDENTIAL_REQUEST = 2;
1.388.2. CredentialStorageMethod方法列表
1.388.2.1. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.388.2.2. handleUnlockOrInstall()
private void handleUnlockOrInstall()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUnlockOrInstall", ""));
1.388.2.3. ensureKeyGuard()
private void ensureKeyGuard()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ensureKeyGuard", ""));
1.388.2.4. checkKeyGuardQuality()
private boolean checkKeyGuardQuality()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkKeyGuardQuality", ""));
1.388.2.5. isHardwareBackedKey(byte[] keyData)
private boolean isHardwareBackedKey(byte[] keyData)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isHardwareBackedKey", "byte[] keyData"));
1.388.2.6. installIfAvailable()
private void installIfAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"installIfAvailable", ""));
1.388.2.7. clearLegacyVpnIfEstablished()
private void clearLegacyVpnIfEstablished()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearLegacyVpnIfEstablished", ""));
1.388.2.8. checkCallerIsCertInstallerOrSelfInProfile()
private boolean checkCallerIsCertInstallerOrSelfInProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkCallerIsCertInstallerOrSelfInProfile", ""));
1.388.2.9. confirmKeyGuard(int requestCode)
private boolean confirmKeyGuard(int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"confirmKeyGuard", "int requestCode"));
1.388.2.10. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.389. CredentialStoragePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/CredentialStoragePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.389.1. CredentialStoragePreferenceController Field属性列表
1.389.1.1. final KeyStore mKeyStore;
private final KeyStore mKeyStore;
1.389.1.2. static final String KEY_CREDENTIAL_STORAGE_TYPE
private static final String KEY_CREDENTIAL_STORAGE_TYPE = "credential_storage_type";
1.389.2. CredentialStoragePreferenceControllerMethod方法列表
1.389.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.389.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.390. CryptKeeper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CryptKeeper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.390.1. CryptKeeper Field属性列表
1.390.1.1. boolean mValidationComplete;
/** When encryption is detected, this flag indicates whether or not we've checked for errors. */
private boolean mValidationComplete;
1.390.1.2. boolean mValidationRequested;
private boolean mValidationRequested;
1.390.1.3. boolean mEncryptionGoneBad;
/** A flag to indicate that the volume is in a bad state (e.g. partially encrypted). */
private boolean mEncryptionGoneBad;
1.390.1.4. boolean mCorrupt;
/** If gone bad, should we show encryption failed (false) or corrupt (true)*/
private boolean mCorrupt;
1.390.1.5. boolean mCooldown
/** A flag to indicate when the back event should be ignored */
/** When set, blocks unlocking. Set every COOL_DOWN_ATTEMPTS attempts, only cleared
by power cycling phone. */
private boolean mCooldown = false;
1.390.1.6. PowerManager.WakeLock mWakeLock;
PowerManager.WakeLock mWakeLock;
1.390.1.7. ImeAwareEditText mPasswordEntry;
private ImeAwareEditText mPasswordEntry;
1.390.1.8. LockPatternView mLockPatternView;
private LockPatternView mLockPatternView;
1.390.1.9. int mNotificationCountdown
/** Number of calls to {@link #notifyUser()} to ignore before notifying. */
private int mNotificationCountdown = 0;
1.390.1.10. int mReleaseWakeLockCountdown
/** Number of calls to {@link #notifyUser()} before we release the wakelock */
private int mReleaseWakeLockCountdown = 0;
1.390.1.11. int mStatusString
private int mStatusString = R.string.enter_password;
1.390.1.12. AudioManager mAudioManager;
private AudioManager mAudioManager;
1.390.1.13. StatusBarManager mStatusBar;
/** The status bar where back/home/recent buttons are shown. */
private StatusBarManager mStatusBar;
1.390.1.14. LockPatternView.OnPatternListener mChooseNewLockPatternListener
protected LockPatternView.OnPatternListener mChooseNewLockPatternListener = new LockPatternView.OnPatternListener() {
@Override
public void onPatternStart() {
mLockPatternView.removeCallbacks(mClearPatternRunnable);
}
@Override
public void onPatternCleared() {
}
@Override
public void onPatternDetected(List pattern) {
mLockPatternView.setEnabled(false);
if (pattern.size() >= MIN_LENGTH_BEFORE_REPORT) {
new DecryptTask().execute(LockPatternUtils.patternToString(pattern));
} else {
// Allow user to make as many of these as they want.
fakeUnlockAttempt(mLockPatternView);
}
}
@Override
public void onPatternCellAdded(List| pattern) {
}
};
|
1.390.1.15. final // but don't count it against attempts. private Runnable mFakeUnlockAttemptRunnable
// When the user enters a short pin/password, run this to show an error,
// but don't count it against attempts.
private final Runnable mFakeUnlockAttemptRunnable = new Runnable() {
@Override
public void run() {
handleBadAttempt(1);
}
};
1.390.1.16. final Runnable mClearPatternRunnable
private final Runnable mClearPatternRunnable = new Runnable() {
@Override
public void run() {
mLockPatternView.clearPattern();
}
};
1.390.1.17. final Handler mHandler
private final Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case MESSAGE_UPDATE_PROGRESS:
updateProgress();
break;
case MESSAGE_NOTIFY:
notifyUser();
break;
}
}
};
1.390.1.18. static final String TAG
private static final String TAG = "CryptKeeper";
1.390.1.19. static final String DECRYPT_STATE
private static final String DECRYPT_STATE = "trigger_restart_framework";
1.390.1.20. static final int MESSAGE_UPDATE_PROGRESS
/** Message sent to us to indicate encryption update progress. */
private static final int MESSAGE_UPDATE_PROGRESS = 1;
1.390.1.21. static final int MESSAGE_NOTIFY
/** Message sent to us to indicate alerting the user that we are waiting for password entry */
private static final int MESSAGE_NOTIFY = 2;
1.390.1.22. static final int MAX_FAILED_ATTEMPTS
// Constants used to control policy.
private static final int MAX_FAILED_ATTEMPTS = 30;
1.390.1.23. static final int COOL_DOWN_ATTEMPTS
private static final int COOL_DOWN_ATTEMPTS = 10;
1.390.1.24. static final String ACTION_EMERGENCY_DIAL
// Intent action for launching the Emergency Dialer activity.
static final String ACTION_EMERGENCY_DIAL = "com.android.phone.EmergencyDialer.DIAL";
1.390.1.25. static final String EXTRA_FORCE_VIEW
// Debug Intent extras so that this Activity may be started via adb for debugging UI layouts
private static final String EXTRA_FORCE_VIEW = "com.android.settings.CryptKeeper.DEBUG_FORCE_VIEW";
1.390.1.26. static final String FORCE_VIEW_PROGRESS
private static final String FORCE_VIEW_PROGRESS = "progress";
1.390.1.27. static final String FORCE_VIEW_ERROR
private static final String FORCE_VIEW_ERROR = "error";
1.390.1.28. static final String FORCE_VIEW_PASSWORD
private static final String FORCE_VIEW_PASSWORD = "password";
1.390.1.29. static final String STATE_COOLDOWN
private static final String STATE_COOLDOWN = "cooldown";
1.390.1.30. static final int WRONG_PATTERN_CLEAR_TIMEOUT_MS
// how long we wait to clear a wrong pattern
private static final int WRONG_PATTERN_CLEAR_TIMEOUT_MS = 1500;
1.390.1.31. static final int RIGHT_PATTERN_CLEAR_TIMEOUT_MS
// how long we wait to clear a right pattern
private static final int RIGHT_PATTERN_CLEAR_TIMEOUT_MS = 500;
1.390.1.32. static final int FAKE_ATTEMPT_DELAY
// TODO: this should be tuned to match minimum decryption timeout
private static final int FAKE_ATTEMPT_DELAY = 1000;
1.390.1.33. static final int sWidgetsToDisable
/** All the widgets to disable in the status bar */
private static final int sWidgetsToDisable = StatusBarManager.DISABLE_EXPAND | StatusBarManager.DISABLE_NOTIFICATION_ICONS | StatusBarManager.DISABLE_NOTIFICATION_ALERTS | StatusBarManager.DISABLE_HOME | StatusBarManager.DISABLE_SEARCH | StatusBarManager.DISABLE_RECENT;
1.390.1.34. static final int MIN_LENGTH_BEFORE_REPORT
protected static final int MIN_LENGTH_BEFORE_REPORT = LockPatternUtils.MIN_LOCK_PATTERN_SIZE;
1.390.2. CryptKeeperMethod方法列表
1.390.2.1. beginAttempt()
private void beginAttempt()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beginAttempt", ""));
1.390.2.2. handleBadAttempt(Integer failedAttempts)
private void handleBadAttempt(Integer failedAttempts)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleBadAttempt", "Integer failedAttempts"));
1.390.2.3. isDebugView()
private boolean isDebugView()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDebugView", ""));
1.390.2.4. isDebugView(String viewType)
private boolean isDebugView(String viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDebugView", "String viewType"));
1.390.2.5. notifyUser()
private void notifyUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyUser", ""));
1.390.2.6. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.390.2.7. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.390.2.8. onSaveInstanceState(Bundle savedInstanceState)
public void onSaveInstanceState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle savedInstanceState"));
1.390.2.9. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.390.2.10. setupUi()
private void setupUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupUi", ""));
1.390.2.11. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.390.2.12. onRetainNonConfigurationInstance()
public Object onRetainNonConfigurationInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"onRetainNonConfigurationInstance", ""));
1.390.2.13. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.390.2.14. encryptionProgressInit()
private void encryptionProgressInit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"encryptionProgressInit", ""));
1.390.2.15. showFactoryReset(final boolean corrupt)
private void showFactoryReset(final boolean corrupt)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showFactoryReset", "final boolean corrupt"));
1.390.2.16. updateProgress()
private void updateProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateProgress", ""));
1.390.2.17. cooldown()
private void cooldown()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cooldown", ""));
1.390.2.18. fakeUnlockAttempt(View postingView)
private void fakeUnlockAttempt(View postingView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fakeUnlockAttempt", "View postingView"));
1.390.2.19. passwordEntryInit()
private void passwordEntryInit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"passwordEntryInit", ""));
1.390.2.20. hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm,final boolean shouldIncludeAuxiliarySubtypes)
private boolean hasMultipleEnabledIMEsOrSubtypes(InputMethodManager imm, final boolean shouldIncludeAuxiliarySubtypes)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasMultipleEnabledIMEsOrSubtypes", "InputMethodManager imm,final boolean shouldIncludeAuxiliarySubtypes"));
1.390.2.21. getStorageManager()
private IStorageManager getStorageManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"IStorageManager" ,"getStorageManager", ""));
1.390.2.22. onEditorAction(TextView v,int actionId,KeyEvent event)
public boolean onEditorAction(TextView v, int actionId, KeyEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onEditorAction", "TextView v,int actionId,KeyEvent event"));
1.390.2.23. updateEmergencyCallButtonState()
private void updateEmergencyCallButtonState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEmergencyCallButtonState", ""));
1.390.2.24. isEmergencyCallCapable()
private boolean isEmergencyCallCapable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEmergencyCallCapable", ""));
1.390.2.25. takeEmergencyCallAction()
private void takeEmergencyCallAction()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"takeEmergencyCallAction", ""));
1.390.2.26. launchEmergencyDialer()
private void launchEmergencyDialer()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchEmergencyDialer", ""));
1.390.2.27. getTelephonyManager()
private TelephonyManager getTelephonyManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"TelephonyManager" ,"getTelephonyManager", ""));
1.390.2.28. getTelecomManager()
private TelecomManager getTelecomManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"TelecomManager" ,"getTelecomManager", ""));
1.390.2.29. delayAudioNotification()
private void delayAudioNotification()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"delayAudioNotification", ""));
1.390.2.30. onKey(View v,int keyCode,KeyEvent event)
public boolean onKey(View v, int keyCode, KeyEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onKey", "View v,int keyCode,KeyEvent event"));
1.390.2.31. onTouch(View v,MotionEvent event)
public boolean onTouch(View v, MotionEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onTouch", "View v,MotionEvent event"));
1.390.2.32. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.390.2.33. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.390.2.34. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.390.2.35. final setBackFunctionality(boolean isEnabled)
private final void setBackFunctionality(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBackFunctionality", "boolean isEnabled"));
1.390.2.36. final setAirplaneModeIfNecessary()
private final void setAirplaneModeIfNecessary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAirplaneModeIfNecessary", ""));
1.390.2.37. static disableCryptKeeperComponent(Context context)
private static void disableCryptKeeperComponent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableCryptKeeperComponent", "Context context"));
1.391. CryptKeeperConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CryptKeeperConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.391.1. CryptKeeperConfirm Field属性列表
1.391.1.1. View mContentView;
private View mContentView;
1.391.1.2. Button mFinalButton;
private Button mFinalButton;
1.391.1.3. Button.OnClickListener mFinalClickListener
private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() {
public void onClick(View v) {
if (Utils.isMonkeyRunning()) {
return;
}
/* WARNING - nasty hack!
Settings for the lock screen are not available to the crypto
screen (CryptKeeper) at boot. We duplicate the ones that
CryptKeeper needs to the crypto key/value store when they are
modified (see LockPatternUtils).
However, prior to encryption, the crypto key/value store is not
persisted across reboots, thus modified settings are lost to
CryptKeeper.
In order to make sure CryptKeeper had the correct settings after
first encrypting, we thus need to rewrite them, which ensures the
crypto key/value store is up to date. On encryption, this store
is then persisted, and the settings will be there on future
reboots.
*/
// 1. The owner info.
LockPatternUtils utils = new LockPatternUtils(getActivity());
utils.setVisiblePatternEnabled(utils.isVisiblePatternEnabled(UserHandle.USER_SYSTEM), UserHandle.USER_SYSTEM);
if (utils.isOwnerInfoEnabled(UserHandle.USER_SYSTEM)) {
utils.setOwnerInfo(utils.getOwnerInfo(UserHandle.USER_SYSTEM), UserHandle.USER_SYSTEM);
}
int value = Settings.System.getInt(getContext().getContentResolver(), Settings.System.TEXT_SHOW_PASSWORD, 1);
utils.setVisiblePasswordEnabled(value != 0, UserHandle.USER_SYSTEM);
Intent intent = new Intent(getActivity(), Blank.class);
intent.putExtras(getArguments());
startActivity(intent);
// 2. The system locale.
try {
IBinder service = ServiceManager.getService("mount");
IStorageManager storageManager = IStorageManager.Stub.asInterface(service);
storageManager.setField("SystemLocale", Locale.getDefault().toLanguageTag());
} catch (Exception e) {
Log.e(TAG, "Error storing locale for decryption UI", e);
}
}
};
1.391.1.4. static final String TAG
private static final String TAG = "CryptKeeperConfirm";
1.391.2. CryptKeeperConfirmMethod方法列表
1.391.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.391.2.2. establishFinalConfirmationState()
private void establishFinalConfirmationState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"establishFinalConfirmationState", ""));
1.391.2.3. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.391.2.4. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.392. CryptKeeperSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/CryptKeeperSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.392.1. CryptKeeperSettings Field属性列表
1.392.1.1. View mContentView;
private View mContentView;
1.392.1.2. Button mInitiateButton;
private Button mInitiateButton;
1.392.1.3. View mPowerWarning;
private View mPowerWarning;
1.392.1.4. View mBatteryWarning;
private View mBatteryWarning;
1.392.1.5. IntentFilter mIntentFilter;
private IntentFilter mIntentFilter;
1.392.1.6. BroadcastReceiver mIntentReceiver
private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
final int level = intent.getIntExtra(BatteryManager.EXTRA_LEVEL, 0);
final int plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
final int invalidCharger = intent.getIntExtra(BatteryManager.EXTRA_INVALID_CHARGER, 0);
final boolean levelOk = level >= MIN_BATTERY_LEVEL;
final boolean pluggedOk = ((plugged & BatteryManager.BATTERY_PLUGGED_ANY) != 0) && invalidCharger == 0;
// Update UI elements based on power/battery status
mInitiateButton.setEnabled(levelOk && pluggedOk);
mPowerWarning.setVisibility(pluggedOk ? View.GONE : View.VISIBLE);
mBatteryWarning.setVisibility(levelOk ? View.GONE : View.VISIBLE);
}
}
};
1.392.1.7. Button.OnClickListener mInitiateListener
/**
* If the user clicks to begin the reset sequence, we next require a
* keyguard confirmation if the user has currently enabled one. If there
* is no keyguard available, we prompt the user to set a password.
*/
private Button.OnClickListener mInitiateListener = new Button.OnClickListener() {
@Override
public void onClick(View v) {
if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
// TODO replace (or follow) this dialog with an explicit launch into password UI
new AlertDialog.Builder(getActivity()).setTitle(R.string.crypt_keeper_dialog_need_password_title).setMessage(R.string.crypt_keeper_dialog_need_password_message).setPositiveButton(android.R.string.ok, null).create().show();
}
}
};
1.392.1.8. static final String TAG
private static final String TAG = "CryptKeeper";
1.392.1.9. static final String TYPE
private static final String TYPE = "type";
1.392.1.10. static final String PASSWORD
private static final String PASSWORD = "password";
1.392.1.11. static final int KEYGUARD_REQUEST
private static final int KEYGUARD_REQUEST = 55;
1.392.1.12. static final // lower than this, encryption should not be activated. private int MIN_BATTERY_LEVEL
// Minimum battery charge level (in percent) to launch encryption. If the battery charge is
// lower than this, encryption should not be activated.
private static final int MIN_BATTERY_LEVEL = 80;
1.392.2. CryptKeeperSettingsMethod方法列表
1.392.2.1. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedState"));
1.392.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.392.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.392.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.392.2.5. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.392.2.6. runKeyguardConfirmation(int request)
private boolean runKeyguardConfirmation(int request)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"runKeyguardConfirmation", "int request"));
1.392.2.7. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.392.2.8. showFinalConfirmation(int type,String password)
private void showFinalConfirmation(int type, String password)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showFinalConfirmation", "int type,String password"));
1.392.2.9. addEncryptionInfoToPreference(Preference preference,int type,String password)
private void addEncryptionInfoToPreference(Preference preference, int type, String password)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addEncryptionInfoToPreference", "Preference preference,int type,String password"));
1.393. CurrentDreamPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/CurrentDreamPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.393.1. CurrentDreamPicker Field属性列表
1.393.1.1. DreamBackend mBackend;
private DreamBackend mBackend;
1.393.2. CurrentDreamPickerMethod方法列表
1.393.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.393.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.393.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.393.2.4. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.393.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.393.2.6. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.393.2.7. onSelectionPerformed(boolean success)
protected void onSelectionPerformed(boolean success)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSelectionPerformed", "boolean success"));
1.393.2.8. getDreamComponentsMap()
private Map getDreamComponentsMap()
methodList.add(new ZMethod(mZAndroidAPPClass,"Map" ,"getDreamComponentsMap", ""));
1.394. CurrentDreamPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/CurrentDreamPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.394.1. CurrentDreamPreferenceController Field属性列表
1.394.1.1. final DreamBackend mBackend;
private final DreamBackend mBackend;
1.394.1.2. static final String TAG
private static final String TAG = "CurrentDreamPreferenceController";
1.394.1.3. static final String CURRENT_SCREENSAVER
private static final String CURRENT_SCREENSAVER = "current_screensaver";
1.394.2. CurrentDreamPreferenceControllerMethod方法列表
1.394.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.394.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.394.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.394.2.4. setGearClickListenerForPreference(Preference preference)
private void setGearClickListenerForPreference(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setGearClickListenerForPreference", "Preference preference"));
1.394.2.5. launchScreenSaverSettings()
private void launchScreenSaverSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchScreenSaverSettings", ""));
1.394.2.6. getActiveDreamInfo()
private Optional getActiveDreamInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"Optional" ,"getActiveDreamInfo", ""));
1.395. CustomListPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/CustomListPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.395.1. CustomListPreference Field属性列表
1.395.2. CustomListPreferenceMethod方法列表
1.395.2.1. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.395.2.2. onDialogClosed(boolean positiveResult)
protected void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.395.2.3. onDialogCreated(Dialog dialog)
protected void onDialogCreated(Dialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogCreated", "Dialog dialog"));
1.395.2.4. isAutoClosePreference()
protected boolean isAutoClosePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAutoClosePreference", ""));
1.395.2.5. getConfirmationMessage(String value)
protected CharSequence getConfirmationMessage(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getConfirmationMessage", "String value"));
1.395.2.6. onDialogStateRestored(Dialog dialog,Bundle savedInstanceState)
protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogStateRestored", "Dialog dialog,Bundle savedInstanceState"));
1.396. CycleAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/CycleAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.396.1. CycleAdapter Field属性列表
1.396.1.1. final SpinnerInterface mSpinner;
private final SpinnerInterface mSpinner;
1.396.1.2. final AdapterView.OnItemSelectedListener mListener;
private final AdapterView.OnItemSelectedListener mListener;
1.396.2. CycleAdapterMethod方法列表
1.396.2.1. findNearestPosition(CycleItem target)
public int findNearestPosition(CycleItem target)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"findNearestPosition", "CycleItem target"));
1.396.2.2. updateCycleList(NetworkPolicy policy,ChartData chartData)
public boolean updateCycleList(NetworkPolicy policy, ChartData chartData)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"updateCycleList", "NetworkPolicy policy,ChartData chartData"));
1.397. DarkUIPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DarkUIPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.397.1. DarkUIPreferenceController Field属性列表
1.397.1.1. final UiModeManager mUiModeManager;
private final UiModeManager mUiModeManager;
1.397.1.2. static final String DARK_UI_KEY
private static final String DARK_UI_KEY = "dark_ui_mode";
1.397.2. DarkUIPreferenceControllerMethod方法列表
1.397.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.397.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.397.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.397.2.4. updateSummary(Preference preference)
private void updateSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "Preference preference"));
1.397.2.5. modeToDescription(int mode)
private String modeToDescription(int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"modeToDescription", "int mode"));
1.397.2.6. modeToString(int mode)
private String modeToString(int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"modeToString", "int mode"));
1.397.2.7. modeToInt(String mode)
private int modeToInt(String mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"modeToInt", "String mode"));
1.398. DashboardAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.398.1. DashboardAdapter Field属性列表
1.398.1.1. boolean mFirstFrameDrawn;
private boolean mFirstFrameDrawn;
1.398.1.2. RecyclerView mRecyclerView;
private RecyclerView mRecyclerView;
1.398.1.3. SuggestionAdapter mSuggestionAdapter;
private SuggestionAdapter mSuggestionAdapter;
1.398.1.4. DashboardData mDashboardData;
@VisibleForTesting
DashboardData mDashboardData;
1.398.1.5. View.OnClickListener mTileClickListener
private View.OnClickListener mTileClickListener = new View.OnClickListener() {
@Override
public void onClick(View v) {
//TODO: get rid of setTag/getTag
mDashboardFeatureProvider.openTileIntent((Activity) mContext, (Tile) v.getTag());
}
};
1.398.1.6. final IconCache mCache;
private final IconCache mCache;
1.398.1.7. final Context mContext;
private final Context mContext;
1.398.1.8. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.398.1.9. final DashboardFeatureProvider mDashboardFeatureProvider;
private final DashboardFeatureProvider mDashboardFeatureProvider;
1.398.1.10. static final String TAG
public static final String TAG = "DashboardAdapter";
1.398.1.11. static final String STATE_CATEGORY_LIST
private static final String STATE_CATEGORY_LIST = "category_list";
1.398.1.12. static final String STATE_CONDITION_EXPANDED
@VisibleForTesting
static final String STATE_CONDITION_EXPANDED = "condition_expanded";
1.398.2. DashboardAdapterMethod方法列表
1.398.2.1. setSuggestions(List data)
public void setSuggestions(List data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSuggestions", "List data"));
1.398.2.2. setCategory(DashboardCategory category)
public void setCategory(DashboardCategory category)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCategory", "DashboardCategory category"));
1.398.2.3. setConditions(List conditions)
public void setConditions(List conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setConditions", "List conditions"));
1.398.2.4. onSuggestionClosed(Suggestion suggestion)
public void onSuggestionClosed(Suggestion suggestion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSuggestionClosed", "Suggestion suggestion"));
1.398.2.5. notifySummaryChanged(Tile tile)
public void notifySummaryChanged(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifySummaryChanged", "Tile tile"));
1.398.2.6. onCreateViewHolder(ViewGroup parent,int viewType)
public DashboardItemHolder onCreateViewHolder(ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardItemHolder" ,"onCreateViewHolder", "ViewGroup parent,int viewType"));
1.398.2.7. onBindViewHolder(DashboardItemHolder holder,int position)
public void onBindViewHolder(DashboardItemHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "DashboardItemHolder holder,int position"));
1.398.2.8. getItemId(int position)
public long getItemId(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getItemId", "int position"));
1.398.2.9. getItemViewType(int position)
public int getItemViewType(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemViewType", "int position"));
1.398.2.10. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.398.2.11. onAttachedToRecyclerView(RecyclerView recyclerView)
public void onAttachedToRecyclerView(RecyclerView recyclerView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttachedToRecyclerView", "RecyclerView recyclerView"));
1.398.2.12. getItem(long itemId)
public Object getItem(long itemId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getItem", "long itemId"));
1.398.2.13. getSuggestion(int position)
public Suggestion getSuggestion(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"Suggestion" ,"getSuggestion", "int position"));
1.398.2.14. notifyDashboardDataChanged(DashboardData prevData)
void notifyDashboardDataChanged(DashboardData prevData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyDashboardDataChanged", "DashboardData prevData"));
1.398.2.15. onBindConditionHeader(final ConditionHeaderHolder holder,ConditionHeaderData data)
void onBindConditionHeader(final ConditionHeaderHolder holder, ConditionHeaderData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindConditionHeader", "final ConditionHeaderHolder holder,ConditionHeaderData data"));
1.398.2.16. onBindCondition(final ConditionContainerHolder holder,int position)
void onBindCondition(final ConditionContainerHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindCondition", "final ConditionContainerHolder holder,int position"));
1.398.2.17. onBindSuggestion(final SuggestionContainerHolder holder,int position)
void onBindSuggestion(final SuggestionContainerHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindSuggestion", "final SuggestionContainerHolder holder,int position"));
1.398.2.18. onBindTile(DashboardItemHolder holder,Tile tile)
void onBindTile(DashboardItemHolder holder, Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindTile", "DashboardItemHolder holder,Tile tile"));
1.398.2.19. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.398.2.20. updateConditionIcons(List icons,ViewGroup parent)
private void updateConditionIcons(List icons, ViewGroup parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateConditionIcons", "List icons,ViewGroup parent"));
1.398.2.21. scrollToTopOfConditions()
private void scrollToTopOfConditions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scrollToTopOfConditions", ""));
1.399. DashboardData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.399.1. DashboardData Field属性列表
1.399.1.1. final List mItems;
private final List- mItems;
1.399.1.2. final DashboardCategory mCategory;
private final DashboardCategory mCategory;
1.399.1.3. final List mConditions;
private final List mConditions;
1.399.1.4. final List mSuggestions;
private final List mSuggestions;
1.399.1.5. final boolean mConditionExpanded;
private final boolean mConditionExpanded;
1.399.1.6. static final int POSITION_NOT_FOUND
public static final int POSITION_NOT_FOUND = -1;
1.399.1.7. static final int MAX_SUGGESTION_COUNT
public static final int MAX_SUGGESTION_COUNT = 2;
1.399.1.8. static final @VisibleForTesting static int STABLE_ID_SUGGESTION_CONTAINER
// stable id for different type of items.
@VisibleForTesting
static final int STABLE_ID_SUGGESTION_CONTAINER = 0;
1.399.1.9. static final int STABLE_ID_SUGGESTION_CONDITION_DIVIDER
static final int STABLE_ID_SUGGESTION_CONDITION_DIVIDER = 1;
1.399.1.10. static final int STABLE_ID_CONDITION_HEADER
@VisibleForTesting
static final int STABLE_ID_CONDITION_HEADER = 2;
1.399.1.11. static final int STABLE_ID_CONDITION_FOOTER
@VisibleForTesting
static final int STABLE_ID_CONDITION_FOOTER = 3;
1.399.1.12. static final int STABLE_ID_CONDITION_CONTAINER
@VisibleForTesting
static final int STABLE_ID_CONDITION_CONTAINER = 4;
1.399.2. DashboardDataMethod方法列表
1.399.2.1. getItemIdByPosition(int position)
public int getItemIdByPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemIdByPosition", "int position"));
1.399.2.2. getItemTypeByPosition(int position)
public int getItemTypeByPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemTypeByPosition", "int position"));
1.399.2.3. getItemEntityByPosition(int position)
public Object getItemEntityByPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getItemEntityByPosition", "int position"));
1.399.2.4. getItemList()
public List- getItemList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List
- " ,"getItemList", ""));
1.399.2.5. size()
public int size()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"size", ""));
1.399.2.6. getItemEntityById(long id)
public Object getItemEntityById(long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getItemEntityById", "long id"));
1.399.2.7. getCategory()
public DashboardCategory getCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardCategory" ,"getCategory", ""));
1.399.2.8. getConditions()
public List getConditions()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConditions", ""));
1.399.2.9. getSuggestions()
public List getSuggestions()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSuggestions", ""));
1.399.2.10. hasSuggestion()
public boolean hasSuggestion()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasSuggestion", ""));
1.399.2.11. isConditionExpanded()
public boolean isConditionExpanded()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConditionExpanded", ""));
1.399.2.12. getPositionByEntity(Object entity)
public int getPositionByEntity(Object entity)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPositionByEntity", "Object entity"));
1.399.2.13. getPositionByTile(Tile tile)
public int getPositionByTile(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPositionByTile", "Tile tile"));
1.399.2.14. addToItemList(Object item,int type,int stableId,boolean add)
private void addToItemList(Object item, int type, int stableId, boolean add)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addToItemList", "Object item,int type,int stableId,boolean add"));
1.399.2.15. buildItemsData()
private void buildItemsData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildItemsData", ""));
1.399.2.16. getConditionsToShow(List conditions)
private List getConditionsToShow(List conditions)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getConditionsToShow", "List conditions"));
1.399.2.17. getSuggestionsToShow(List suggestions)
private List getSuggestionsToShow(List suggestions)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSuggestionsToShow", "List suggestions"));
1.399.2.18. static sizeOf(List list)
private static int sizeOf(List list)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"sizeOf", "List list"));
1.400. DashboardFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.401. DashboardFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.401.1. DashboardFeatureProviderImpl Field属性列表
1.401.1.1. final Context mContext;
protected final Context mContext;
1.401.1.2. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.401.1.3. final CategoryManager mCategoryManager;
private final CategoryManager mCategoryManager;
1.401.1.4. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.401.1.5. static final String TAG
private static final String TAG = "DashboardFeatureImpl";
1.401.1.6. static final String DASHBOARD_TILE_PREF_KEY_PREFIX
private static final String DASHBOARD_TILE_PREF_KEY_PREFIX = "dashboard_tile_pref_";
1.401.1.7. static final String META_DATA_KEY_INTENT_ACTION
private static final String META_DATA_KEY_INTENT_ACTION = "com.android.settings.intent.action";
1.401.1.8. static final String META_DATA_KEY_ORDER
@VisibleForTesting
static final String META_DATA_KEY_ORDER = "com.android.settings.order";
1.401.2. DashboardFeatureProviderImplMethod方法列表
1.401.2.1. getTilesForCategory(String key)
public DashboardCategory getTilesForCategory(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardCategory" ,"getTilesForCategory", "String key"));
1.401.2.2. getPreferencesForCategory(Activity activity,Context context,int sourceMetricsCategory,String key)
public List getPreferencesForCategory(Activity activity, Context context, int sourceMetricsCategory, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getPreferencesForCategory", "Activity activity,Context context,int sourceMetricsCategory,String key"));
1.401.2.3. getAllCategories()
public List getAllCategories()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAllCategories", ""));
1.401.2.4. shouldTintIcon()
public boolean shouldTintIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldTintIcon", ""));
1.401.2.5. getDashboardKeyForTile(Tile tile)
public String getDashboardKeyForTile(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDashboardKeyForTile", "Tile tile"));
1.401.2.6. bindPreferenceToTile(Activity activity,int sourceMetricsCategory,Preference pref,Tile tile,String key,int baseOrder)
public void bindPreferenceToTile(Activity activity, int sourceMetricsCategory, Preference pref, Tile tile, String key, int baseOrder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindPreferenceToTile", "Activity activity,int sourceMetricsCategory,Preference pref,Tile tile,String key,int baseOrder"));
1.401.2.7. getExtraIntentAction()
public String getExtraIntentAction()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getExtraIntentAction", ""));
1.401.2.8. openTileIntent(Activity activity,Tile tile)
public void openTileIntent(Activity activity, Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"openTileIntent", "Activity activity,Tile tile"));
1.401.2.9. bindSummary(Preference preference,Tile tile)
private void bindSummary(Preference preference, Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindSummary", "Preference preference,Tile tile"));
1.401.2.10. bindIcon(Preference preference,Tile tile)
void bindIcon(Preference preference, Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindIcon", "Preference preference,Tile tile"));
1.401.2.11. launchIntentOrSelectProfile(Activity activity,Tile tile,Intent intent,int sourceMetricCategory)
private void launchIntentOrSelectProfile(Activity activity, Tile tile, Intent intent, int sourceMetricCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchIntentOrSelectProfile", "Activity activity,Tile tile,Intent intent,int sourceMetricCategory"));
1.401.2.12. isIntentResolvable(Intent intent)
private boolean isIntentResolvable(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIntentResolvable", "Intent intent"));
1.402. DashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.402.1. DashboardFragment Field属性列表
1.402.1.1. DashboardFeatureProvider mDashboardFeatureProvider;
private DashboardFeatureProvider mDashboardFeatureProvider;
1.402.1.2. DashboardTilePlaceholderPreferenceController mPlaceholderPreferenceController;
private DashboardTilePlaceholderPreferenceController mPlaceholderPreferenceController;
1.402.1.3. boolean mListeningToCategoryChange;
private boolean mListeningToCategoryChange;
1.402.1.4. SummaryLoader mSummaryLoader;
private SummaryLoader mSummaryLoader;
1.402.1.5. final Map> mPreferenceControllers
private final Map> mPreferenceControllers = new ArrayMap<>();
1.402.1.6. final Set mDashboardTilePrefKeys
private final Set mDashboardTilePrefKeys = new ArraySet<>();
1.402.1.7. static final String TAG
private static final String TAG = "DashboardFragment";
1.402.2. DashboardFragmentMethod方法列表
1.402.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.402.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.402.2.3. onCategoriesChanged()
public void onCategoriesChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCategoriesChanged", ""));
1.402.2.4. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.402.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.402.2.6. notifySummaryChanged(Tile tile)
public void notifySummaryChanged(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifySummaryChanged", "Tile tile"));
1.402.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.402.2.8. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.402.2.9. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.402.2.10. use(Class clazz)
protected T use(Class clazz)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"use", "Class clazz"));
1.402.2.11. addPreferenceController(AbstractPreferenceController controller)
protected void addPreferenceController(AbstractPreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferenceController", "AbstractPreferenceController controller"));
1.402.2.12. getCategoryKey()
public String getCategoryKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCategoryKey", ""));
1.402.2.13. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.402.2.14. displayTile(Tile tile)
protected boolean displayTile(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"displayTile", "Tile tile"));
1.402.2.15. tintTileIcon(Tile tile)
boolean tintTileIcon(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"tintTileIcon", "Tile tile"));
1.402.2.16. displayResourceTiles()
private void displayResourceTiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayResourceTiles", ""));
1.402.2.17. updatePreferenceStates()
protected void updatePreferenceStates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceStates", ""));
1.402.2.18. refreshAllPreferences(final String TAG)
private void refreshAllPreferences(final String TAG)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshAllPreferences", "final String TAG"));
1.402.2.19. refreshDashboardTiles(final String TAG)
void refreshDashboardTiles(final String TAG)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshDashboardTiles", "final String TAG"));
1.402.2.20. abstract getPreferenceScreenResId()
protected abstract int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.402.2.21. abstract getLogTag()
protected abstract String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.403. DashboardFragmentRegistry.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardFragmentRegistry.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.403.1. DashboardFragmentRegistry Field属性列表
1.403.1.1. static final Map PARENT_TO_CATEGORY_KEY_MAP;
/**
* Map from parent fragment to category key. The parent fragment hosts child with
* category_key.
*/
public static final Map PARENT_TO_CATEGORY_KEY_MAP;
1.403.1.2. static final Map CATEGORY_KEY_TO_PARENT_MAP;
/**
* Map from category_key to parent. This is a helper to look up which fragment hosts the
* category_key.
*/
public static final Map CATEGORY_KEY_TO_PARENT_MAP;
1.403.2. DashboardFragmentRegistryMethod方法列表
1.404. DashboardItemAnimator.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardItemAnimator.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.404.1. DashboardItemAnimator Field属性列表
1.404.2. DashboardItemAnimatorMethod方法列表
1.404.2.1. animateChange(ViewHolder oldHolder,ViewHolder newHolder,int fromX,int fromY,int toX,int toY)
public boolean animateChange(ViewHolder oldHolder, ViewHolder newHolder, int fromX, int fromY, int toX, int toY)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"animateChange", "ViewHolder oldHolder,ViewHolder newHolder,int fromX,int fromY,int toX,int toY"));
1.405. DashboardSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.405.1. DashboardSummary Field属性列表
1.405.1.1. FocusRecyclerView mDashboard;
private FocusRecyclerView mDashboard;
1.405.1.2. DashboardAdapter mAdapter;
private DashboardAdapter mAdapter;
1.405.1.3. SummaryLoader mSummaryLoader;
private SummaryLoader mSummaryLoader;
1.405.1.4. ConditionManager mConditionManager;
private ConditionManager mConditionManager;
1.405.1.5. LinearLayoutManager mLayoutManager;
private LinearLayoutManager mLayoutManager;
1.405.1.6. SuggestionControllerMixin mSuggestionControllerMixin;
private SuggestionControllerMixin mSuggestionControllerMixin;
1.405.1.7. DashboardFeatureProvider mDashboardFeatureProvider;
private DashboardFeatureProvider mDashboardFeatureProvider;
1.405.1.8. boolean mIsOnCategoriesChangedCalled;
@VisibleForTesting
boolean mIsOnCategoriesChangedCalled;
1.405.1.9. boolean mOnConditionsChangedCalled;
private boolean mOnConditionsChangedCalled;
1.405.1.10. DashboardCategory mStagingCategory;
private DashboardCategory mStagingCategory;
1.405.1.11. List mStagingSuggestions;
private List mStagingSuggestions;
1.405.1.12. final Handler mHandler
private final Handler mHandler = new Handler();
1.405.1.13. static final boolean DEBUG
public static final boolean DEBUG = false;
1.405.1.14. static final boolean DEBUG_TIMING
private static final boolean DEBUG_TIMING = false;
1.405.1.15. static final int MAX_WAIT_MILLIS
private static final int MAX_WAIT_MILLIS = 3000;
1.405.1.16. static final String TAG
private static final String TAG = "DashboardSummary";
1.405.1.17. static final String STATE_SCROLL_POSITION
private static final String STATE_SCROLL_POSITION = "scroll_position";
1.405.1.18. static final String STATE_CATEGORIES_CHANGE_CALLED
private static final String STATE_CATEGORIES_CHANGE_CALLED = "categories_change_called";
1.405.2. DashboardSummaryMethod方法列表
1.405.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.405.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.405.2.3. getLoaderManager()
public LoaderManager getLoaderManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"LoaderManager" ,"getLoaderManager", ""));
1.405.2.4. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.405.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.405.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.405.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.405.2.8. onWindowFocusChanged(boolean hasWindowFocus)
public void onWindowFocusChanged(boolean hasWindowFocus)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWindowFocusChanged", "boolean hasWindowFocus"));
1.405.2.9. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.405.2.10. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle bundle)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle bundle"));
1.405.2.11. rebuildUI()
void rebuildUI()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebuildUI", ""));
1.405.2.12. onCategoriesChanged()
public void onCategoriesChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCategoriesChanged", ""));
1.405.2.13. onConditionsChanged()
public void onConditionsChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConditionsChanged", ""));
1.405.2.14. onSuggestionReady(List suggestions)
public void onSuggestionReady(List suggestions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSuggestionReady", "List suggestions"));
1.405.2.15. updateCategory()
void updateCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCategory", ""));
1.406. DashboardTilePlaceholderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/DashboardTilePlaceholderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.406.1. DashboardTilePlaceholderPreferenceController Field属性列表
1.406.1.1. int mOrder
private int mOrder = Preference.DEFAULT_ORDER;
1.406.1.2. static final String KEY_PLACEHOLDER
private static final String KEY_PLACEHOLDER = "dashboard_tile_placeholder";
1.406.2. DashboardTilePlaceholderPreferenceControllerMethod方法列表
1.406.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.406.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.406.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.406.2.4. getOrder()
public int getOrder()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getOrder", ""));
1.407. DatabaseIndexingManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DatabaseIndexingManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.407.1. DatabaseIndexingManager Field属性列表
1.407.1.1. PreIndexDataCollector mCollector;
private PreIndexDataCollector mCollector;
1.407.1.2. IndexDataConverter mConverter;
private IndexDataConverter mConverter;
1.407.1.3. Context mContext;
private Context mContext;
1.407.1.4. static final String LOG_TAG
private static final String LOG_TAG = "DatabaseIndexingManager";
1.407.2. DatabaseIndexingManagerMethod方法列表
1.407.2.1. performIndexing()
public void performIndexing()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performIndexing", ""));
1.407.2.2. getIndexDataFromProviders(List providers,boolean isFullIndex)
PreIndexData getIndexDataFromProviders(List providers, boolean isFullIndex)
methodList.add(new ZMethod(mZAndroidAPPClass,"PreIndexData" ,"getIndexDataFromProviders", "List providers,boolean isFullIndex"));
1.407.2.3. isFullIndex(Context context,String locale,String fingerprint,String providerVersionedNames)
boolean isFullIndex(Context context, String locale, String fingerprint, String providerVersionedNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFullIndex", "Context context,String locale,String fingerprint,String providerVersionedNames"));
1.407.2.4. rebuildDatabase()
private void rebuildDatabase()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebuildDatabase", ""));
1.407.2.5. updateDatabase(PreIndexData preIndexData,boolean needsReindexing)
void updateDatabase(PreIndexData preIndexData, boolean needsReindexing)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDatabase", "PreIndexData preIndexData,boolean needsReindexing"));
1.407.2.6. getIndexData(PreIndexData data)
List getIndexData(PreIndexData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getIndexData", "PreIndexData data"));
1.407.2.7. insertIndexData(SQLiteDatabase database,List indexData)
void insertIndexData(SQLiteDatabase database, List indexData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"insertIndexData", "SQLiteDatabase database,List indexData"));
1.407.2.8. updateDataInDatabase(SQLiteDatabase database,Map> nonIndexableKeys)
void updateDataInDatabase(SQLiteDatabase database, Map> nonIndexableKeys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataInDatabase", "SQLiteDatabase database,Map> nonIndexableKeys"));
1.407.2.9. getWritableDatabase()
private SQLiteDatabase getWritableDatabase()
methodList.add(new ZMethod(mZAndroidAPPClass,"SQLiteDatabase" ,"getWritableDatabase", ""));
1.408. DatabaseIndexingUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DatabaseIndexingUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.408.1. DatabaseIndexingUtils Field属性列表
1.408.1.1. static final String TAG
private static final String TAG = "IndexingUtil";
1.408.1.2. static final String FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER
public static final String FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER = "SEARCH_INDEX_DATA_PROVIDER";
1.408.2. DatabaseIndexingUtilsMethod方法列表
1.408.2.1. static buildSearchResultPageIntent(Context context,String className,String key,String screenTitle)
public static Intent buildSearchResultPageIntent(Context context, String className, String key, String screenTitle)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"buildSearchResultPageIntent", "Context context,String className,String key,String screenTitle"));
1.408.2.2. static buildSearchResultPageIntent(Context context,String className,String key,String screenTitle,int sourceMetricsCategory)
public static Intent buildSearchResultPageIntent(Context context, String className, String key, String screenTitle, int sourceMetricsCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"buildSearchResultPageIntent", "Context context,String className,String key,String screenTitle,int sourceMetricsCategory"));
1.408.2.3. static getPayloadKeyMap(String className,Context context)
public static Map getPayloadKeyMap(String className, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Map" ,"getPayloadKeyMap", "String className,Context context"));
1.408.2.4. static getIndexableClass(String className)
public static Class getIndexableClass(String className)
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getIndexableClass", "String className"));
1.408.2.5. static isIndexableClass(final Class clazz)
public static boolean isIndexableClass(final Class clazz)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIndexableClass", "final Class clazz"));
1.408.2.6. static getSearchIndexProvider(final Class clazz)
public static Indexable.SearchIndexProvider getSearchIndexProvider(final Class clazz)
methodList.add(new ZMethod(mZAndroidAPPClass,"Indexable.SearchIndexProvider" ,"getSearchIndexProvider", "final Class clazz"));
1.409. DatabaseResultLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DatabaseResultLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.409.1. DatabaseResultLoader Field属性列表
1.409.1.1. static final String TAG
private static final String TAG = "DatabaseResultLoader";
1.409.1.2. static final String[] SELECT_COLUMNS
public static final String[] SELECT_COLUMNS = { IndexColumns.DOCID, IndexColumns.DATA_TITLE, IndexColumns.DATA_SUMMARY_ON, IndexColumns.DATA_SUMMARY_OFF, IndexColumns.CLASS_NAME, IndexColumns.SCREEN_TITLE, IndexColumns.ICON, IndexColumns.INTENT_ACTION, IndexColumns.INTENT_TARGET_PACKAGE, IndexColumns.INTENT_TARGET_CLASS, IndexColumns.DATA_KEY_REF, IndexColumns.PAYLOAD_TYPE, IndexColumns.PAYLOAD };
1.409.1.3. static final int COLUMN_INDEX_ID
/**
* These indices are used to match the columns of the this loader's SELECT statement.
* These are not necessarily the same order nor similar coverage as the schema defined in
* IndexDatabaseHelper
*/
public static final int COLUMN_INDEX_ID = 0;
1.409.1.4. static final int COLUMN_INDEX_INTENT_ACTION_TARGET_PACKAGE
public static final int COLUMN_INDEX_INTENT_ACTION_TARGET_PACKAGE = 8;
1.409.1.5. static final int COLUMN_INDEX_KEY
public static final int COLUMN_INDEX_KEY = 10;
1.409.2. DatabaseResultLoaderMethod方法列表
1.410. DataSaverBackend.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataSaverBackend.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.410.1. DataSaverBackend Field属性列表
1.410.1.1. SparseIntArray mUidPolicies
private SparseIntArray mUidPolicies = new SparseIntArray();
1.410.1.2. boolean mWhitelistInitialized;
private boolean mWhitelistInitialized;
1.410.1.3. boolean mBlacklistInitialized;
private boolean mBlacklistInitialized;
1.410.1.4. final Context mContext;
private final Context mContext;
1.410.1.5. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.410.1.6. final NetworkPolicyManager mPolicyManager;
private final NetworkPolicyManager mPolicyManager;
1.410.1.7. final ArrayList mListeners
private final ArrayList mListeners = new ArrayList<>();
1.410.1.8. final INetworkPolicyListener mPolicyListener
private final INetworkPolicyListener mPolicyListener = new INetworkPolicyListener.Stub() {
@Override
public void onUidRulesChanged(int uid, int uidRules) throws RemoteException {
}
@Override
public void onUidPoliciesChanged(final int uid, final int uidPolicies) {
ThreadUtils.postOnMainThread(() -> handleUidPoliciesChanged(uid, uidPolicies));
}
@Override
public void onMeteredIfacesChanged(String[] strings) throws RemoteException {
}
@Override
public void onRestrictBackgroundChanged(final boolean isDataSaving) throws RemoteException {
ThreadUtils.postOnMainThread(() -> handleRestrictBackgroundChanged(isDataSaving));
}
@Override
public void onSubscriptionOverride(int subId, int overrideMask, int overrideValue) {
}
};
1.410.1.9. static final String TAG
private static final String TAG = "DataSaverBackend";
1.410.2. DataSaverBackendMethod方法列表
1.410.2.1. addListener(Listener listener)
public void addListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addListener", "Listener listener"));
1.410.2.2. remListener(Listener listener)
public void remListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"remListener", "Listener listener"));
1.410.2.3. isDataSaverEnabled()
public boolean isDataSaverEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDataSaverEnabled", ""));
1.410.2.4. setDataSaverEnabled(boolean enabled)
public void setDataSaverEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDataSaverEnabled", "boolean enabled"));
1.410.2.5. refreshWhitelist()
public void refreshWhitelist()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshWhitelist", ""));
1.410.2.6. setIsWhitelisted(int uid,String packageName,boolean whitelisted)
public void setIsWhitelisted(int uid, String packageName, boolean whitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsWhitelisted", "int uid,String packageName,boolean whitelisted"));
1.410.2.7. isWhitelisted(int uid)
public boolean isWhitelisted(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWhitelisted", "int uid"));
1.410.2.8. getWhitelistedCount()
public int getWhitelistedCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWhitelistedCount", ""));
1.410.2.9. loadWhitelist()
private void loadWhitelist()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadWhitelist", ""));
1.410.2.10. refreshBlacklist()
public void refreshBlacklist()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshBlacklist", ""));
1.410.2.11. setIsBlacklisted(int uid,String packageName,boolean blacklisted)
public void setIsBlacklisted(int uid, String packageName, boolean blacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsBlacklisted", "int uid,String packageName,boolean blacklisted"));
1.410.2.12. isBlacklisted(int uid)
public boolean isBlacklisted(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBlacklisted", "int uid"));
1.410.2.13. loadBlacklist()
private void loadBlacklist()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadBlacklist", ""));
1.410.2.14. handleRestrictBackgroundChanged(boolean isDataSaving)
private void handleRestrictBackgroundChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleRestrictBackgroundChanged", "boolean isDataSaving"));
1.410.2.15. handleWhitelistChanged(int uid,boolean isWhitelisted)
private void handleWhitelistChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWhitelistChanged", "int uid,boolean isWhitelisted"));
1.410.2.16. handleBlacklistChanged(int uid,boolean isBlacklisted)
private void handleBlacklistChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleBlacklistChanged", "int uid,boolean isBlacklisted"));
1.410.2.17. handleUidPoliciesChanged(int uid,int newPolicy)
private void handleUidPoliciesChanged(int uid, int newPolicy)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUidPoliciesChanged", "int uid,int newPolicy"));
1.411. DataSaverController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/DataSaverController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.411.1. DataSaverController Field属性列表
1.411.1.1. static final String KEY_DATA_SAVER
@VisibleForTesting
static final String KEY_DATA_SAVER = "data_saver";
1.411.2. DataSaverControllerMethod方法列表
1.411.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.412. DataSaverPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataSaverPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.412.1. DataSaverPreference Field属性列表
1.412.1.1. final DataSaverBackend mDataSaverBackend;
private final DataSaverBackend mDataSaverBackend;
1.412.2. DataSaverPreferenceMethod方法列表
1.412.2.1. onAttached()
public void onAttached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttached", ""));
1.412.2.2. onDetached()
public void onDetached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetached", ""));
1.412.2.3. onDataSaverChanged(boolean isDataSaving)
public void onDataSaverChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSaverChanged", "boolean isDataSaving"));
1.412.2.4. onWhitelistStatusChanged(int uid,boolean isWhitelisted)
public void onWhitelistStatusChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWhitelistStatusChanged", "int uid,boolean isWhitelisted"));
1.412.2.5. onBlacklistStatusChanged(int uid,boolean isBlacklisted)
public void onBlacklistStatusChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBlacklistStatusChanged", "int uid,boolean isBlacklisted"));
1.413. DataSaverSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataSaverSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.413.1. DataSaverSummary Field属性列表
1.413.1.1. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.413.1.2. DataSaverBackend mDataSaverBackend;
private DataSaverBackend mDataSaverBackend;
1.413.1.3. Preference mUnrestrictedAccess;
private Preference mUnrestrictedAccess;
1.413.1.4. ApplicationsState mApplicationsState;
private ApplicationsState mApplicationsState;
1.413.1.5. AppStateDataUsageBridge mDataUsageBridge;
private AppStateDataUsageBridge mDataUsageBridge;
1.413.1.6. Session mSession;
private Session mSession;
1.413.1.7. boolean mSwitching;
// Flag used to avoid infinite loop due if user switch it on/off too quicky.
private boolean mSwitching;
1.413.1.8. static final String KEY_UNRESTRICTED_ACCESS
private static final String KEY_UNRESTRICTED_ACCESS = "unrestricted_access";
1.413.2. DataSaverSummaryMethod方法列表
1.413.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.413.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.413.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.413.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.413.2.5. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.413.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.413.2.7. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.413.2.8. onDataSaverChanged(boolean isDataSaving)
public void onDataSaverChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSaverChanged", "boolean isDataSaving"));
1.413.2.9. onWhitelistStatusChanged(int uid,boolean isWhitelisted)
public void onWhitelistStatusChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWhitelistStatusChanged", "int uid,boolean isWhitelisted"));
1.413.2.10. onBlacklistStatusChanged(int uid,boolean isBlacklisted)
public void onBlacklistStatusChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBlacklistStatusChanged", "int uid,boolean isBlacklisted"));
1.413.2.11. onExtraInfoUpdated()
public void onExtraInfoUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onExtraInfoUpdated", ""));
1.413.2.12. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.413.2.13. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.413.2.14. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.413.2.15. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.413.2.16. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.413.2.17. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.413.2.18. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.413.2.19. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.414. DataUsageBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.414.1. DataUsageBase Field属性列表
1.414.1.1. final TemplatePreference.NetworkServices services
protected final TemplatePreference.NetworkServices services = new TemplatePreference.NetworkServices();
1.414.1.2. static final String TAG
private static final String TAG = "DataUsageBase";
1.414.1.3. static final String ETHERNET
private static final String ETHERNET = "ethernet";
1.414.2. DataUsageBaseMethod方法列表
1.414.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.414.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.414.2.3. isAdmin()
protected boolean isAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdmin", ""));
1.414.2.4. isMobileDataAvailable(int subId)
protected boolean isMobileDataAvailable(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isMobileDataAvailable", "int subId"));
1.414.2.5. isNetworkPolicyModifiable(NetworkPolicy policy,int subId)
protected boolean isNetworkPolicyModifiable(NetworkPolicy policy, int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNetworkPolicyModifiable", "NetworkPolicy policy,int subId"));
1.414.2.6. isDataEnabled(int subId)
private boolean isDataEnabled(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDataEnabled", "int subId"));
1.414.2.7. isBandwidthControlEnabled()
protected boolean isBandwidthControlEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBandwidthControlEnabled", ""));
1.414.2.8. hasEthernet(Context context)
public boolean hasEthernet(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasEthernet", "Context context"));
1.415. DataUsageBaseFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageBaseFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.415.1. DataUsageBaseFragment Field属性列表
1.415.1.1. final TemplatePreference.NetworkServices services
protected final TemplatePreference.NetworkServices services = new TemplatePreference.NetworkServices();
1.415.1.2. static final String TAG
private static final String TAG = "DataUsageBase";
1.415.1.3. static final String ETHERNET
private static final String ETHERNET = "ethernet";
1.415.2. DataUsageBaseFragmentMethod方法列表
1.415.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.415.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.415.2.3. isAdmin()
protected boolean isAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdmin", ""));
1.415.2.4. isMobileDataAvailable(int subId)
protected boolean isMobileDataAvailable(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isMobileDataAvailable", "int subId"));
1.415.2.5. isNetworkPolicyModifiable(NetworkPolicy policy,int subId)
protected boolean isNetworkPolicyModifiable(NetworkPolicy policy, int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNetworkPolicyModifiable", "NetworkPolicy policy,int subId"));
1.415.2.6. isDataEnabled(int subId)
private boolean isDataEnabled(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDataEnabled", "int subId"));
1.415.2.7. isBandwidthControlEnabled()
protected boolean isBandwidthControlEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBandwidthControlEnabled", ""));
1.415.2.8. hasEthernet(Context context)
public boolean hasEthernet(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasEthernet", "Context context"));
1.416. DataUsageEditController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageEditController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.417. DataUsageInfoController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageInfoController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.417.1. DataUsageInfoController Field属性列表
1.417.2. DataUsageInfoControllerMethod方法列表
1.417.2.1. updateDataLimit(DataUsageInfo info,NetworkPolicy policy)
public void updateDataLimit(DataUsageInfo info, NetworkPolicy policy)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataLimit", "DataUsageInfo info,NetworkPolicy policy"));
1.417.2.2. getSummaryLimit(DataUsageInfo info)
public long getSummaryLimit(DataUsageInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getSummaryLimit", "DataUsageInfo info"));
1.418. DataUsageList.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageList.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.418.1. DataUsageList Field属性列表
1.418.1.1. INetworkStatsSession mStatsSession;
private INetworkStatsSession mStatsSession;
1.418.1.2. ChartDataUsagePreference mChart;
private ChartDataUsagePreference mChart;
1.418.1.3. NetworkTemplate mTemplate;
@VisibleForTesting
NetworkTemplate mTemplate;
1.418.1.4. int mSubId
@VisibleForTesting
int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
1.418.1.5. ChartData mChartData;
private ChartData mChartData;
1.418.1.6. LoadingViewController mLoadingViewController;
private LoadingViewController mLoadingViewController;
1.418.1.7. UidDetailProvider mUidDetailProvider;
private UidDetailProvider mUidDetailProvider;
1.418.1.8. CycleAdapter mCycleAdapter;
private CycleAdapter mCycleAdapter;
1.418.1.9. Spinner mCycleSpinner;
private Spinner mCycleSpinner;
1.418.1.10. Preference mUsageAmount;
private Preference mUsageAmount;
1.418.1.11. PreferenceGroup mApps;
private PreferenceGroup mApps;
1.418.1.12. View mHeader;
private View mHeader;
1.418.1.13. OnItemSelectedListener mCycleListener
private OnItemSelectedListener mCycleListener = new OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView parent, View view, int position, long id) {
final CycleAdapter.CycleItem cycle = (CycleAdapter.CycleItem) mCycleSpinner.getSelectedItem();
if (LOGD) {
Log.d(TAG, "showing cycle " + cycle + ", start=" + cycle.start + ", end=" + cycle.end + "]");
}
// update chart to show selected cycle, and update detail data
// to match updated sweep bounds.
mChart.setVisibleRange(cycle.start, cycle.end);
updateDetailData();
}
@Override
public void onNothingSelected(AdapterView parent) {
// ignored
}
};
1.418.1.14. final CellDataPreference.DataStateListener mDataStateListener
private final CellDataPreference.DataStateListener mDataStateListener = new CellDataPreference.DataStateListener() {
@Override
public void onChange(boolean selfChange) {
updatePolicy();
}
};
1.418.1.15. final LoaderCallbacks mChartDataCallbacks
private final LoaderCallbacks mChartDataCallbacks = new LoaderCallbacks() {
@Override
public Loader onCreateLoader(int id, Bundle args) {
return new ChartDataLoader(getActivity(), mStatsSession, args);
}
@Override
public void onLoadFinished(Loader loader, ChartData data) {
mLoadingViewController.showContent(false);
mChartData = data;
mChart.setNetworkStats(mChartData.network);
// calculate policy cycles based on available data
updatePolicy();
}
@Override
public void onLoaderReset(Loader loader) {
mChartData = null;
mChart.setNetworkStats(null);
}
};
1.418.1.16. final LoaderCallbacks mSummaryCallbacks
private final LoaderCallbacks mSummaryCallbacks = new LoaderCallbacks() {
@Override
public Loader onCreateLoader(int id, Bundle args) {
return new SummaryForAllUidLoader(getActivity(), mStatsSession, args);
}
@Override
public void onLoadFinished(Loader loader, NetworkStats data) {
final int[] restrictedUids = services.mPolicyManager.getUidsWithPolicy(POLICY_REJECT_METERED_BACKGROUND);
bindStats(data, restrictedUids);
updateEmptyVisible();
}
@Override
public void onLoaderReset(Loader loader) {
bindStats(null, new int[0]);
updateEmptyVisible();
}
private void updateEmptyVisible() {
if ((mApps.getPreferenceCount() != 0) != (getPreferenceScreen().getPreferenceCount() != 0)) {
if (mApps.getPreferenceCount() != 0) {
getPreferenceScreen().addPreference(mUsageAmount);
getPreferenceScreen().addPreference(mApps);
} else {
getPreferenceScreen().removeAll();
}
}
}
};
1.418.1.17. static final String EXTRA_SUB_ID
public static final String EXTRA_SUB_ID = "sub_id";
1.418.1.18. static final String EXTRA_NETWORK_TEMPLATE
public static final String EXTRA_NETWORK_TEMPLATE = "network_template";
1.418.1.19. static final String TAG
private static final String TAG = "DataUsage";
1.418.1.20. static final boolean LOGD
private static final boolean LOGD = false;
1.418.1.21. static final String KEY_USAGE_AMOUNT
private static final String KEY_USAGE_AMOUNT = "usage_amount";
1.418.1.22. static final String KEY_CHART_DATA
private static final String KEY_CHART_DATA = "chart_data";
1.418.1.23. static final String KEY_APPS_GROUP
private static final String KEY_APPS_GROUP = "apps_group";
1.418.1.24. static final int LOADER_CHART_DATA
private static final int LOADER_CHART_DATA = 2;
1.418.1.25. static final int LOADER_SUMMARY
private static final int LOADER_SUMMARY = 3;
1.418.2. DataUsageListMethod方法列表
1.418.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.418.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.418.2.3. onViewCreated(View v,Bundle savedInstanceState)
public void onViewCreated(View v, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View v,Bundle savedInstanceState"));
1.418.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.418.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.418.2.6. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.418.2.7. processArgument()
void processArgument()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"processArgument", ""));
1.418.2.8. updateBody()
private void updateBody()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBody", ""));
1.418.2.9. updatePolicy()
private void updatePolicy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePolicy", ""));
1.418.2.10. updateDetailData()
private void updateDetailData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDetailData", ""));
1.418.2.11. bindStats(NetworkStats stats,int[] restrictedUids)
public void bindStats(NetworkStats stats, int[] restrictedUids)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindStats", "NetworkStats stats,int[] restrictedUids"));
1.418.2.12. startAppDataUsage(AppItem item)
private void startAppDataUsage(AppItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAppDataUsage", "AppItem item"));
1.418.2.13. static accumulate(int collapseKey,final SparseArray knownItems,NetworkStats.Entry entry,int itemCategory,ArrayList items,long largest)
private static long accumulate(int collapseKey, final SparseArray knownItems, NetworkStats.Entry entry, int itemCategory, ArrayList items, long largest)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"accumulate", "int collapseKey,final SparseArray knownItems,NetworkStats.Entry entry,int itemCategory,ArrayList items,long largest"));
1.418.2.14. static hasReadyMobileRadio(Context context)
public static boolean hasReadyMobileRadio(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasReadyMobileRadio", "Context context"));
1.418.2.15. static hasReadyMobileRadio(Context context,int subId)
public static boolean hasReadyMobileRadio(Context context, int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasReadyMobileRadio", "Context context,int subId"));
1.419. DataUsagePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsagePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.419.1. DataUsagePreference Field属性列表
1.419.1.1. NetworkTemplate mTemplate;
private NetworkTemplate mTemplate;
1.419.1.2. int mSubId;
private int mSubId;
1.419.1.3. int mTitleRes;
private int mTitleRes;
1.419.2. DataUsagePreferenceMethod方法列表
1.419.2.1. setTemplate(NetworkTemplate template,int subId,NetworkServices services)
public void setTemplate(NetworkTemplate template, int subId, NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTemplate", "NetworkTemplate template,int subId,NetworkServices services"));
1.419.2.2. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.420. DataUsageSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.420.1. DataUsageSummary Field属性列表
1.420.1.1. DataUsageSummaryPreference mSummaryPreference;
private DataUsageSummaryPreference mSummaryPreference;
1.420.1.2. DataUsageSummaryPreferenceController mSummaryController;
private DataUsageSummaryPreferenceController mSummaryController;
1.420.1.3. NetworkTemplate mDefaultTemplate;
private NetworkTemplate mDefaultTemplate;
1.420.1.4. static final String TAG
private static final String TAG = "DataUsageSummary";
1.420.1.5. static final boolean LOGD
static final boolean LOGD = false;
1.420.1.6. static final String KEY_RESTRICT_BACKGROUND
public static final String KEY_RESTRICT_BACKGROUND = "restrict_background";
1.420.1.7. static final String KEY_STATUS_HEADER
private static final String KEY_STATUS_HEADER = "status_header";
1.420.1.8. static final String KEY_MOBILE_USAGE_TITLE
// Mobile data keys
public static final String KEY_MOBILE_USAGE_TITLE = "mobile_category";
1.420.1.9. static final String KEY_MOBILE_DATA_USAGE_TOGGLE
public static final String KEY_MOBILE_DATA_USAGE_TOGGLE = "data_usage_enable";
1.420.1.10. static final String KEY_MOBILE_DATA_USAGE
public static final String KEY_MOBILE_DATA_USAGE = "cellular_data_usage";
1.420.1.11. static final String KEY_MOBILE_BILLING_CYCLE
public static final String KEY_MOBILE_BILLING_CYCLE = "billing_preference";
1.420.1.12. static final String KEY_WIFI_USAGE_TITLE
// Wifi keys
public static final String KEY_WIFI_USAGE_TITLE = "wifi_category";
1.420.1.13. static final String KEY_WIFI_DATA_USAGE
public static final String KEY_WIFI_DATA_USAGE = "wifi_data_usage";
1.420.1.14. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = SummaryProvider::new;
1.420.1.15. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For search
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List resources = new ArrayList<>();
SearchIndexableResource resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage;
resources.add(resource);
resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage_cellular;
resources.add(resource);
resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage_wifi;
resources.add(resource);
return resources;
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
if (!DataUsageUtils.hasMobileData(context)) {
keys.add(KEY_MOBILE_USAGE_TITLE);
keys.add(KEY_MOBILE_DATA_USAGE_TOGGLE);
keys.add(KEY_MOBILE_DATA_USAGE);
keys.add(KEY_MOBILE_BILLING_CYCLE);
}
if (!DataUsageUtils.hasWifiRadio(context)) {
keys.add(KEY_WIFI_DATA_USAGE);
}
// This title is named Wifi, and will confuse users.
keys.add(KEY_WIFI_USAGE_TITLE);
return keys;
}
};
1.420.2. DataUsageSummaryMethod方法列表
1.420.2.1. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.420.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.420.2.3. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.420.2.4. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.420.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.420.2.6. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.420.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.420.2.8. addMobileSection(int subId)
void addMobileSection(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMobileSection", "int subId"));
1.420.2.9. addMobileSection(int subId,SubscriptionInfo subInfo)
private void addMobileSection(int subId, SubscriptionInfo subInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMobileSection", "int subId,SubscriptionInfo subInfo"));
1.420.2.10. addWifiSection()
void addWifiSection()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addWifiSection", ""));
1.420.2.11. addEthernetSection()
private void addEthernetSection()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addEthernetSection", ""));
1.420.2.12. inflatePreferences(int resId)
private Preference inflatePreferences(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"inflatePreferences", "int resId"));
1.420.2.13. getNetworkTemplate(int subscriptionId)
private NetworkTemplate getNetworkTemplate(int subscriptionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getNetworkTemplate", "int subscriptionId"));
1.420.2.14. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.420.2.15. updateState()
private void updateState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", ""));
1.420.2.16. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.420.2.17. getNetworkPolicyEditor()
public NetworkPolicyEditor getNetworkPolicyEditor()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkPolicyEditor" ,"getNetworkPolicyEditor", ""));
1.420.2.18. getNetworkTemplate()
public NetworkTemplate getNetworkTemplate()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getNetworkTemplate", ""));
1.420.2.19. updateDataUsage()
public void updateDataUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataUsage", ""));
1.420.2.20. static formatUsage(Context context,String template,long usageLevel)
static CharSequence formatUsage(Context context, String template, long usageLevel)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatUsage", "Context context,String template,long usageLevel"));
1.420.2.21. static formatUsage(Context context,String template,long usageLevel,float larger,float smaller)
static CharSequence formatUsage(Context context, String template, long usageLevel, float larger, float smaller)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatUsage", "Context context,String template,long usageLevel,float larger,float smaller"));
1.421. DataUsageSummaryLegacy.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageSummaryLegacy.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.421.1. DataUsageSummaryLegacy Field属性列表
1.421.1.1. DataUsageController mDataUsageController;
private DataUsageController mDataUsageController;
1.421.1.2. DataUsageInfoController mDataInfoController;
private DataUsageInfoController mDataInfoController;
1.421.1.3. SummaryPreference mSummaryPreference;
private SummaryPreference mSummaryPreference;
1.421.1.4. Preference mLimitPreference;
private Preference mLimitPreference;
1.421.1.5. NetworkTemplate mDefaultTemplate;
private NetworkTemplate mDefaultTemplate;
1.421.1.6. int mDataUsageTemplate;
private int mDataUsageTemplate;
1.421.1.7. NetworkPolicyEditor mPolicyEditor;
private NetworkPolicyEditor mPolicyEditor;
1.421.1.8. static final String TAG
private static final String TAG = "DataUsageSummaryLegacy";
1.421.1.9. static final boolean LOGD
static final boolean LOGD = false;
1.421.1.10. static final String KEY_RESTRICT_BACKGROUND
public static final String KEY_RESTRICT_BACKGROUND = "restrict_background_legacy";
1.421.1.11. static final String KEY_STATUS_HEADER
private static final String KEY_STATUS_HEADER = "status_header";
1.421.1.12. static final String KEY_LIMIT_SUMMARY
private static final String KEY_LIMIT_SUMMARY = "limit_summary";
1.421.1.13. static final String KEY_MOBILE_USAGE_TITLE
// Mobile data keys
public static final String KEY_MOBILE_USAGE_TITLE = "mobile_category";
1.421.1.14. static final String KEY_MOBILE_DATA_USAGE_TOGGLE
public static final String KEY_MOBILE_DATA_USAGE_TOGGLE = "data_usage_enable";
1.421.1.15. static final String KEY_MOBILE_DATA_USAGE
public static final String KEY_MOBILE_DATA_USAGE = "cellular_data_usage";
1.421.1.16. static final String KEY_MOBILE_BILLING_CYCLE
public static final String KEY_MOBILE_BILLING_CYCLE = "billing_preference";
1.421.1.17. static final String KEY_WIFI_USAGE_TITLE
// Wifi keys
public static final String KEY_WIFI_USAGE_TITLE = "wifi_category";
1.421.1.18. static final String KEY_WIFI_DATA_USAGE
public static final String KEY_WIFI_DATA_USAGE = "wifi_data_usage";
1.421.1.19. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = SummaryProvider::new;
1.421.1.20. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For search
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List resources = new ArrayList<>();
SearchIndexableResource resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage_legacy;
resources.add(resource);
resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage_cellular;
resources.add(resource);
resource = new SearchIndexableResource(context);
resource.xmlResId = R.xml.data_usage_wifi;
resources.add(resource);
return resources;
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
if (!DataUsageUtils.hasMobileData(context)) {
keys.add(KEY_MOBILE_USAGE_TITLE);
keys.add(KEY_MOBILE_DATA_USAGE_TOGGLE);
keys.add(KEY_MOBILE_DATA_USAGE);
keys.add(KEY_MOBILE_BILLING_CYCLE);
}
if (!DataUsageUtils.hasWifiRadio(context)) {
keys.add(KEY_WIFI_DATA_USAGE);
}
// This title is named Wifi, and will confuse users.
keys.add(KEY_WIFI_USAGE_TITLE);
return keys;
}
};
1.421.2. DataUsageSummaryLegacyMethod方法列表
1.421.2.1. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.421.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.421.2.3. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.421.2.4. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.421.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.421.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.421.2.7. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.421.2.8. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.421.2.9. addMobileSection(int subId)
private void addMobileSection(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMobileSection", "int subId"));
1.421.2.10. addMobileSection(int subId,SubscriptionInfo subInfo)
private void addMobileSection(int subId, SubscriptionInfo subInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMobileSection", "int subId,SubscriptionInfo subInfo"));
1.421.2.11. addWifiSection()
private void addWifiSection()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addWifiSection", ""));
1.421.2.12. addEthernetSection()
private void addEthernetSection()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addEthernetSection", ""));
1.421.2.13. inflatePreferences(int resId)
private Preference inflatePreferences(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"inflatePreferences", "int resId"));
1.421.2.14. getNetworkTemplate(int subscriptionId)
private NetworkTemplate getNetworkTemplate(int subscriptionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getNetworkTemplate", "int subscriptionId"));
1.421.2.15. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.421.2.16. updateState()
private void updateState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", ""));
1.421.2.17. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.421.2.18. getNetworkPolicyEditor()
public NetworkPolicyEditor getNetworkPolicyEditor()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkPolicyEditor" ,"getNetworkPolicyEditor", ""));
1.421.2.19. getNetworkTemplate()
public NetworkTemplate getNetworkTemplate()
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getNetworkTemplate", ""));
1.421.2.20. updateDataUsage()
public void updateDataUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataUsage", ""));
1.421.2.21. static formatUsage(Context context,String template,long usageLevel)
static CharSequence formatUsage(Context context, String template, long usageLevel)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatUsage", "Context context,String template,long usageLevel"));
1.422. DataUsageSummaryPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageSummaryPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.422.1. DataUsageSummaryPreference Field属性列表
1.422.1.1. boolean mChartEnabled
private boolean mChartEnabled = true;
1.422.1.2. CharSequence mStartLabel;
private CharSequence mStartLabel;
1.422.1.3. CharSequence mEndLabel;
private CharSequence mEndLabel;
1.422.1.4. boolean mDefaultTextColorSet;
private boolean mDefaultTextColorSet;
1.422.1.5. int mDefaultTextColor;
private int mDefaultTextColor;
1.422.1.6. int mNumPlans;
private int mNumPlans;
1.422.1.7. long mCycleEndTimeMs;
/** The ending time of the billing cycle in milliseconds since epoch. */
private long mCycleEndTimeMs;
1.422.1.8. long mSnapshotTimeMs;
/** The time of the last update in standard milliseconds since the epoch */
private long mSnapshotTimeMs;
1.422.1.9. CharSequence mCarrierName;
/** Name of carrier, or null if not available */
private CharSequence mCarrierName;
1.422.1.10. String mLimitInfoText;
private String mLimitInfoText;
1.422.1.11. Intent mLaunchIntent;
private Intent mLaunchIntent;
1.422.1.12. float mProgress;
/** Progress to display on ProgressBar */
private float mProgress;
1.422.1.13. boolean mHasMobileData;
private boolean mHasMobileData;
1.422.1.14. long mDataplanSize;
/**
* The size of the first registered plan if one exists or the size of the warning if it is set.
* -1 if no information is available.
*/
private long mDataplanSize;
1.422.1.15. long mDataplanUse;
/** The number of bytes used since the start of the cycle. */
private long mDataplanUse;
1.422.1.16. boolean mWifiMode;
/** WiFi only mode */
private boolean mWifiMode;
1.422.1.17. String mUsagePeriod;
private String mUsagePeriod;
1.422.1.18. static final long MILLIS_IN_A_DAY
private static final long MILLIS_IN_A_DAY = TimeUnit.DAYS.toMillis(1);
1.422.1.19. static final long WARNING_AGE
private static final long WARNING_AGE = TimeUnit.HOURS.toMillis(6L);
1.422.1.20. static final Typeface SANS_SERIF_MEDIUM
@VisibleForTesting
static final Typeface SANS_SERIF_MEDIUM = Typeface.create("sans-serif-medium", Typeface.NORMAL);
1.422.1.21. static final float LARGER_FONT_RATIO
/** large vs small size is 36/16 ~ 2.25 */
private static final float LARGER_FONT_RATIO = 2.25f;
1.422.1.22. static final float SMALLER_FONT_RATIO
private static final float SMALLER_FONT_RATIO = 1.0f;
1.422.2. DataUsageSummaryPreferenceMethod方法列表
1.422.2.1. setLimitInfo(String text)
public void setLimitInfo(String text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLimitInfo", "String text"));
1.422.2.2. setProgress(float progress)
public void setProgress(float progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "float progress"));
1.422.2.3. setUsageInfo(long cycleEnd,long snapshotTime,CharSequence carrierName,int numPlans,Intent launchIntent)
public void setUsageInfo(long cycleEnd, long snapshotTime, CharSequence carrierName, int numPlans, Intent launchIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUsageInfo", "long cycleEnd,long snapshotTime,CharSequence carrierName,int numPlans,Intent launchIntent"));
1.422.2.4. setChartEnabled(boolean enabled)
public void setChartEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChartEnabled", "boolean enabled"));
1.422.2.5. setLabels(CharSequence start,CharSequence end)
public void setLabels(CharSequence start, CharSequence end)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabels", "CharSequence start,CharSequence end"));
1.422.2.6. setUsageNumbers(long used,long dataPlanSize,boolean hasMobileData)
void setUsageNumbers(long used, long dataPlanSize, boolean hasMobileData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUsageNumbers", "long used,long dataPlanSize,boolean hasMobileData"));
1.422.2.7. setWifiMode(boolean isWifiMode,String usagePeriod)
void setWifiMode(boolean isWifiMode, String usagePeriod)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWifiMode", "boolean isWifiMode,String usagePeriod"));
1.422.2.8. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.422.2.9. updateDataUsageLabels(PreferenceViewHolder holder)
private void updateDataUsageLabels(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataUsageLabels", "PreferenceViewHolder holder"));
1.422.2.10. updateCycleTimeText(PreferenceViewHolder holder)
private void updateCycleTimeText(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCycleTimeText", "PreferenceViewHolder holder"));
1.422.2.11. updateCarrierInfo(TextView carrierInfo)
private void updateCarrierInfo(TextView carrierInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCarrierInfo", "TextView carrierInfo"));
1.422.2.12. calculateTruncatedUpdateAge()
private long calculateTruncatedUpdateAge()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"calculateTruncatedUpdateAge", ""));
1.422.2.13. setCarrierInfoTextStyle(TextView carrierInfo,@AttrRes int colorId,Typeface typeface)
private void setCarrierInfoTextStyle(TextView carrierInfo, @AttrRes int colorId, Typeface typeface)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCarrierInfoTextStyle", "TextView carrierInfo,@AttrRes int colorId,Typeface typeface"));
1.422.2.14. static launchWifiDataUsage(Context context)
private static void launchWifiDataUsage(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchWifiDataUsage", "Context context"));
1.423. DataUsageSummaryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageSummaryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.423.1. DataUsageSummaryPreferenceController Field属性列表
1.423.1.1. CharSequence mCarrierName;
/** Name of the carrier, or null if not available */
private CharSequence mCarrierName;
1.423.1.2. int mDataplanCount;
/** The number of registered plans, [0,N] */
private int mDataplanCount;
1.423.1.3. long mSnapshotTime;
/** The time of the last update in milliseconds since the epoch, or -1 if unknown */
private long mSnapshotTime;
1.423.1.4. long mDataplanSize;
/**
* The size of the first registered plan if one exists or the size of the warning if it is set.
* -1 if no information is available.
*/
private long mDataplanSize;
1.423.1.5. long mDataBarSize;
/** The "size" of the data usage bar, i.e. the amount of data its rhs end represents */
private long mDataBarSize;
1.423.1.6. long mDataplanUse;
/** The number of bytes used since the start of the cycle. */
private long mDataplanUse;
1.423.1.7. long mCycleStart;
/** The starting time of the billing cycle in ms since the epoch */
private long mCycleStart;
1.423.1.8. long mCycleEnd;
/** The ending time of the billing cycle in ms since the epoch */
private long mCycleEnd;
1.423.1.9. Intent mManageSubscriptionIntent;
private Intent mManageSubscriptionIntent;
1.423.1.10. final Activity mActivity;
private final Activity mActivity;
1.423.1.11. final EntityHeaderController mEntityHeaderController;
private final EntityHeaderController mEntityHeaderController;
1.423.1.12. final Lifecycle mLifecycle;
private final Lifecycle mLifecycle;
1.423.1.13. final DataUsageSummary mDataUsageSummary;
private final DataUsageSummary mDataUsageSummary;
1.423.1.14. final DataUsageController mDataUsageController;
private final DataUsageController mDataUsageController;
1.423.1.15. final DataUsageInfoController mDataInfoController;
private final DataUsageInfoController mDataInfoController;
1.423.1.16. final NetworkTemplate mDefaultTemplate;
private final NetworkTemplate mDefaultTemplate;
1.423.1.17. final NetworkPolicyEditor mPolicyEditor;
private final NetworkPolicyEditor mPolicyEditor;
1.423.1.18. final int mDataUsageTemplate;
private final int mDataUsageTemplate;
1.423.1.19. final boolean mHasMobileData;
private final boolean mHasMobileData;
1.423.1.20. final SubscriptionManager mSubscriptionManager;
private final SubscriptionManager mSubscriptionManager;
1.423.1.21. static final String TAG
private static final String TAG = "DataUsageController";
1.423.1.22. static final String KEY
private static final String KEY = "status_header";
1.423.1.23. static final long PETA
private static final long PETA = 1000000000000000L;
1.423.1.24. static final float RELATIVE_SIZE_LARGE
// (1/0.8)^2
private static final float RELATIVE_SIZE_LARGE = 1.25f * 1.25f;
1.423.1.25. static final float RELATIVE_SIZE_SMALL
// 0.8^2
private static final float RELATIVE_SIZE_SMALL = 1.0f / RELATIVE_SIZE_LARGE;
1.423.2. DataUsageSummaryPreferenceControllerMethod方法列表
1.423.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.423.2.2. setPlanValues(int dataPlanCount,long dataPlanSize,long dataPlanUse)
void setPlanValues(int dataPlanCount, long dataPlanSize, long dataPlanUse)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPlanValues", "int dataPlanCount,long dataPlanSize,long dataPlanUse"));
1.423.2.3. setCarrierValues(String carrierName,long snapshotTime,long cycleEnd,Intent intent)
void setCarrierValues(String carrierName, long snapshotTime, long cycleEnd, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCarrierValues", "String carrierName,long snapshotTime,long cycleEnd,Intent intent"));
1.423.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.423.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.423.2.6. refreshDataplanInfo(DataUsageController.DataUsageInfo info)
private void refreshDataplanInfo(DataUsageController.DataUsageInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshDataplanInfo", "DataUsageController.DataUsageInfo info"));
1.423.2.7. static getPrimaryPlan(SubscriptionManager subManager,int primaryId)
public static SubscriptionPlan getPrimaryPlan(SubscriptionManager subManager, int primaryId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubscriptionPlan" ,"getPrimaryPlan", "SubscriptionManager subManager,int primaryId"));
1.423.2.8. static saneSize(long value)
private static boolean saneSize(long value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"saneSize", "long value"));
1.423.2.9. static unlimited(long size)
public static boolean unlimited(long size)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"unlimited", "long size"));
1.424. DataUsageUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/DataUsageUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.424.1. DataUsageUtils Field属性列表
1.424.1.1. static final boolean TEST_RADIOS
static final boolean TEST_RADIOS = false;
1.424.1.2. static final String TEST_RADIOS_PROP
static final String TEST_RADIOS_PROP = "test.radios";
1.424.1.3. static final String ETHERNET
private static final String ETHERNET = "ethernet";
1.424.2. DataUsageUtilsMethod方法列表
1.424.2.1. static formatDataUsage(Context context,long byteValue)
public static CharSequence formatDataUsage(Context context, long byteValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatDataUsage", "Context context,long byteValue"));
1.424.2.2. static hasEthernet(Context context)
public static boolean hasEthernet(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasEthernet", "Context context"));
1.424.2.3. static hasMobileData(Context context)
public static boolean hasMobileData(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasMobileData", "Context context"));
1.424.2.4. static hasWifiRadio(Context context)
public static boolean hasWifiRadio(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasWifiRadio", "Context context"));
1.424.2.5. static hasSim(Context context)
public static boolean hasSim(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasSim", "Context context"));
1.424.2.6. static getDefaultSubscriptionId(Context context)
public static int getDefaultSubscriptionId(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultSubscriptionId", "Context context"));
1.424.2.7. static getDefaultTemplate(Context context,int defaultSubId)
static NetworkTemplate getDefaultTemplate(Context context, int defaultSubId)
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkTemplate" ,"getDefaultTemplate", "Context context,int defaultSubId"));
1.425. DatePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/DatePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.425.1. DatePreferenceController Field属性列表
1.425.1.1. final DatePreferenceHost mHost;
private final DatePreferenceHost mHost;
1.425.1.2. final AutoTimePreferenceController mAutoTimePreferenceController;
private final AutoTimePreferenceController mAutoTimePreferenceController;
1.425.1.3. static final int DIALOG_DATEPICKER
public static final int DIALOG_DATEPICKER = 0;
1.425.1.4. static final String KEY_DATE
private static final String KEY_DATE = "date";
1.425.2. DatePreferenceControllerMethod方法列表
1.425.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.425.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.425.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.425.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.425.2.5. onDateSet(DatePicker view,int year,int month,int day)
public void onDateSet(DatePicker view, int year, int month, int day)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDateSet", "DatePicker view,int year,int month,int day"));
1.425.2.6. buildDatePicker(Activity activity)
public DatePickerDialog buildDatePicker(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"DatePickerDialog" ,"buildDatePicker", "Activity activity"));
1.425.2.7. setDate(int year,int month,int day)
void setDate(int year, int month, int day)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDate", "int year,int month,int day"));
1.426. DateTimeSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DateTimeSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.426.1. DateTimeSettings Field属性列表
1.426.1.1. static final String TAG
private static final String TAG = "DateTimeSettings";
1.426.1.2. static final String EXTRA_IS_FROM_SUW
// have we been launched from the setup wizard?
protected static final String EXTRA_IS_FROM_SUW = "firstRun";
1.426.1.3. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.426.1.4. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new DateTimeSearchIndexProvider();
1.426.2. DateTimeSettingsMethod方法列表
1.426.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.426.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.426.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.426.2.4. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.426.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.426.2.6. updateTimeAndDateDisplay(Context context)
public void updateTimeAndDateDisplay(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTimeAndDateDisplay", "Context context"));
1.426.2.7. onCreateDialog(int id)
public Dialog onCreateDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int id"));
1.426.2.8. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.426.2.9. showTimePicker()
public void showTimePicker()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showTimePicker", ""));
1.426.2.10. showDatePicker()
public void showDatePicker()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDatePicker", ""));
1.427. DebugEstimatesLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/DebugEstimatesLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.427.1. DebugEstimatesLoader Field属性列表
1.427.1.1. BatteryStatsHelper mStatsHelper;
private BatteryStatsHelper mStatsHelper;
1.427.2. DebugEstimatesLoaderMethod方法列表
1.427.2.1. onDiscardResult(List result)
protected void onDiscardResult(List result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "List result"));
1.427.2.2. loadInBackground()
public List loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadInBackground", ""));
1.428. DebugGpuOverdrawPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DebugGpuOverdrawPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.428.1. DebugGpuOverdrawPreferenceController Field属性列表
1.428.1.1. final String[] mListValues;
private final String[] mListValues;
1.428.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.428.1.3. static final String DEBUG_HW_OVERDRAW_KEY
private static final String DEBUG_HW_OVERDRAW_KEY = "debug_hw_overdraw";
1.428.2. DebugGpuOverdrawPreferenceControllerMethod方法列表
1.428.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.428.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.428.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.428.2.4. writeDebugHwOverdrawOptions(Object newValue)
private void writeDebugHwOverdrawOptions(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeDebugHwOverdrawOptions", "Object newValue"));
1.428.2.5. updateDebugHwOverdrawOptions()
private void updateDebugHwOverdrawOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDebugHwOverdrawOptions", ""));
1.429. DebugNonRectClipOperationsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DebugNonRectClipOperationsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.429.1. DebugNonRectClipOperationsPreferenceController Field属性列表
1.429.1.1. final String[] mListValues;
private final String[] mListValues;
1.429.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.429.1.3. static final String SHOW_NON_RECTANGULAR_CLIP_KEY
private static final String SHOW_NON_RECTANGULAR_CLIP_KEY = "show_non_rect_clip";
1.429.2. DebugNonRectClipOperationsPreferenceControllerMethod方法列表
1.429.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.429.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.429.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.429.2.4. writeShowNonRectClipOptions(Object newValue)
private void writeShowNonRectClipOptions(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeShowNonRectClipOptions", "Object newValue"));
1.429.2.5. updateShowNonRectClipOptions()
private void updateShowNonRectClipOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateShowNonRectClipOptions", ""));
1.430. DebugViewAttributesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DebugViewAttributesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.430.1. DebugViewAttributesPreferenceController Field属性列表
1.430.1.1. static final String DEBUG_VIEW_ATTRIBUTES_KEY
private static final String DEBUG_VIEW_ATTRIBUTES_KEY = "debug_view_attributes";
1.430.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.430.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.430.2. DebugViewAttributesPreferenceControllerMethod方法列表
1.430.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.430.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.430.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.430.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.431. DefaultAppPickerFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultAppPickerFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.431.1. DefaultAppPickerFragment Field属性列表
1.431.1.1. PackageManagerWrapper mPm;
protected PackageManagerWrapper mPm;
1.431.2. DefaultAppPickerFragmentMethod方法列表
1.431.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.431.2.2. onRadioButtonClicked(RadioButtonPreference selected)
public void onRadioButtonClicked(RadioButtonPreference selected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference selected"));
1.431.2.3. onRadioButtonConfirmed(String selectedKey)
protected void onRadioButtonConfirmed(String selectedKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonConfirmed", "String selectedKey"));
1.431.2.4. bindPreferenceExtra(RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey,String systemDefaultKey)
public void bindPreferenceExtra(RadioButtonPreference pref, String key, CandidateInfo info, String defaultKey, String systemDefaultKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindPreferenceExtra", "RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey,String systemDefaultKey"));
1.431.2.5. newConfirmationDialogFragment(String selectedKey,CharSequence confirmationMessage)
protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, CharSequence confirmationMessage)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConfirmationDialogFragment" ,"newConfirmationDialogFragment", "String selectedKey,CharSequence confirmationMessage"));
1.431.2.6. getConfirmationMessage(CandidateInfo info)
protected CharSequence getConfirmationMessage(CandidateInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getConfirmationMessage", "CandidateInfo info"));
1.432. DefaultAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.432.1. DefaultAppPreferenceController Field属性列表
1.432.1.1. int mUserId;
protected int mUserId;
1.432.1.2. final PackageManagerWrapper mPackageManager;
protected final PackageManagerWrapper mPackageManager;
1.432.1.3. final UserManager mUserManager;
protected final UserManager mUserManager;
1.432.1.4. static final String TAG
private static final String TAG = "DefaultAppPrefControl";
1.432.2. DefaultAppPreferenceControllerMethod方法列表
1.432.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.432.2.2. mayUpdateGearIcon(DefaultAppInfo app,Preference preference)
private void mayUpdateGearIcon(DefaultAppInfo app, Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"mayUpdateGearIcon", "DefaultAppInfo app,Preference preference"));
1.432.2.3. getSettingIntent(DefaultAppInfo info)
protected Intent getSettingIntent(DefaultAppInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getSettingIntent", "DefaultAppInfo info"));
1.432.2.4. getDefaultAppIcon()
public Drawable getDefaultAppIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getDefaultAppIcon", ""));
1.432.2.5. getDefaultAppLabel()
public CharSequence getDefaultAppLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDefaultAppLabel", ""));
1.432.2.6. abstract getDefaultAppInfo()
protected abstract DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.433. DefaultAppSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/DefaultAppSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.433.1. DefaultAppSettings Field属性列表
1.433.1.1. static final String TAG
static final String TAG = "DefaultAppSettings";
1.433.1.2. static final String KEY_DEFAULT_WORK_CATEGORY
private static final String KEY_DEFAULT_WORK_CATEGORY = "work_app_defaults";
1.433.1.3. static final String KEY_ASSIST_VOICE_INPUT
private static final String KEY_ASSIST_VOICE_INPUT = "assist_and_voice_input";
1.433.1.4. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.app_default_settings;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(KEY_ASSIST_VOICE_INPUT);
// TODO (b/38230148) Remove these keys when we can differentiate work results
keys.add(DefaultWorkPhonePreferenceController.KEY);
keys.add(DefaultWorkBrowserPreferenceController.KEY);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.433.1.5. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new DefaultAppSettings.SummaryProvider(activity, summaryLoader);
}
};
1.433.2. DefaultAppSettingsMethod方法列表
1.433.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.433.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.433.2.3. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.433.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.433.2.5. static buildPreferenceControllers(Context context)
private static List buildPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context"));
1.434. DefaultAppShortcutPreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultAppShortcutPreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.434.1. DefaultAppShortcutPreferenceControllerBase Field属性列表
1.434.1.1. final String mPackageName;
protected final String mPackageName;
1.434.2. DefaultAppShortcutPreferenceControllerBaseMethod方法列表
1.434.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.434.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.434.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.434.2.4. abstract hasAppCapability()
protected abstract boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.434.2.5. abstract isDefaultApp()
protected abstract boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.435. DefaultAssistPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/DefaultAssistPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.435.1. DefaultAssistPicker Field属性列表
1.435.1.1. AssistUtils mAssistUtils;
private AssistUtils mAssistUtils;
1.435.1.2. final List mAvailableAssistants
private final List mAvailableAssistants = new ArrayList<>();
1.435.1.3. static final String TAG
private static final String TAG = "DefaultAssistPicker";
1.435.1.4. static final Intent ASSIST_SERVICE_PROBE
private static final Intent ASSIST_SERVICE_PROBE = new Intent(VoiceInteractionService.SERVICE_INTERFACE);
1.435.1.5. static final Intent ASSIST_ACTIVITY_PROBE
private static final Intent ASSIST_ACTIVITY_PROBE = new Intent(Intent.ACTION_ASSIST);
1.435.2. DefaultAssistPickerMethod方法列表
1.435.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.435.2.2. shouldShowItemNone()
protected boolean shouldShowItemNone()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowItemNone", ""));
1.435.2.3. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.435.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.435.2.5. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.435.2.6. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.435.2.7. getConfirmationMessage(CandidateInfo appInfo)
protected String getConfirmationMessage(CandidateInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConfirmationMessage", "CandidateInfo appInfo"));
1.435.2.8. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.435.2.9. getCurrentAssist()
public ComponentName getCurrentAssist()
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getCurrentAssist", ""));
1.435.2.10. addAssistServices()
private void addAssistServices()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addAssistServices", ""));
1.435.2.11. addAssistActivities()
private void addAssistActivities()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addAssistActivities", ""));
1.435.2.12. findAssistantByPackageName(String packageName)
private Info findAssistantByPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"Info" ,"findAssistantByPackageName", "String packageName"));
1.435.2.13. setAssistNone()
private void setAssistNone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAssistNone", ""));
1.435.2.14. setAssistService(Info serviceInfo)
private void setAssistService(Info serviceInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAssistService", "Info serviceInfo"));
1.435.2.15. setAssistActivity(Info activityInfo)
private void setAssistActivity(Info activityInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAssistActivity", "Info activityInfo"));
1.435.2.16. getDefaultRecognizer()
private String getDefaultRecognizer()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultRecognizer", ""));
1.436. DefaultAssistPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/DefaultAssistPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.436.1. DefaultAssistPreferenceController Field属性列表
1.436.1.1. final AssistUtils mAssistUtils;
private final AssistUtils mAssistUtils;
1.436.1.2. final boolean mShowSetting;
private final boolean mShowSetting;
1.436.1.3. final String mPrefKey;
private final String mPrefKey;
1.436.2. DefaultAssistPreferenceControllerMethod方法列表
1.436.2.1. getSettingIntent(DefaultAppInfo info)
protected Intent getSettingIntent(DefaultAppInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getSettingIntent", "DefaultAppInfo info"));
1.436.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.436.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.436.2.4. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.436.2.5. getAssistSettingsActivity(ComponentName cn,ResolveInfo resolveInfo,PackageManager pm)
String getAssistSettingsActivity(ComponentName cn, ResolveInfo resolveInfo, PackageManager pm)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAssistSettingsActivity", "ComponentName cn,ResolveInfo resolveInfo,PackageManager pm"));
1.437. DefaultAutofillPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultAutofillPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.437.1. DefaultAutofillPicker Field属性列表
1.437.1.1. DialogInterface.OnClickListener mCancelListener;
/**
* Set when the fragment is implementing ACTION_REQUEST_SET_AUTOFILL_SERVICE.
*/
private DialogInterface.OnClickListener mCancelListener;
1.437.1.2. final PackageMonitor mSettingsPackageMonitor
/**
* Monitor coming and going auto fill services and calls {@link #update()} when necessary
*/
private final PackageMonitor mSettingsPackageMonitor = new PackageMonitor() {
@Override
public void onPackageAdded(String packageName, int uid) {
ThreadUtils.postOnMainThread(() -> update());
}
@Override
public void onPackageModified(String packageName) {
ThreadUtils.postOnMainThread(() -> update());
}
@Override
public void onPackageRemoved(String packageName, int uid) {
ThreadUtils.postOnMainThread(() -> update());
}
};
1.437.1.3. static final String TAG
private static final String TAG = "DefaultAutofillPicker";
1.437.1.4. static final String SETTING
static final String SETTING = Settings.Secure.AUTOFILL_SERVICE;
1.437.1.5. static final Intent AUTOFILL_PROBE
static final Intent AUTOFILL_PROBE = new Intent(AutofillService.SERVICE_INTERFACE);
1.437.1.6. static final String EXTRA_PACKAGE_NAME
/**
* Extra set when the fragment is implementing ACTION_REQUEST_SET_AUTOFILL_SERVICE.
*/
public static final String EXTRA_PACKAGE_NAME = "package_name";
1.437.2. DefaultAutofillPickerMethod方法列表
1.437.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.437.2.2. newConfirmationDialogFragment(String selectedKey,CharSequence confirmationMessage)
protected ConfirmationDialogFragment newConfirmationDialogFragment(String selectedKey, CharSequence confirmationMessage)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConfirmationDialogFragment" ,"newConfirmationDialogFragment", "String selectedKey,CharSequence confirmationMessage"));
1.437.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.437.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.437.2.5. shouldShowItemNone()
protected boolean shouldShowItemNone()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowItemNone", ""));
1.437.2.6. update()
private void update()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", ""));
1.437.2.7. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.437.2.8. newAddServicePreferenceOrNull()
private Preference newAddServicePreferenceOrNull()
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"newAddServicePreferenceOrNull", ""));
1.437.2.9. addAddServicePreference()
private void addAddServicePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addAddServicePreference", ""));
1.437.2.10. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.437.2.11. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.437.2.12. getConfirmationMessage(CandidateInfo appInfo)
protected CharSequence getConfirmationMessage(CandidateInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getConfirmationMessage", "CandidateInfo appInfo"));
1.437.2.13. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.437.2.14. static getDefaultKey(Context context)
public static String getDefaultKey(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", "Context context"));
1.438. DefaultAutofillPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultAutofillPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.438.1. DefaultAutofillPreferenceController Field属性列表
1.438.1.1. final AutofillManager mAutofillManager;
private final AutofillManager mAutofillManager;
1.438.2. DefaultAutofillPreferenceControllerMethod方法列表
1.438.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.438.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.438.2.3. getSettingIntent(DefaultAppInfo info)
protected Intent getSettingIntent(DefaultAppInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getSettingIntent", "DefaultAppInfo info"));
1.438.2.4. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.439. DefaultBrowserPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultBrowserPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.439.1. DefaultBrowserPicker Field属性列表
1.439.2. DefaultBrowserPickerMethod方法列表
1.439.2.1. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.439.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.439.2.3. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.439.2.4. setDefaultKey(String packageName)
protected boolean setDefaultKey(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String packageName"));
1.439.2.5. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.440. DefaultBrowserPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultBrowserPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.440.1. DefaultBrowserPreferenceController Field属性列表
1.440.1.1. static final String TAG
private static final String TAG = "BrowserPrefCtrl";
1.440.1.2. static final Intent BROWSE_PROBE
static final Intent BROWSE_PROBE = new Intent().setAction(Intent.ACTION_VIEW).addCategory(Intent.CATEGORY_BROWSABLE).setData(Uri.parse("http:"));
1.440.2. DefaultBrowserPreferenceControllerMethod方法列表
1.440.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.440.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.440.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.440.2.4. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.440.2.5. getDefaultAppLabel()
public CharSequence getDefaultAppLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDefaultAppLabel", ""));
1.440.2.6. getDefaultAppIcon()
public Drawable getDefaultAppIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getDefaultAppIcon", ""));
1.440.2.7. getCandidates()
private List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.440.2.8. getOnlyAppLabel()
private String getOnlyAppLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getOnlyAppLabel", ""));
1.440.2.9. getOnlyAppIcon()
private Drawable getOnlyAppIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getOnlyAppIcon", ""));
1.440.2.10. isBrowserDefault(String pkg,int userId)
public boolean isBrowserDefault(String pkg, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBrowserDefault", "String pkg,int userId"));
1.440.2.11. static hasBrowserPreference(String pkg,Context context)
public static boolean hasBrowserPreference(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasBrowserPreference", "String pkg,Context context"));
1.441. DefaultBrowserShortcutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultBrowserShortcutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.441.1. DefaultBrowserShortcutPreferenceController Field属性列表
1.441.1.1. static final String KEY
private static final String KEY = "default_browser";
1.441.2. DefaultBrowserShortcutPreferenceControllerMethod方法列表
1.441.2.1. hasAppCapability()
protected boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.441.2.2. isDefaultApp()
protected boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.442. DefaultEmergencyPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultEmergencyPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.442.1. DefaultEmergencyPicker Field属性列表
1.442.2. DefaultEmergencyPickerMethod方法列表
1.442.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.442.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.442.2.3. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.442.2.4. getConfirmationMessage(CandidateInfo info)
protected String getConfirmationMessage(CandidateInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConfirmationMessage", "CandidateInfo info"));
1.442.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.442.2.6. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.442.2.7. isSystemApp(ApplicationInfo info)
private boolean isSystemApp(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemApp", "ApplicationInfo info"));
1.443. DefaultEmergencyPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultEmergencyPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.443.1. DefaultEmergencyPreferenceController Field属性列表
1.443.1.1. static final boolean DEFAULT_EMERGENCY_APP_IS_CONFIGURABLE
private static final boolean DEFAULT_EMERGENCY_APP_IS_CONFIGURABLE = false;
1.443.1.2. static final Intent QUERY_INTENT
public static final Intent QUERY_INTENT = new Intent(TelephonyManager.ACTION_EMERGENCY_ASSISTANCE);
1.443.2. DefaultEmergencyPreferenceControllerMethod方法列表
1.443.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.443.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.443.2.3. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.443.2.4. isCapable()
private boolean isCapable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCapable", ""));
1.443.2.5. static hasEmergencyPreference(String pkg,Context context)
public static boolean hasEmergencyPreference(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasEmergencyPreference", "String pkg,Context context"));
1.443.2.6. static isEmergencyDefault(String pkg,Context context)
public static boolean isEmergencyDefault(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEmergencyDefault", "String pkg,Context context"));
1.444. DefaultEmergencyShortcutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultEmergencyShortcutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.444.1. DefaultEmergencyShortcutPreferenceController Field属性列表
1.444.1.1. static final String KEY
private static final String KEY = "default_emergency_app";
1.444.2. DefaultEmergencyShortcutPreferenceControllerMethod方法列表
1.444.2.1. hasAppCapability()
protected boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.444.2.2. isDefaultApp()
protected boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.445. DefaultHomePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultHomePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.445.1. DefaultHomePicker Field属性列表
1.445.1.1. String mPackageName;
private String mPackageName;
1.445.2. DefaultHomePickerMethod方法列表
1.445.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.445.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.445.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.445.2.4. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.445.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.445.2.6. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.445.2.7. hasManagedProfile()
private boolean hasManagedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasManagedProfile", ""));
1.445.2.8. launcherHasManagedProfilesFeature(ResolveInfo resolveInfo)
private boolean launcherHasManagedProfilesFeature(ResolveInfo resolveInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"launcherHasManagedProfilesFeature", "ResolveInfo resolveInfo"));
1.445.2.9. versionNumberAtLeastL(int versionNumber)
private boolean versionNumberAtLeastL(int versionNumber)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"versionNumberAtLeastL", "int versionNumber"));
1.446. DefaultHomePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultHomePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.446.1. DefaultHomePreferenceController Field属性列表
1.446.1.1. final String mPackageName;
private final String mPackageName;
1.446.1.2. static final IntentFilter HOME_FILTER;
static final IntentFilter HOME_FILTER;
1.446.2. DefaultHomePreferenceControllerMethod方法列表
1.446.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.446.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.446.2.3. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.446.2.4. getOnlyAppInfo(List homeActivities)
private ActivityInfo getOnlyAppInfo(List homeActivities)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActivityInfo" ,"getOnlyAppInfo", "List homeActivities"));
1.446.2.5. getSettingIntent(DefaultAppInfo info)
protected Intent getSettingIntent(DefaultAppInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getSettingIntent", "DefaultAppInfo info"));
1.446.2.6. static hasHomePreference(String pkg,Context context)
public static boolean hasHomePreference(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasHomePreference", "String pkg,Context context"));
1.446.2.7. static isHomeDefault(String pkg,PackageManagerWrapper pm)
public static boolean isHomeDefault(String pkg, PackageManagerWrapper pm)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isHomeDefault", "String pkg,PackageManagerWrapper pm"));
1.447. DefaultHomeShortcutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultHomeShortcutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.447.1. DefaultHomeShortcutPreferenceController Field属性列表
1.447.1.1. static final String KEY
private static final String KEY = "default_home";
1.447.2. DefaultHomeShortcutPreferenceControllerMethod方法列表
1.447.2.1. hasAppCapability()
protected boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.447.2.2. isDefaultApp()
protected boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.448. DefaultIndicatorSeekBar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/DefaultIndicatorSeekBar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.448.1. DefaultIndicatorSeekBar Field属性列表
1.448.1.1. int mDefaultProgress
private int mDefaultProgress = -1;
1.448.2. DefaultIndicatorSeekBarMethod方法列表
1.448.2.1. drawTickMarks(Canvas canvas)
protected void drawTickMarks(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawTickMarks", "Canvas canvas"));
1.448.2.2. setDefaultProgress(int defaultProgress)
public void setDefaultProgress(int defaultProgress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultProgress", "int defaultProgress"));
1.448.2.3. getDefaultProgress()
public int getDefaultProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultProgress", ""));
1.449. DefaultLaunchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DefaultLaunchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.449.1. DefaultLaunchPreferenceController Field属性列表
1.449.1.1. final String mPreferenceKey;
private final String mPreferenceKey;
1.449.2. DefaultLaunchPreferenceControllerMethod方法列表
1.449.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.450. DefaultNotificationTonePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DefaultNotificationTonePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.450.1. DefaultNotificationTonePreference Field属性列表
1.450.1.1. Uri mRingtone;
private Uri mRingtone;
1.450.2. DefaultNotificationTonePreferenceMethod方法列表
1.450.2.1. onRestoreRingtone()
protected Uri onRestoreRingtone()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"onRestoreRingtone", ""));
1.450.2.2. onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
public void onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareRingtonePickerIntent", "Intent ringtonePickerIntent"));
1.450.2.3. setRingtone(Uri ringtone)
public void setRingtone(Uri ringtone)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRingtone", "Uri ringtone"));
1.450.2.4. updateRingtoneName(final Uri uri)
private void updateRingtoneName(final Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRingtoneName", "final Uri uri"));
1.451. DefaultPaymentSettingsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultPaymentSettingsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.451.1. DefaultPaymentSettingsPreferenceController Field属性列表
1.451.1.1. PaymentBackend mPaymentBackend;
private PaymentBackend mPaymentBackend;
1.451.1.2. final NfcAdapter mNfcAdapter;
private final NfcAdapter mNfcAdapter;
1.451.1.3. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.451.1.4. final UserManager mUserManager;
private final UserManager mUserManager;
1.451.2. DefaultPaymentSettingsPreferenceControllerMethod方法列表
1.451.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.451.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.451.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.452. DefaultPhonePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultPhonePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.452.1. DefaultPhonePicker Field属性列表
1.452.1.1. DefaultKeyUpdater mDefaultKeyUpdater;
private DefaultKeyUpdater mDefaultKeyUpdater;
1.452.2. DefaultPhonePickerMethod方法列表
1.452.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.452.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.452.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.452.2.4. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.452.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.452.2.6. getSystemDefaultKey()
protected String getSystemDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSystemDefaultKey", ""));
1.452.2.7. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.453. DefaultPhonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultPhonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.453.1. DefaultPhonePreferenceController Field属性列表
1.453.2. DefaultPhonePreferenceControllerMethod方法列表
1.453.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.453.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.453.2.3. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.453.2.4. getCandidates()
private List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.453.2.5. static hasPhonePreference(String pkg,Context context)
public static boolean hasPhonePreference(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasPhonePreference", "String pkg,Context context"));
1.453.2.6. static isPhoneDefault(String pkg,Context context)
public static boolean isPhoneDefault(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPhoneDefault", "String pkg,Context context"));
1.454. DefaultPhoneShortcutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultPhoneShortcutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.454.1. DefaultPhoneShortcutPreferenceController Field属性列表
1.454.1.1. static final String KEY
private static final String KEY = "default_phone_app";
1.454.2. DefaultPhoneShortcutPreferenceControllerMethod方法列表
1.454.2.1. hasAppCapability()
protected boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.454.2.2. isDefaultApp()
protected boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.455. DefaultRingtonePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DefaultRingtonePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.455.1. DefaultRingtonePreference Field属性列表
1.455.1.1. static final String TAG
private static final String TAG = "DefaultRingtonePreference";
1.455.2. DefaultRingtonePreferenceMethod方法列表
1.455.2.1. onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
public void onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareRingtonePickerIntent", "Intent ringtonePickerIntent"));
1.455.2.2. onSaveRingtone(Uri ringtoneUri)
protected void onSaveRingtone(Uri ringtoneUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveRingtone", "Uri ringtoneUri"));
1.455.2.3. onRestoreRingtone()
protected Uri onRestoreRingtone()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"onRestoreRingtone", ""));
1.456. DefaultSmsPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultSmsPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.456.1. DefaultSmsPicker Field属性列表
1.456.1.1. DefaultKeyUpdater mDefaultKeyUpdater
private DefaultKeyUpdater mDefaultKeyUpdater = new DefaultKeyUpdater();
1.456.2. DefaultSmsPickerMethod方法列表
1.456.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.456.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.456.2.3. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.456.2.4. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.456.2.5. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.456.2.6. getConfirmationMessage(CandidateInfo info)
protected String getConfirmationMessage(CandidateInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConfirmationMessage", "CandidateInfo info"));
1.457. DefaultSmsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultSmsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.457.1. DefaultSmsPreferenceController Field属性列表
1.457.2. DefaultSmsPreferenceControllerMethod方法列表
1.457.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.457.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.457.2.3. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.457.2.4. static hasSmsPreference(String pkg,Context context)
public static boolean hasSmsPreference(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasSmsPreference", "String pkg,Context context"));
1.457.2.5. static isSmsDefault(String pkg,Context context)
public static boolean isSmsDefault(String pkg, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSmsDefault", "String pkg,Context context"));
1.458. DefaultSmsShortcutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DefaultSmsShortcutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.458.1. DefaultSmsShortcutPreferenceController Field属性列表
1.458.1.1. static final String KEY
private static final String KEY = "default_sms_app";
1.458.2. DefaultSmsShortcutPreferenceControllerMethod方法列表
1.458.2.1. hasAppCapability()
protected boolean hasAppCapability()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAppCapability", ""));
1.458.2.2. isDefaultApp()
protected boolean isDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultApp", ""));
1.459. DefaultVoiceInputPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/DefaultVoiceInputPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.459.1. DefaultVoiceInputPicker Field属性列表
1.459.1.1. VoiceInputHelper mHelper;
private VoiceInputHelper mHelper;
1.459.1.2. AssistUtils mAssistUtils;
private AssistUtils mAssistUtils;
1.459.1.3. String mAssistRestrict;
private String mAssistRestrict;
1.459.2. DefaultVoiceInputPickerMethod方法列表
1.459.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.459.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.459.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.459.2.4. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.459.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.459.2.6. setDefaultKey(String value)
protected boolean setDefaultKey(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String value"));
1.459.2.7. getCurrentAssist()
private ComponentName getCurrentAssist()
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getCurrentAssist", ""));
1.459.2.8. static getCurrentService(VoiceInputHelper helper)
public static ComponentName getCurrentService(VoiceInputHelper helper)
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getCurrentService", "VoiceInputHelper helper"));
1.459.2.9. static isCurrentAssistVoiceService(ComponentName currentAssist,ComponentName currentVoiceService)
public static boolean isCurrentAssistVoiceService(ComponentName currentAssist, ComponentName currentVoiceService)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCurrentAssistVoiceService", "ComponentName currentAssist,ComponentName currentVoiceService"));
1.460. DefaultVoiceInputPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/DefaultVoiceInputPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.460.1. DefaultVoiceInputPreferenceController Field属性列表
1.460.1.1. VoiceInputHelper mHelper;
private VoiceInputHelper mHelper;
1.460.1.2. AssistUtils mAssistUtils;
private AssistUtils mAssistUtils;
1.460.1.3. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.460.1.4. Preference mPreference;
private Preference mPreference;
1.460.1.5. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.460.1.6. static final String KEY_VOICE_INPUT
private static final String KEY_VOICE_INPUT = "voice_input_settings";
1.460.2. DefaultVoiceInputPreferenceControllerMethod方法列表
1.460.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.460.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.460.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.460.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.460.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.460.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.460.2.7. getDefaultAppInfo()
protected DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.460.2.8. getSettingIntent(DefaultAppInfo info)
protected Intent getSettingIntent(DefaultAppInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getSettingIntent", "DefaultAppInfo info"));
1.460.2.9. updatePreference()
private void updatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", ""));
1.460.2.10. getDefaultAppKey()
private String getDefaultAppKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultAppKey", ""));
1.461. DefaultWorkBrowserPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultWorkBrowserPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.461.1. DefaultWorkBrowserPreferenceController Field属性列表
1.461.1.1. final UserHandle mUserHandle;
private final UserHandle mUserHandle;
1.461.1.2. static final String KEY
public static final String KEY = "work_default_browser";
1.461.2. DefaultWorkBrowserPreferenceControllerMethod方法列表
1.461.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.461.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.462. DefaultWorkPhonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/DefaultWorkPhonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.462.1. DefaultWorkPhonePreferenceController Field属性列表
1.462.1.1. final UserHandle mUserHandle;
private final UserHandle mUserHandle;
1.462.1.2. static final String KEY
public static final String KEY = "work_default_phone_app";
1.462.2. DefaultWorkPhonePreferenceControllerMethod方法列表
1.462.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.462.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.463. DeletedChannelsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DeletedChannelsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.463.1. DeletedChannelsPreferenceController Field属性列表
1.463.1.1. static final String KEY_DELETED
private static final String KEY_DELETED = "deleted";
1.463.2. DeletedChannelsPreferenceControllerMethod方法列表
1.463.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.463.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.463.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.464. DensityPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/DensityPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.464.1. DensityPreference Field属性列表
1.464.1.1. static final String TAG
private static final String TAG = "DensityPreference";
1.464.2. DensityPreferenceMethod方法列表
1.464.2.1. onAttached()
public void onAttached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttached", ""));
1.464.2.2. getCurrentSwDp()
private int getCurrentSwDp()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentSwDp", ""));
1.464.2.3. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.464.2.4. onDialogClosed(boolean positiveResult)
protected void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.465. DescriptionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DescriptionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.465.1. DescriptionPreferenceController Field属性列表
1.465.1.1. static final String KEY_DESC
private static final String KEY_DESC = "desc";
1.465.2. DescriptionPreferenceControllerMethod方法列表
1.465.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.465.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.465.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.466. DevelopmentOptionsActivityRequestCodes.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DevelopmentOptionsActivityRequestCodes.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.467. DevelopmentSettingsDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DevelopmentSettingsDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.467.1. DevelopmentSettingsDashboardFragment Field属性列表
1.467.1.1. boolean mIsAvailable
private boolean mIsAvailable = true;
1.467.1.2. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.467.1.3. DevelopmentSwitchBarController mSwitchBarController;
private DevelopmentSwitchBarController mSwitchBarController;
1.467.1.4. List mPreferenceControllers
private List mPreferenceControllers = new ArrayList<>();
1.467.1.5. BluetoothA2dp mBluetoothA2dp;
private BluetoothA2dp mBluetoothA2dp;
1.467.1.6. final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore
private final BluetoothA2dpConfigStore mBluetoothA2dpConfigStore = new BluetoothA2dpConfigStore();
1.467.1.7. final BroadcastReceiver mEnableAdbReceiver
private final BroadcastReceiver mEnableAdbReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
for (AbstractPreferenceController controller : mPreferenceControllers) {
if (controller instanceof AdbOnChangeListener) {
((AdbOnChangeListener) controller).onAdbSettingChanged();
}
}
}
};
1.467.1.8. final BroadcastReceiver mBluetoothA2dpReceiver
private final BroadcastReceiver mBluetoothA2dpReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Log.d(TAG, "mBluetoothA2dpReceiver.onReceive intent=" + intent);
String action = intent.getAction();
if (BluetoothA2dp.ACTION_CODEC_CONFIG_CHANGED.equals(action)) {
BluetoothCodecStatus codecStatus = intent.getParcelableExtra(BluetoothCodecStatus.EXTRA_CODEC_STATUS);
Log.d(TAG, "Received BluetoothCodecStatus=" + codecStatus);
for (AbstractPreferenceController controller : mPreferenceControllers) {
if (controller instanceof BluetoothServiceConnectionListener) {
((BluetoothServiceConnectionListener) controller).onBluetoothCodecUpdated();
}
}
}
}
};
1.467.1.9. final BluetoothProfile.ServiceListener mBluetoothA2dpServiceListener
private final BluetoothProfile.ServiceListener mBluetoothA2dpServiceListener = new BluetoothProfile.ServiceListener() {
@Override
public void onServiceConnected(int profile, BluetoothProfile proxy) {
synchronized (mBluetoothA2dpConfigStore) {
mBluetoothA2dp = (BluetoothA2dp) proxy;
}
for (AbstractPreferenceController controller : mPreferenceControllers) {
if (controller instanceof BluetoothServiceConnectionListener) {
((BluetoothServiceConnectionListener) controller).onBluetoothServiceConnected(mBluetoothA2dp);
}
}
}
@Override
public void onServiceDisconnected(int profile) {
synchronized (mBluetoothA2dpConfigStore) {
mBluetoothA2dp = null;
}
for (AbstractPreferenceController controller : mPreferenceControllers) {
if (controller instanceof BluetoothServiceConnectionListener) {
((BluetoothServiceConnectionListener) controller).onBluetoothServiceDisconnected();
}
}
}
};
1.467.1.10. static final String TAG
private static final String TAG = "DevSettingsDashboard";
1.467.1.11. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
protected boolean isPageSearchEnabled(Context context) {
return DevelopmentSettingsEnabler.isDevelopmentSettingsEnabled(context);
}
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.development_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* activity */
null, /* lifecycle */
null, /* devOptionsDashboardFragment */
null);
}
};
1.467.2. DevelopmentSettingsDashboardFragmentMethod方法列表
1.467.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.467.2.2. onActivityCreated(Bundle icicle)
public void onActivityCreated(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle icicle"));
1.467.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.467.2.4. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.467.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.467.2.6. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.467.2.7. onOemUnlockDialogConfirmed()
public void onOemUnlockDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOemUnlockDialogConfirmed", ""));
1.467.2.8. onOemUnlockDialogDismissed()
public void onOemUnlockDialogDismissed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOemUnlockDialogDismissed", ""));
1.467.2.9. onEnableAdbDialogConfirmed()
public void onEnableAdbDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnableAdbDialogConfirmed", ""));
1.467.2.10. onEnableAdbDialogDismissed()
public void onEnableAdbDialogDismissed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnableAdbDialogDismissed", ""));
1.467.2.11. onAdbClearKeysDialogConfirmed()
public void onAdbClearKeysDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAdbClearKeysDialogConfirmed", ""));
1.467.2.12. onDisableLogPersistDialogConfirmed()
public void onDisableLogPersistDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisableLogPersistDialogConfirmed", ""));
1.467.2.13. onDisableLogPersistDialogRejected()
public void onDisableLogPersistDialogRejected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisableLogPersistDialogRejected", ""));
1.467.2.14. onA2dpHwDialogConfirmed()
public void onA2dpHwDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onA2dpHwDialogConfirmed", ""));
1.467.2.15. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.467.2.16. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.467.2.17. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.467.2.18. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.467.2.19. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.467.2.20. registerReceivers()
private void registerReceivers()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerReceivers", ""));
1.467.2.21. unregisterReceivers()
private void unregisterReceivers()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterReceivers", ""));
1.467.2.22. enableDeveloperOptions()
private void enableDeveloperOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableDeveloperOptions", ""));
1.467.2.23. disableDeveloperOptions()
private void disableDeveloperOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableDeveloperOptions", ""));
1.467.2.24. onEnableDevelopmentOptionsConfirmed()
void onEnableDevelopmentOptionsConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnableDevelopmentOptionsConfirmed", ""));
1.467.2.25. onEnableDevelopmentOptionsRejected()
void onEnableDevelopmentOptionsRejected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnableDevelopmentOptionsRejected", ""));
1.467.2.26. getDevelopmentOptionsController(Class clazz)
T getDevelopmentOptionsController(Class clazz)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"getDevelopmentOptionsController", "Class clazz"));
1.467.2.27. static buildPreferenceControllers(Context context,Activity activity,Lifecycle lifecycle,DevelopmentSettingsDashboardFragment fragment,BluetoothA2dpConfigStore bluetoothA2dpConfigStore)
private static List buildPreferenceControllers(Context context, Activity activity, Lifecycle lifecycle, DevelopmentSettingsDashboardFragment fragment, BluetoothA2dpConfigStore bluetoothA2dpConfigStore)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Activity activity,Lifecycle lifecycle,DevelopmentSettingsDashboardFragment fragment,BluetoothA2dpConfigStore bluetoothA2dpConfigStore"));
1.468. DevelopmentSettingsDisabledActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DevelopmentSettingsDisabledActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.468.1. DevelopmentSettingsDisabledActivity Field属性列表
1.468.2. DevelopmentSettingsDisabledActivityMethod方法列表
1.468.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.469. DevelopmentSwitchBarController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DevelopmentSwitchBarController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.469.1. DevelopmentSwitchBarController Field属性列表
1.469.1.1. final SwitchBar mSwitchBar;
private final SwitchBar mSwitchBar;
1.469.1.2. final boolean mIsAvailable;
private final boolean mIsAvailable;
1.469.1.3. final DevelopmentSettingsDashboardFragment mSettings;
private final DevelopmentSettingsDashboardFragment mSettings;
1.469.2. DevelopmentSwitchBarControllerMethod方法列表
1.469.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.469.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.470. DevelopmentTileConfigFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/qstile/DevelopmentTileConfigFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.470.1. DevelopmentTileConfigFragment Field属性列表
1.470.1.1. static final String TAG
private static final String TAG = "DevelopmentTileConfig";
1.470.2. DevelopmentTileConfigFragmentMethod方法列表
1.470.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.470.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.470.2.3. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.470.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.471. DevelopmentTilePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/qstile/DevelopmentTilePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.471.1. DevelopmentTilePreferenceController Field属性列表
1.471.1.1. final OnChangeHandler mOnChangeHandler;
private final OnChangeHandler mOnChangeHandler;
1.471.1.2. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.471.1.3. static final String TAG
private static final String TAG = "DevTilePrefController";
1.471.2. DevelopmentTilePreferenceControllerMethod方法列表
1.471.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.471.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.471.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.472. DevelopmentTiles.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/qstile/DevelopmentTiles.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.472.1. DevelopmentTiles Field属性列表
1.472.1.1. static final String TAG
private static final String TAG = "DevelopmentTiles";
1.472.2. DevelopmentTilesMethod方法列表
1.472.2.1. onStartListening()
public void onStartListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStartListening", ""));
1.472.2.2. refresh()
public void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.472.2.3. onClick()
public void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.472.2.4. abstract isEnabled()
protected abstract boolean isEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnabled", ""));
1.472.2.5. abstract setIsEnabled(boolean isEnabled)
protected abstract void setIsEnabled(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsEnabled", "boolean isEnabled"));
1.473. DeviceAdminAdd.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DeviceAdminAdd.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.473.1. DeviceAdminAdd Field属性列表
1.473.1.1. Handler mHandler;
Handler mHandler;
1.473.1.2. DevicePolicyManager mDPM;
DevicePolicyManager mDPM;
1.473.1.3. AppOpsManager mAppOps;
AppOpsManager mAppOps;
1.473.1.4. DeviceAdminInfo mDeviceAdmin;
DeviceAdminInfo mDeviceAdmin;
1.473.1.5. CharSequence mAddMsgText;
CharSequence mAddMsgText;
1.473.1.6. String mProfileOwnerName;
String mProfileOwnerName;
1.473.1.7. ImageView mAdminIcon;
ImageView mAdminIcon;
1.473.1.8. TextView mAdminName;
TextView mAdminName;
1.473.1.9. TextView mAdminDescription;
TextView mAdminDescription;
1.473.1.10. TextView mAddMsg;
TextView mAddMsg;
1.473.1.11. TextView mProfileOwnerWarning;
TextView mProfileOwnerWarning;
1.473.1.12. ImageView mAddMsgExpander;
ImageView mAddMsgExpander;
1.473.1.13. boolean mAddMsgEllipsized
boolean mAddMsgEllipsized = true;
1.473.1.14. TextView mAdminWarning;
TextView mAdminWarning;
1.473.1.15. TextView mSupportMessage;
TextView mSupportMessage;
1.473.1.16. ViewGroup mAdminPolicies;
ViewGroup mAdminPolicies;
1.473.1.17. Button mActionButton;
Button mActionButton;
1.473.1.18. Button mUninstallButton;
Button mUninstallButton;
1.473.1.19. Button mCancelButton;
Button mCancelButton;
1.473.1.20. boolean mUninstalling
boolean mUninstalling = false;
1.473.1.21. boolean mAdding;
boolean mAdding;
1.473.1.22. boolean mRefreshing;
boolean mRefreshing;
1.473.1.23. boolean mWaitingForRemoveMsg;
boolean mWaitingForRemoveMsg;
1.473.1.24. boolean mAddingProfileOwner;
boolean mAddingProfileOwner;
1.473.1.25. boolean mAdminPoliciesInitialized;
boolean mAdminPoliciesInitialized;
1.473.1.26. boolean mIsCalledFromSupportDialog
boolean mIsCalledFromSupportDialog = false;
1.473.1.27. final IBinder mToken
private final IBinder mToken = new Binder();
1.473.1.28. static final String TAG
static final String TAG = "DeviceAdminAdd";
1.473.1.29. static final int DIALOG_WARNING
static final int DIALOG_WARNING = 1;
1.473.1.30. static final int MAX_ADD_MSG_LINES_PORTRAIT
private static final int MAX_ADD_MSG_LINES_PORTRAIT = 5;
1.473.1.31. static final int MAX_ADD_MSG_LINES_LANDSCAPE
private static final int MAX_ADD_MSG_LINES_LANDSCAPE = 2;
1.473.1.32. static final int MAX_ADD_MSG_LINES
private static final int MAX_ADD_MSG_LINES = 15;
1.473.1.33. static final String EXTRA_DEVICE_ADMIN_PACKAGE_NAME
/**
* Optional key to map to the package name of the Device Admin.
* Currently only used when uninstalling an active device admin.
*/
public static final String EXTRA_DEVICE_ADMIN_PACKAGE_NAME = "android.app.extra.DEVICE_ADMIN_PACKAGE_NAME";
1.473.1.34. static final String EXTRA_CALLED_FROM_SUPPORT_DIALOG
public static final String EXTRA_CALLED_FROM_SUPPORT_DIALOG = "android.app.extra.CALLED_FROM_SUPPORT_DIALOG";
1.473.2. DeviceAdminAddMethod方法列表
1.473.2.1. onCreate(Bundle icicle)
protected void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.473.2.2. showPolicyTransparencyDialogIfRequired()
private void showPolicyTransparencyDialogIfRequired()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPolicyTransparencyDialogIfRequired", ""));
1.473.2.3. addAndFinish()
void addAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addAndFinish", ""));
1.473.2.4. unrestrictAppIfPossible(BatteryUtils batteryUtils)
void unrestrictAppIfPossible(BatteryUtils batteryUtils)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unrestrictAppIfPossible", "BatteryUtils batteryUtils"));
1.473.2.5. continueRemoveAction(CharSequence msg)
void continueRemoveAction(CharSequence msg)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"continueRemoveAction", "CharSequence msg"));
1.473.2.6. logSpecialPermissionChange(boolean allow,String packageName)
void logSpecialPermissionChange(boolean allow, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean allow,String packageName"));
1.473.2.7. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.473.2.8. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.473.2.9. onUserLeaveHint()
protected void onUserLeaveHint()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUserLeaveHint", ""));
1.473.2.10. onCreateDialog(int id,Bundle args)
protected Dialog onCreateDialog(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int id,Bundle args"));
1.473.2.11. updateInterface()
void updateInterface()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateInterface", ""));
1.473.2.12. getAdminEnforcingCantRemoveProfile()
private EnforcedAdmin getAdminEnforcingCantRemoveProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getAdminEnforcingCantRemoveProfile", ""));
1.473.2.13. hasBaseCantRemoveProfileRestriction()
private boolean hasBaseCantRemoveProfileRestriction()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasBaseCantRemoveProfileRestriction", ""));
1.473.2.14. getParentUserId()
private int getParentUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getParentUserId", ""));
1.473.2.15. addDeviceAdminPolicies(boolean showDescription)
private void addDeviceAdminPolicies(boolean showDescription)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDeviceAdminPolicies", "boolean showDescription"));
1.473.2.16. toggleMessageEllipsis(View v)
void toggleMessageEllipsis(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toggleMessageEllipsis", "View v"));
1.473.2.17. getEllipsizedLines()
int getEllipsizedLines()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getEllipsizedLines", ""));
1.473.2.18. isManagedProfile(DeviceAdminInfo adminInfo)
private boolean isManagedProfile(DeviceAdminInfo adminInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isManagedProfile", "DeviceAdminInfo adminInfo"));
1.473.2.19. findAdminWithPackageName(String packageName)
private Optional findAdminWithPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"Optional" ,"findAdminWithPackageName", "String packageName"));
1.473.2.20. isAdminUninstallable()
private boolean isAdminUninstallable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdminUninstallable", ""));
1.474. DeviceAdministratorsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/DeviceAdministratorsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.474.1. DeviceAdministratorsController Field属性列表
1.474.1.1. static final String KEY_DEVICE_ADMIN
@VisibleForTesting
static final String KEY_DEVICE_ADMIN = "device_administrators";
1.474.2. DeviceAdministratorsControllerMethod方法列表
1.474.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.475. DeviceAdminSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DeviceAdminSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.475.1. DeviceAdminSettings Field属性列表
1.475.1.1. VisibilityLoggerMixin mVisibilityLoggerMixin;
private VisibilityLoggerMixin mVisibilityLoggerMixin;
1.475.1.2. DevicePolicyManager mDPM;
private DevicePolicyManager mDPM;
1.475.1.3. UserManager mUm;
private UserManager mUm;
1.475.1.4. String mDeviceOwnerPkg;
private String mDeviceOwnerPkg;
1.475.1.5. SparseArray mProfileOwnerComponents
private SparseArray mProfileOwnerComponents = new SparseArray();
1.475.1.6. final ArrayList mAdmins
/**
* Internal collection of device admin info objects for all profiles associated with the current
* user.
*/
private final ArrayList mAdmins = new ArrayList();
1.475.1.7. final BroadcastReceiver mBroadcastReceiver
private final BroadcastReceiver mBroadcastReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
// need to be updated
if (DevicePolicyManager.ACTION_DEVICE_POLICY_MANAGER_STATE_CHANGED.equals(intent.getAction())) {
updateList();
}
}
};
1.475.1.8. static final String TAG
static final String TAG = "DeviceAdminSettings";
1.475.2. DeviceAdminSettingsMethod方法列表
1.475.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.475.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.475.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.475.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.475.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.475.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.475.2.7. updateList()
void updateList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateList", ""));
1.475.2.8. onListItemClick(ListView l,View v,int position,long id)
public void onListItemClick(ListView l, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView l,View v,int position,long id"));
1.475.2.9. isDeviceOwner(DeviceAdminInfo item)
private boolean isDeviceOwner(DeviceAdminInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceOwner", "DeviceAdminInfo item"));
1.475.2.10. isProfileOwner(DeviceAdminInfo item)
private boolean isProfileOwner(DeviceAdminInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProfileOwner", "DeviceAdminInfo item"));
1.475.2.11. isActiveAdmin(DeviceAdminInfo item)
private boolean isActiveAdmin(DeviceAdminInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActiveAdmin", "DeviceAdminInfo item"));
1.475.2.12. isRemovingAdmin(DeviceAdminInfo item)
private boolean isRemovingAdmin(DeviceAdminInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRemovingAdmin", "DeviceAdminInfo item"));
1.475.2.13. updateAvailableAdminsForProfile(final int profileId)
private void updateAvailableAdminsForProfile(final int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAvailableAdminsForProfile", "final int profileId"));
1.475.2.14. addDeviceAdminBroadcastReceiversForProfile(Collection alreadyAddedComponents,final int profileId)
private void addDeviceAdminBroadcastReceiversForProfile(Collection alreadyAddedComponents, final int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDeviceAdminBroadcastReceiversForProfile", "Collection alreadyAddedComponents,final int profileId"));
1.475.2.15. addActiveAdminsForProfile(final List activeAdmins,final int profileId)
private void addActiveAdminsForProfile(final List activeAdmins, final int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addActiveAdminsForProfile", "final List activeAdmins,final int profileId"));
1.475.2.16. createDeviceAdminInfo(ActivityInfo ai)
private DeviceAdminInfo createDeviceAdminInfo(ActivityInfo ai)
methodList.add(new ZMethod(mZAndroidAPPClass,"DeviceAdminInfo" ,"createDeviceAdminInfo", "ActivityInfo ai"));
1.475.2.17. getUserId(DeviceAdminInfo adminInfo)
private int getUserId(DeviceAdminInfo adminInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", "DeviceAdminInfo adminInfo"));
1.476. DeviceIndexFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DeviceIndexFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.477. DeviceIndexFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DeviceIndexFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.477.1. DeviceIndexFeatureProviderImpl Field属性列表
1.477.2. DeviceIndexFeatureProviderImplMethod方法列表
1.477.2.1. isIndexingEnabled()
public boolean isIndexingEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIndexingEnabled", ""));
1.477.2.2. index(Context context,CharSequence title,Uri sliceUri,Uri launchUri,List keywords)
public void index(Context context, CharSequence title, Uri sliceUri, Uri launchUri, List keywords)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"index", "Context context,CharSequence title,Uri sliceUri,Uri launchUri,List keywords"));
1.477.2.3. clearIndex(Context context)
public void clearIndex(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearIndex", "Context context"));
1.478. DeviceIndexUpdateJobService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/DeviceIndexUpdateJobService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.478.1. DeviceIndexUpdateJobService Field属性列表
1.478.1.1. boolean mRunningJob;
@VisibleForTesting
protected boolean mRunningJob;
1.478.1.2. static final String TAG
private static final String TAG = "DeviceIndexUpdate";
1.478.1.3. static final boolean DEBUG
private static final boolean DEBUG = false;
1.478.2. DeviceIndexUpdateJobServiceMethod方法列表
1.478.2.1. onStartJob(JobParameters params)
public boolean onStartJob(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStartJob", "JobParameters params"));
1.478.2.2. onStopJob(JobParameters params)
public boolean onStopJob(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onStopJob", "JobParameters params"));
1.478.2.3. updateIndex(JobParameters params)
protected void updateIndex(JobParameters params)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateIndex", "JobParameters params"));
1.478.2.4. getSliceViewManager()
protected SliceViewManager getSliceViewManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceViewManager" ,"getSliceViewManager", ""));
1.478.2.5. getMetadata(Slice loadedSlice)
protected SliceMetadata getMetadata(Slice loadedSlice)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceMetadata" ,"getMetadata", "Slice loadedSlice"));
1.478.2.6. findTitle(Slice loadedSlice,SliceMetadata metaData)
protected CharSequence findTitle(Slice loadedSlice, SliceMetadata metaData)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"findTitle", "Slice loadedSlice,SliceMetadata metaData"));
1.478.2.7. bindSliceSynchronous(SliceViewManager manager,Uri slice)
protected Slice bindSliceSynchronous(SliceViewManager manager, Uri slice)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"bindSliceSynchronous", "SliceViewManager manager,Uri slice"));
1.479. DeviceInfoSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/DeviceInfoSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.479.1. DeviceInfoSettings Field属性列表
1.479.1.1. static final String LOG_TAG
private static final String LOG_TAG = "DeviceInfoSettings";
1.479.1.2. static final String KEY_LEGAL_CONTAINER
private static final String KEY_LEGAL_CONTAINER = "legal_container";
1.479.1.3. static final int SIM_PREFERENCES_COUNT
@VisibleForTesting
static final int SIM_PREFERENCES_COUNT = 3;
1.479.1.4. static final int NON_SIM_PREFERENCES_COUNT
@VisibleForTesting
static final int NON_SIM_PREFERENCES_COUNT = 2;
1.479.1.5. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(summaryLoader);
}
};
1.479.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.device_info_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /*activity */
null, /* fragment */
null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(KEY_LEGAL_CONTAINER);
return keys;
}
};
1.479.2. DeviceInfoSettingsMethod方法列表
1.479.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.479.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.479.2.3. getInitialExpandedChildCount()
public int getInitialExpandedChildCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getInitialExpandedChildCount", ""));
1.479.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.479.2.5. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.479.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.479.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.479.2.8. static buildPreferenceControllers(Context context,Activity activity,Fragment fragment,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Activity activity, Fragment fragment, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Activity activity,Fragment fragment,Lifecycle lifecycle"));
1.480. DeviceListPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceListPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.480.1. DeviceListPreferenceFragment Field属性列表
1.480.1.1. BluetoothDeviceFilter.Filter mFilter;
private BluetoothDeviceFilter.Filter mFilter;
1.480.1.2. boolean mScanEnabled;
@VisibleForTesting
boolean mScanEnabled;
1.480.1.3. BluetoothDevice mSelectedDevice;
BluetoothDevice mSelectedDevice;
1.480.1.4. LocalBluetoothAdapter mLocalAdapter;
LocalBluetoothAdapter mLocalAdapter;
1.480.1.5. LocalBluetoothManager mLocalManager;
LocalBluetoothManager mLocalManager;
1.480.1.6. PreferenceGroup mDeviceListGroup;
@VisibleForTesting
PreferenceGroup mDeviceListGroup;
1.480.1.7. boolean mShowDevicesWithoutNames;
boolean mShowDevicesWithoutNames;
1.480.1.8. final WeakHashMap mDevicePreferenceMap
final WeakHashMap mDevicePreferenceMap = new WeakHashMap();
1.480.1.9. static final String TAG
private static final String TAG = "DeviceListPreferenceFragment";
1.480.1.10. static final String KEY_BT_SCAN
private static final String KEY_BT_SCAN = "bt_scan";
1.480.1.11. static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY
// Copied from BluetoothDeviceNoNamePreferenceController.java
private static final String BLUETOOTH_SHOW_DEVICES_WITHOUT_NAMES_PROPERTY = "persist.bluetooth.showdeviceswithoutnames";
1.480.2. DeviceListPreferenceFragmentMethod方法列表
1.480.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.480.2.2. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.480.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.480.2.4. removeAllDevices()
void removeAllDevices()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeAllDevices", ""));
1.480.2.5. addCachedDevices()
void addCachedDevices()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addCachedDevices", ""));
1.480.2.6. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.480.2.7. onDevicePreferenceClick(BluetoothDevicePreference btPreference)
void onDevicePreferenceClick(BluetoothDevicePreference btPreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDevicePreferenceClick", "BluetoothDevicePreference btPreference"));
1.480.2.8. onDeviceAdded(CachedBluetoothDevice cachedDevice)
public void onDeviceAdded(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "CachedBluetoothDevice cachedDevice"));
1.480.2.9. createDevicePreference(CachedBluetoothDevice cachedDevice)
void createDevicePreference(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDevicePreference", "CachedBluetoothDevice cachedDevice"));
1.480.2.10. initDevicePreference(BluetoothDevicePreference preference)
void initDevicePreference(BluetoothDevicePreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initDevicePreference", "BluetoothDevicePreference preference"));
1.480.2.11. updateFooterPreference(Preference myDevicePreference)
void updateFooterPreference(Preference myDevicePreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFooterPreference", "Preference myDevicePreference"));
1.480.2.12. onDeviceDeleted(CachedBluetoothDevice cachedDevice)
public void onDeviceDeleted(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceDeleted", "CachedBluetoothDevice cachedDevice"));
1.480.2.13. enableScanning()
void enableScanning()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableScanning", ""));
1.480.2.14. disableScanning()
void disableScanning()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableScanning", ""));
1.480.2.15. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.480.2.16. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.480.2.17. addDeviceCategory(PreferenceGroup preferenceGroup,int titleId,BluetoothDeviceFilter.Filter filter,boolean addCachedDevices)
public void addDeviceCategory(PreferenceGroup preferenceGroup, int titleId, BluetoothDeviceFilter.Filter filter, boolean addCachedDevices)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDeviceCategory", "PreferenceGroup preferenceGroup,int titleId,BluetoothDeviceFilter.Filter filter,boolean addCachedDevices"));
1.480.2.18. onConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state)
public void onConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state"));
1.480.2.19. onActiveDeviceChanged(CachedBluetoothDevice activeDevice,int bluetoothProfile)
public void onActiveDeviceChanged(CachedBluetoothDevice activeDevice, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActiveDeviceChanged", "CachedBluetoothDevice activeDevice,int bluetoothProfile"));
1.480.2.20. onAudioModeChanged()
public void onAudioModeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAudioModeChanged", ""));
1.480.2.21. shouldShowDevicesWithoutNames()
public boolean shouldShowDevicesWithoutNames()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowDevicesWithoutNames", ""));
1.480.2.22. final setFilter(BluetoothDeviceFilter.Filter filter)
final void setFilter(BluetoothDeviceFilter.Filter filter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFilter", "BluetoothDeviceFilter.Filter filter"));
1.480.2.23. final setFilter(int filterType)
final void setFilter(int filterType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFilter", "int filterType"));
1.480.2.24. abstract initPreferencesFromPreferenceScreen()
abstract void initPreferencesFromPreferenceScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreferencesFromPreferenceScreen", ""));
1.480.2.25. abstract getDeviceListKey()
public abstract String getDeviceListKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceListKey", ""));
1.481. DeviceModelPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/DeviceModelPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.481.1. DeviceModelPreferenceController Field属性列表
1.481.1.1. final Fragment mHost;
private final Fragment mHost;
1.481.1.2. static final String KEY_DEVICE_MODEL
private static final String KEY_DEVICE_MODEL = "device_model";
1.481.2. DeviceModelPreferenceControllerMethod方法列表
1.481.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.481.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.481.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.481.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.481.2.5. static getDeviceModel()
public static String getDeviceModel()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceModel", ""));
1.482. DeviceNamePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/DeviceNamePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.482.1. DeviceNamePreferenceController Field属性列表
1.482.1.1. String mDeviceName;
private String mDeviceName;
1.482.1.2. WifiManager mWifiManager;
protected WifiManager mWifiManager;
1.482.1.3. ValidatedEditTextPreference mPreference;
private ValidatedEditTextPreference mPreference;
1.482.1.4. LocalBluetoothManager mBluetoothManager;
@Nullable
private LocalBluetoothManager mBluetoothManager;
1.482.1.5. DeviceNamePreferenceHost mHost;
private DeviceNamePreferenceHost mHost;
1.482.1.6. String mPendingDeviceName;
private String mPendingDeviceName;
1.482.1.7. final WifiDeviceNameTextValidator mWifiDeviceNameTextValidator;
private final WifiDeviceNameTextValidator mWifiDeviceNameTextValidator;
1.482.1.8. static final String PREF_KEY
private static final String PREF_KEY = "device_name";
1.482.1.9. static final int DEVICE_NAME_SET_WARNING_ID
public static final int DEVICE_NAME_SET_WARNING_ID = 1;
1.482.1.10. static final String KEY_PENDING_DEVICE_NAME
private static final String KEY_PENDING_DEVICE_NAME = "key_pending_device_name";
1.482.2. DeviceNamePreferenceControllerMethod方法列表
1.482.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.482.2.2. initializeDeviceName()
private void initializeDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeDeviceName", ""));
1.482.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.482.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.482.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.482.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.482.2.7. isTextValid(String deviceName)
public boolean isTextValid(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTextValid", "String deviceName"));
1.482.2.8. setLocalBluetoothManager(LocalBluetoothManager localBluetoothManager)
public void setLocalBluetoothManager(LocalBluetoothManager localBluetoothManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocalBluetoothManager", "LocalBluetoothManager localBluetoothManager"));
1.482.2.9. confirmDeviceName()
public void confirmDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"confirmDeviceName", ""));
1.482.2.10. setHost(DeviceNamePreferenceHost host)
public void setHost(DeviceNamePreferenceHost host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHost", "DeviceNamePreferenceHost host"));
1.482.2.11. setDeviceName(String deviceName)
private void setDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDeviceName", "String deviceName"));
1.482.2.12. setSettingsGlobalDeviceName(String deviceName)
private void setSettingsGlobalDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSettingsGlobalDeviceName", "String deviceName"));
1.482.2.13. setBluetoothDeviceName(String deviceName)
private void setBluetoothDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBluetoothDeviceName", "String deviceName"));
1.482.2.14. setTetherSsidName(String deviceName)
private void setTetherSsidName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTetherSsidName", "String deviceName"));
1.482.2.15. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.482.2.16. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.482.2.17. static final getFilteredBluetoothString(final String deviceName)
private static final String getFilteredBluetoothString(final String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getFilteredBluetoothString", "final String deviceName"));
1.483. DeviceNameWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/aboutphone/DeviceNameWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.483.1. DeviceNameWarningDialog Field属性列表
1.483.1.1. static final String TAG
public static final String TAG = "DeviceNameWarningDlg";
1.483.2. DeviceNameWarningDialogMethod方法列表
1.483.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.483.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.483.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.483.2.4. static show(MyDeviceInfoFragment host)
public static void show(MyDeviceInfoFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "MyDeviceInfoFragment host"));
1.484. DevicePickerActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.484.1. DevicePickerActivity Field属性列表
1.484.2. DevicePickerActivityMethod方法列表
1.484.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.485. DevicePickerFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/DevicePickerFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.485.1. DevicePickerFragment Field属性列表
1.485.1.1. BluetoothProgressCategory mAvailableDevicesCategory;
@VisibleForTesting
BluetoothProgressCategory mAvailableDevicesCategory;
1.485.1.2. boolean mNeedAuth;
private boolean mNeedAuth;
1.485.1.3. String mLaunchPackage;
private String mLaunchPackage;
1.485.1.4. String mLaunchClass;
private String mLaunchClass;
1.485.1.5. boolean mScanAllowed;
private boolean mScanAllowed;
1.485.1.6. static final String KEY_BT_DEVICE_LIST
private static final String KEY_BT_DEVICE_LIST = "bt_device_list";
1.485.1.7. static final String TAG
private static final String TAG = "DevicePickerFragment";
1.485.2. DevicePickerFragmentMethod方法列表
1.485.2.1. initPreferencesFromPreferenceScreen()
void initPreferencesFromPreferenceScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreferencesFromPreferenceScreen", ""));
1.485.2.2. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.485.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.485.2.4. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.485.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.485.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.485.2.7. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.485.2.8. onDevicePreferenceClick(BluetoothDevicePreference btPreference)
void onDevicePreferenceClick(BluetoothDevicePreference btPreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDevicePreferenceClick", "BluetoothDevicePreference btPreference"));
1.485.2.9. onScanningStateChanged(boolean started)
public void onScanningStateChanged(boolean started)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onScanningStateChanged", "boolean started"));
1.485.2.10. onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice,int bondState)
public void onDeviceBondStateChanged(CachedBluetoothDevice cachedDevice, int bondState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceBondStateChanged", "CachedBluetoothDevice cachedDevice,int bondState"));
1.485.2.11. onBluetoothStateChanged(int bluetoothState)
public void onBluetoothStateChanged(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBluetoothStateChanged", "int bluetoothState"));
1.485.2.12. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.485.2.13. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.485.2.14. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.485.2.15. getDeviceListKey()
public String getDeviceListKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceListKey", ""));
1.485.2.16. sendDevicePickedIntent(BluetoothDevice device)
private void sendDevicePickedIntent(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendDevicePickedIntent", "BluetoothDevice device"));
1.486. DevicePreferenceCallback.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/DevicePreferenceCallback.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.487. DeviceProfilesSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/DeviceProfilesSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.487.1. DeviceProfilesSettings Field属性列表
1.487.1.1. CachedBluetoothDevice mCachedDevice;
private CachedBluetoothDevice mCachedDevice;
1.487.1.2. LocalBluetoothManager mManager;
private LocalBluetoothManager mManager;
1.487.1.3. LocalBluetoothProfileManager mProfileManager;
private LocalBluetoothProfileManager mProfileManager;
1.487.1.4. ViewGroup mProfileContainer;
private ViewGroup mProfileContainer;
1.487.1.5. TextView mProfileLabel;
private TextView mProfileLabel;
1.487.1.6. AlertDialog mDisconnectDialog;
private AlertDialog mDisconnectDialog;
1.487.1.7. boolean mProfileGroupIsRemoved;
private boolean mProfileGroupIsRemoved;
1.487.1.8. View mRootView;
private View mRootView;
1.487.1.9. static final String TAG
private static final String TAG = "DeviceProfilesSettings";
1.487.1.10. static final String ARG_DEVICE_ADDRESS
public static final String ARG_DEVICE_ADDRESS = "device_address";
1.487.1.11. static final String KEY_PROFILE_CONTAINER
private static final String KEY_PROFILE_CONTAINER = "profile_container";
1.487.1.12. static final String KEY_UNPAIR
private static final String KEY_UNPAIR = "unpair";
1.487.1.13. static final String KEY_PBAP_SERVER
private static final String KEY_PBAP_SERVER = "PBAP Server";
1.487.1.14. static final String HIGH_QUALITY_AUDIO_PREF_TAG
@VisibleForTesting
static final String HIGH_QUALITY_AUDIO_PREF_TAG = "A2dpProfileHighQualityAudio";
1.487.2. DeviceProfilesSettingsMethod方法列表
1.487.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.487.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.487.2.3. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.487.2.4. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.487.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.487.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.487.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.487.2.8. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.487.2.9. addPreferencesForProfiles()
private void addPreferencesForProfiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferencesForProfiles", ""));
1.487.2.10. showOrHideProfileGroup()
private void showOrHideProfileGroup()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showOrHideProfileGroup", ""));
1.487.2.11. createProfilePreference(LocalBluetoothProfile profile)
private CheckBox createProfilePreference(LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"CheckBox" ,"createProfilePreference", "LocalBluetoothProfile profile"));
1.487.2.12. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.487.2.13. onProfileClicked(LocalBluetoothProfile profile,CheckBox profilePref)
private void onProfileClicked(LocalBluetoothProfile profile, CheckBox profilePref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileClicked", "LocalBluetoothProfile profile,CheckBox profilePref"));
1.487.2.14. askDisconnect(Context context,final LocalBluetoothProfile profile)
private void askDisconnect(Context context, final LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"askDisconnect", "Context context,final LocalBluetoothProfile profile"));
1.487.2.15. onDeviceAttributesChanged()
public void onDeviceAttributesChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAttributesChanged", ""));
1.487.2.16. refresh()
private void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.487.2.17. refreshProfiles()
private void refreshProfiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshProfiles", ""));
1.487.2.18. findProfile(String profile)
private CheckBox findProfile(String profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"CheckBox" ,"findProfile", "String profile"));
1.487.2.19. refreshProfilePreference(CheckBox profilePref,LocalBluetoothProfile profile)
private void refreshProfilePreference(CheckBox profilePref, LocalBluetoothProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshProfilePreference", "CheckBox profilePref,LocalBluetoothProfile profile"));
1.487.2.20. getProfileOf(View v)
private LocalBluetoothProfile getProfileOf(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"LocalBluetoothProfile" ,"getProfileOf", "View v"));
1.488. DialogCreatable.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DialogCreatable.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.489. DialPadTonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DialPadTonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.489.1. DialPadTonePreferenceController Field属性列表
1.489.1.1. static final String KEY_DIAL_PAD_TONES
private static final String KEY_DIAL_PAD_TONES = "dial_pad_tones";
1.489.2. DialPadTonePreferenceControllerMethod方法列表
1.490. DirectoryAccessDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/DirectoryAccessDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.490.1. DirectoryAccessDetails Field属性列表
1.490.1.1. boolean mCreated;
private boolean mCreated;
1.490.1.2. static final String TAG
@SuppressWarnings("hiding")
private static final String TAG = "DirectoryAccessDetails";
1.490.2. DirectoryAccessDetailsMethod方法列表
1.490.2.1. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.490.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.490.2.3. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.490.2.4. newPreference(Context context,String title,Uri providerUri,String uuid,String dir,boolean granted,@Nullable Set children)
private SwitchPreference newPreference(Context context, String title, Uri providerUri, String uuid, String dir, boolean granted, @Nullable Set children)
methodList.add(new ZMethod(mZAndroidAPPClass,"SwitchPreference" ,"newPreference", "Context context,String title,Uri providerUri,String uuid,String dir,boolean granted,@Nullable Set children"));
1.490.2.5. resetDoNotAskAgain(Context context,boolean newValue,Uri providerUri,@Nullable String uuid,@Nullable String directory)
private void resetDoNotAskAgain(Context context, boolean newValue, Uri providerUri, @Nullable String uuid, @Nullable String directory)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetDoNotAskAgain", "Context context,boolean newValue,Uri providerUri,@Nullable String uuid,@Nullable String directory"));
1.490.2.6. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.490.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.491. DisableAutomaticUpdatesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DisableAutomaticUpdatesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.491.1. DisableAutomaticUpdatesPreferenceController Field属性列表
1.491.1.1. static final String OTA_DISABLE_AUTOMATIC_UPDATE_KEY
private static final String OTA_DISABLE_AUTOMATIC_UPDATE_KEY = "ota_disable_automatic_update";
1.491.1.2. static final // "Automatic system updates" on screen. So a value 0 indicates the // automatic update is enabled. @VisibleForTesting static int DISABLE_UPDATES_SETTING
// We use the "disabled status" in code, but show the opposite text
// "Automatic system updates" on screen. So a value 0 indicates the
// automatic update is enabled.
@VisibleForTesting
static final int DISABLE_UPDATES_SETTING = 1;
1.491.1.3. static final int ENABLE_UPDATES_SETTING
@VisibleForTesting
static final int ENABLE_UPDATES_SETTING = 0;
1.491.2. DisableAutomaticUpdatesPreferenceControllerMethod方法列表
1.491.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.491.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.491.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.491.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.492. DisabledCheckBoxPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/DisabledCheckBoxPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.492.1. DisabledCheckBoxPreference Field属性列表
1.492.1.1. PreferenceViewHolder mViewHolder;
private PreferenceViewHolder mViewHolder;
1.492.1.2. View mCheckBox;
private View mCheckBox;
1.492.1.3. boolean mEnabledCheckBox;
private boolean mEnabledCheckBox;
1.492.2. DisabledCheckBoxPreferenceMethod方法列表
1.492.2.1. setupDisabledCheckBoxPreference(Context context,AttributeSet attrs,int defStyleAttr,int defStyleRes)
private void setupDisabledCheckBoxPreference(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupDisabledCheckBoxPreference", "Context context,AttributeSet attrs,int defStyleAttr,int defStyleRes"));
1.492.2.2. enableCheckbox(boolean enabled)
public void enableCheckbox(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableCheckbox", "boolean enabled"));
1.492.2.3. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.492.2.4. performClick(View view)
protected void performClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performClick", "View view"));
1.493. DisableLogPersistWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/DisableLogPersistWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.493.1. DisableLogPersistWarningDialog Field属性列表
1.493.1.1. static final String TAG
public static final String TAG = "DisableLogPersistDlg";
1.493.2. DisableLogPersistWarningDialogMethod方法列表
1.493.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.493.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.493.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.493.2.4. static show(LogPersistDialogHost host)
public static void show(LogPersistDialogHost host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "LogPersistDialogHost host"));
1.494. DiscoverableFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/DiscoverableFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.494.1. DiscoverableFooterPreferenceController Field属性列表
1.494.1.1. BroadcastReceiver mBluetoothChangedReceiver;
@VisibleForTesting
BroadcastReceiver mBluetoothChangedReceiver;
1.494.1.2. FooterPreferenceMixin mFooterPreferenceMixin;
private FooterPreferenceMixin mFooterPreferenceMixin;
1.494.1.3. FooterPreference mPreference;
private FooterPreference mPreference;
1.494.1.4. LocalBluetoothManager mLocalManager;
private LocalBluetoothManager mLocalManager;
1.494.1.5. LocalBluetoothAdapter mLocalAdapter;
private LocalBluetoothAdapter mLocalAdapter;
1.494.1.6. AlwaysDiscoverable mAlwaysDiscoverable;
private AlwaysDiscoverable mAlwaysDiscoverable;
1.494.1.7. static final String KEY
private static final String KEY = "discoverable_footer_preference";
1.494.2. DiscoverableFooterPreferenceControllerMethod方法列表
1.494.2.1. initReceiver()
private void initReceiver()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initReceiver", ""));
1.494.2.2. init(DashboardFragment fragment)
public void init(DashboardFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "DashboardFragment fragment"));
1.494.2.3. init(FooterPreferenceMixin footerPreferenceMixin,FooterPreference preference,AlwaysDiscoverable alwaysDiscoverable)
void init(FooterPreferenceMixin footerPreferenceMixin, FooterPreference preference, AlwaysDiscoverable alwaysDiscoverable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "FooterPreferenceMixin footerPreferenceMixin,FooterPreference preference,AlwaysDiscoverable alwaysDiscoverable"));
1.494.2.4. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.494.2.5. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.494.2.6. addFooterPreference(PreferenceScreen screen)
private void addFooterPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addFooterPreference", "PreferenceScreen screen"));
1.494.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.494.2.8. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.494.2.9. updateFooterPreferenceTitle(int bluetoothState)
private void updateFooterPreferenceTitle(int bluetoothState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFooterPreferenceTitle", "int bluetoothState"));
1.494.2.10. getPreferenceTitle()
private CharSequence getPreferenceTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPreferenceTitle", ""));
1.495. DisplaySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/DisplaySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.495.1. DisplaySettings Field属性列表
1.495.1.1. static final String TAG
private static final String TAG = "DisplaySettings";
1.495.1.2. static final String KEY_DISPLAY_SIZE
public static final String KEY_DISPLAY_SIZE = "display_settings_screen_zoom";
1.495.1.3. static final String KEY_SCREEN_TIMEOUT
private static final String KEY_SCREEN_TIMEOUT = "screen_timeout";
1.495.1.4. static final String KEY_AMBIENT_DISPLAY
private static final String KEY_AMBIENT_DISPLAY = "ambient_display";
1.495.1.5. static final String KEY_AUTO_BRIGHTNESS
private static final String KEY_AUTO_BRIGHTNESS = "auto_brightness_entry";
1.495.1.6. static final String KEY_NIGHT_DISPLAY
private static final String KEY_NIGHT_DISPLAY = "night_display";
1.495.1.7. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.display_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(KEY_DISPLAY_SIZE);
keys.add(WallpaperPreferenceController.KEY_WALLPAPER);
keys.add(KEY_NIGHT_DISPLAY);
keys.add(KEY_AUTO_BRIGHTNESS);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.495.2. DisplaySettingsMethod方法列表
1.495.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.495.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.495.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.495.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.495.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.495.2.6. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.496. DividerAllowedBelowPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/DividerAllowedBelowPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.496.1. DividerAllowedBelowPreference Field属性列表
1.496.2. DividerAllowedBelowPreferenceMethod方法列表
1.496.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.497. DndCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/DndCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.497.1. DndCondition Field属性列表
1.497.1.1. boolean mRegistered;
private boolean mRegistered;
1.497.1.2. ZenModeConfig mConfig;
@VisibleForTesting
protected ZenModeConfig mConfig;
1.497.1.3. int mZen;
private int mZen;
1.497.1.4. final Receiver mReceiver;
private final Receiver mReceiver;
1.497.1.5. static final String TAG
private static final String TAG = "DndCondition";
1.497.1.6. static final String KEY_STATE
private static final String KEY_STATE = "state";
1.497.1.7. static final IntentFilter DND_FILTER
@VisibleForTesting
static final IntentFilter DND_FILTER = new IntentFilter(NotificationManager.ACTION_INTERRUPTION_FILTER_CHANGED_INTERNAL);
1.497.2. DndConditionMethod方法列表
1.497.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.497.2.2. saveState(PersistableBundle bundle)
boolean saveState(PersistableBundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"saveState", "PersistableBundle bundle"));
1.497.2.3. restoreState(PersistableBundle bundle)
void restoreState(PersistableBundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreState", "PersistableBundle bundle"));
1.497.2.4. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.497.2.5. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.497.2.6. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.497.2.7. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.497.2.8. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.497.2.9. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.497.2.10. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.497.2.11. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.497.2.12. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.498. DndPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DndPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.498.1. DndPreferenceController Field属性列表
1.498.1.1. static final String KEY_BYPASS_DND
private static final String KEY_BYPASS_DND = "bypass_dnd";
1.498.2. DndPreferenceControllerMethod方法列表
1.498.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.498.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.498.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.498.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.499. DockAudioMediaPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DockAudioMediaPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.499.1. DockAudioMediaPreferenceController Field属性列表
1.499.1.1. static final String KEY_DOCK_AUDIO_MEDIA
private static final String KEY_DOCK_AUDIO_MEDIA = "dock_audio_media";
1.499.1.2. static final int DOCK_AUDIO_MEDIA_DISABLED
private static final int DOCK_AUDIO_MEDIA_DISABLED = 0;
1.499.1.3. static final int DOCK_AUDIO_MEDIA_ENABLED
private static final int DOCK_AUDIO_MEDIA_ENABLED = 1;
1.499.1.4. static final int DEFAULT_DOCK_AUDIO_MEDIA
private static final int DEFAULT_DOCK_AUDIO_MEDIA = DOCK_AUDIO_MEDIA_DISABLED;
1.499.2. DockAudioMediaPreferenceControllerMethod方法列表
1.500. DockingSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/DockingSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.500.1. DockingSoundPreferenceController Field属性列表
1.500.1.1. static final String KEY_DOCKING_SOUNDS
private static final String KEY_DOCKING_SOUNDS = "docking_sounds";
1.500.2. DockingSoundPreferenceControllerMethod方法列表
1.501. DockUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/dock/DockUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.502. DockUpdaterFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/overlay/DockUpdaterFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.503. DockUpdaterFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/dock/DockUpdaterFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.503.1. DockUpdaterFeatureProviderImpl Field属性列表
1.503.2. DockUpdaterFeatureProviderImplMethod方法列表
1.503.2.1. getConnectedDockUpdater(Context context,DevicePreferenceCallback devicePreferenceCallback)
public DockUpdater getConnectedDockUpdater(Context context, DevicePreferenceCallback devicePreferenceCallback)
methodList.add(new ZMethod(mZAndroidAPPClass,"DockUpdater" ,"getConnectedDockUpdater", "Context context,DevicePreferenceCallback devicePreferenceCallback"));
1.503.2.2. getSavedDockUpdater(Context context,DevicePreferenceCallback devicePreferenceCallback)
public DockUpdater getSavedDockUpdater(Context context, DevicePreferenceCallback devicePreferenceCallback)
methodList.add(new ZMethod(mZAndroidAPPClass,"DockUpdater" ,"getSavedDockUpdater", "Context context,DevicePreferenceCallback devicePreferenceCallback"));
1.504. DonutView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/DonutView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.504.1. DonutView Field属性列表
1.504.1.1. float mStrokeWidth;
private float mStrokeWidth;
1.504.1.2. double mPercent;
private double mPercent;
1.504.1.3. Paint mBackgroundCircle;
private Paint mBackgroundCircle;
1.504.1.4. Paint mFilledArc;
private Paint mFilledArc;
1.504.1.5. TextPaint mTextPaint;
private TextPaint mTextPaint;
1.504.1.6. TextPaint mBigNumberPaint;
private TextPaint mBigNumberPaint;
1.504.1.7. String mPercentString;
private String mPercentString;
1.504.1.8. String mFullString;
private String mFullString;
1.504.1.9. boolean mShowPercentString
private boolean mShowPercentString = true;
1.504.1.10. int mMeterBackgroundColor;
private int mMeterBackgroundColor;
1.504.1.11. int mMeterConsumedColor;
private int mMeterConsumedColor;
1.504.1.12. static final int TOP
private static final int TOP = -90;
1.504.1.13. static final int LINE_CHARACTER_LIMIT
// From manual testing, this is the longest we can go without visual errors.
private static final int LINE_CHARACTER_LIMIT = 10;
1.504.2. DonutViewMethod方法列表
1.504.2.1. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.504.2.2. drawDonut(Canvas canvas)
private void drawDonut(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawDonut", "Canvas canvas"));
1.504.2.3. drawInnerText(Canvas canvas)
private void drawInnerText(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawInnerText", "Canvas canvas"));
1.504.2.4. setPercentage(double percent)
public void setPercentage(double percent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPercentage", "double percent"));
1.504.2.5. getMeterBackgroundColor()
public int getMeterBackgroundColor()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMeterBackgroundColor", ""));
1.504.2.6. setMeterBackgroundColor(@ColorRes int meterBackgroundColor)
public void setMeterBackgroundColor(@ColorRes int meterBackgroundColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMeterBackgroundColor", "@ColorRes int meterBackgroundColor"));
1.504.2.7. getMeterConsumedColor()
public int getMeterConsumedColor()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMeterConsumedColor", ""));
1.504.2.8. setMeterConsumedColor(@ColorRes int meterConsumedColor)
public void setMeterConsumedColor(@ColorRes int meterConsumedColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMeterConsumedColor", "@ColorRes int meterConsumedColor"));
1.504.2.9. getTextHeight(TextPaint paint)
private float getTextHeight(TextPaint paint)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getTextHeight", "TextPaint paint"));
1.504.2.10. static getPercentageStringSpannable(Resources resources,String percentString,String percentageSignString)
static Spannable getPercentageStringSpannable(Resources resources, String percentString, String percentageSignString)
methodList.add(new ZMethod(mZAndroidAPPClass,"Spannable" ,"getPercentageStringSpannable", "Resources resources,String percentString,String percentageSignString"));
1.505. DotsPageIndicator.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/DotsPageIndicator.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.505.1. DotsPageIndicator Field属性列表
1.505.1.1. int dotDiameter;
// configurable attributes
private int dotDiameter;
1.505.1.2. int gap;
private int gap;
1.505.1.3. long animDuration;
private long animDuration;
1.505.1.4. int unselectedColour;
private int unselectedColour;
1.505.1.5. int selectedColour;
private int selectedColour;
1.505.1.6. float dotRadius;
// derived from attributes
private float dotRadius;
1.505.1.7. float halfDotRadius;
private float halfDotRadius;
1.505.1.8. long animHalfDuration;
private long animHalfDuration;
1.505.1.9. float dotTopY;
private float dotTopY;
1.505.1.10. float dotCenterY;
private float dotCenterY;
1.505.1.11. float dotBottomY;
private float dotBottomY;
1.505.1.12. ViewPager viewPager;
// ViewPager
private ViewPager viewPager;
1.505.1.13. ViewPager.OnPageChangeListener pageChangeListener;
private ViewPager.OnPageChangeListener pageChangeListener;
1.505.1.14. int pageCount;
// state
private int pageCount;
1.505.1.15. int currentPage;
private int currentPage;
1.505.1.16. float selectedDotX;
private float selectedDotX;
1.505.1.17. boolean selectedDotInPosition;
private boolean selectedDotInPosition;
1.505.1.18. float[] dotCenterX;
private float[] dotCenterX;
1.505.1.19. float[] joiningFractions;
private float[] joiningFractions;
1.505.1.20. float retreatingJoinX1;
private float retreatingJoinX1;
1.505.1.21. float retreatingJoinX2;
private float retreatingJoinX2;
1.505.1.22. float[] dotRevealFractions;
private float[] dotRevealFractions;
1.505.1.23. boolean attachedState;
private boolean attachedState;
1.505.1.24. ValueAnimator moveAnimation;
// animation
private ValueAnimator moveAnimation;
1.505.1.25. ValueAnimator[] joiningAnimations;
private ValueAnimator[] joiningAnimations;
1.505.1.26. AnimatorSet joiningAnimationSet;
private AnimatorSet joiningAnimationSet;
1.505.1.27. PendingRetreatAnimator retreatAnimation;
private PendingRetreatAnimator retreatAnimation;
1.505.1.28. PendingRevealAnimator[] revealAnimations;
private PendingRevealAnimator[] revealAnimations;
1.505.1.29. float endX1;
// working values for beziers
float endX1;
1.505.1.30. float endY1;
float endY1;
1.505.1.31. float endX2;
float endX2;
1.505.1.32. float endY2;
float endY2;
1.505.1.33. float controlX1;
float controlX1;
1.505.1.34. float controlY1;
float controlY1;
1.505.1.35. float controlX2;
float controlX2;
1.505.1.36. float controlY2;
float controlY2;
1.505.1.37. final Paint unselectedPaint;
// drawing
private final Paint unselectedPaint;
1.505.1.38. final Paint selectedPaint;
private final Paint selectedPaint;
1.505.1.39. final Path combinedUnselectedPath;
private final Path combinedUnselectedPath;
1.505.1.40. final Path unselectedDotPath;
private final Path unselectedDotPath;
1.505.1.41. final Path unselectedDotLeftPath;
private final Path unselectedDotLeftPath;
1.505.1.42. final Path unselectedDotRightPath;
private final Path unselectedDotRightPath;
1.505.1.43. final RectF rectF;
private final RectF rectF;
1.505.1.44. final Interpolator interpolator;
private final Interpolator interpolator;
1.505.1.45. static final String TAG
public static final String TAG = DotsPageIndicator.class.getSimpleName();
1.505.1.46. static final // dp private int DEFAULT_DOT_SIZE
// defaults
// dp
private static final int DEFAULT_DOT_SIZE = 8;
1.505.1.47. static final int DEFAULT_GAP
// dp
private static final int DEFAULT_GAP = 12;
1.505.1.48. static final int DEFAULT_ANIM_DURATION
// ms
private static final int DEFAULT_ANIM_DURATION = 400;
1.505.1.49. static final int DEFAULT_UNSELECTED_COLOUR
// 50% white
private static final int DEFAULT_UNSELECTED_COLOUR = 0x80ffffff;
1.505.1.50. static final int DEFAULT_SELECTED_COLOUR
// 100% white
private static final int DEFAULT_SELECTED_COLOUR = 0xffffffff;
1.505.1.51. static final float INVALID_FRACTION
// constants
private static final float INVALID_FRACTION = -1f;
1.505.1.52. static final float MINIMAL_REVEAL
private static final float MINIMAL_REVEAL = 0.00001f;
1.505.2. DotsPageIndicatorMethod方法列表
1.505.2.1. setViewPager(ViewPager viewPager)
public void setViewPager(ViewPager viewPager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setViewPager", "ViewPager viewPager"));
1.505.2.2. setOnPageChangeListener(ViewPager.OnPageChangeListener onPageChangeListener)
public void setOnPageChangeListener(ViewPager.OnPageChangeListener onPageChangeListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnPageChangeListener", "ViewPager.OnPageChangeListener onPageChangeListener"));
1.505.2.3. onPageScrolled(int position,float positionOffset,int positionOffsetPixels)
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPageScrolled", "int position,float positionOffset,int positionOffsetPixels"));
1.505.2.4. onPageSelected(int position)
public void onPageSelected(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPageSelected", "int position"));
1.505.2.5. onPageScrollStateChanged(int state)
public void onPageScrollStateChanged(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPageScrollStateChanged", "int state"));
1.505.2.6. setPageCount(int pages)
private void setPageCount(int pages)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPageCount", "int pages"));
1.505.2.7. calculateDotPositions()
private void calculateDotPositions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateDotPositions", ""));
1.505.2.8. setCurrentPageImmediate()
private void setCurrentPageImmediate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentPageImmediate", ""));
1.505.2.9. resetState()
private void resetState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetState", ""));
1.505.2.10. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.505.2.11. onSizeChanged(int width,int height,int oldWidth,int oldHeight)
protected void onSizeChanged(int width, int height, int oldWidth, int oldHeight)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSizeChanged", "int width,int height,int oldWidth,int oldHeight"));
1.505.2.12. clearAnimation()
public void clearAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearAnimation", ""));
1.505.2.13. getDesiredHeight()
private int getDesiredHeight()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDesiredHeight", ""));
1.505.2.14. getRequiredWidth()
private int getRequiredWidth()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRequiredWidth", ""));
1.505.2.15. getDesiredWidth()
private int getDesiredWidth()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDesiredWidth", ""));
1.505.2.16. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.505.2.17. drawUnselected(Canvas canvas)
private void drawUnselected(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawUnselected", "Canvas canvas"));
1.505.2.18. getUnselectedPath(int page,float centerX,float nextCenterX,float joiningFraction,float dotRevealFraction)
private Path getUnselectedPath(int page, float centerX, float nextCenterX, float joiningFraction, float dotRevealFraction)
methodList.add(new ZMethod(mZAndroidAPPClass,"Path" ,"getUnselectedPath", "int page,float centerX,float nextCenterX,float joiningFraction,float dotRevealFraction"));
1.505.2.19. getRetreatingJoinPath()
private Path getRetreatingJoinPath()
methodList.add(new ZMethod(mZAndroidAPPClass,"Path" ,"getRetreatingJoinPath", ""));
1.505.2.20. drawSelected(Canvas canvas)
private void drawSelected(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawSelected", "Canvas canvas"));
1.505.2.21. setSelectedPage(int now)
private void setSelectedPage(int now)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelectedPage", "int now"));
1.505.2.22. createMoveSelectedAnimator(final float moveTo,int was,int now,int steps)
private ValueAnimator createMoveSelectedAnimator(final float moveTo, int was, int now, int steps)
methodList.add(new ZMethod(mZAndroidAPPClass,"ValueAnimator" ,"createMoveSelectedAnimator", "final float moveTo,int was,int now,int steps"));
1.505.2.23. createJoiningAnimator(final int leftJoiningDot,final long startDelay)
private ValueAnimator createJoiningAnimator(final int leftJoiningDot, final long startDelay)
methodList.add(new ZMethod(mZAndroidAPPClass,"ValueAnimator" ,"createJoiningAnimator", "final int leftJoiningDot,final long startDelay"));
1.505.2.24. setJoiningFraction(int leftDot,float fraction)
private void setJoiningFraction(int leftDot, float fraction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setJoiningFraction", "int leftDot,float fraction"));
1.505.2.25. clearJoiningFractions()
private void clearJoiningFractions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearJoiningFractions", ""));
1.505.2.26. setDotRevealFraction(int dot,float fraction)
private void setDotRevealFraction(int dot, float fraction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDotRevealFraction", "int dot,float fraction"));
1.505.2.27. cancelRunningAnimations()
private void cancelRunningAnimations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelRunningAnimations", ""));
1.505.2.28. cancelMoveAnimation()
private void cancelMoveAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelMoveAnimation", ""));
1.505.2.29. startJoiningAnimations()
private void startJoiningAnimations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startJoiningAnimations", ""));
1.505.2.30. cancelJoiningAnimations()
private void cancelJoiningAnimations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelJoiningAnimations", ""));
1.505.2.31. cancelRetreatAnimation()
private void cancelRetreatAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelRetreatAnimation", ""));
1.505.2.32. cancelRevealAnimations()
private void cancelRevealAnimations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelRevealAnimations", ""));
1.505.2.33. getUnselectedColour()
int getUnselectedColour()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUnselectedColour", ""));
1.505.2.34. getSelectedColour()
int getSelectedColour()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSelectedColour", ""));
1.505.2.35. getDotCenterY()
float getDotCenterY()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getDotCenterY", ""));
1.505.2.36. getDotCenterX(int page)
float getDotCenterX(int page)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getDotCenterX", "int page"));
1.505.2.37. getSelectedDotX()
float getSelectedDotX()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getSelectedDotX", ""));
1.505.2.38. getCurrentPage()
int getCurrentPage()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentPage", ""));
1.506. DoubleTapPowerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTapPowerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.506.1. DoubleTapPowerPreferenceController Field属性列表
1.506.1.1. final String mDoubleTapPowerKey;
private final String mDoubleTapPowerKey;
1.506.1.2. final String SECURE_KEY
private final String SECURE_KEY = CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED;
1.506.1.3. static final int ON
@VisibleForTesting
static final int ON = 0;
1.506.1.4. static final int OFF
@VisibleForTesting
static final int OFF = 1;
1.506.1.5. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_double_tap_power_video";
1.506.2. DoubleTapPowerPreferenceControllerMethod方法列表
1.506.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.506.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.506.2.3. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.506.2.4. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.506.2.5. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.506.2.6. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.506.2.7. static isSuggestionComplete(Context context,SharedPreferences prefs)
public static boolean isSuggestionComplete(Context context, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,SharedPreferences prefs"));
1.506.2.8. static isGestureAvailable(Context context)
private static boolean isGestureAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isGestureAvailable", "Context context"));
1.507. DoubleTapPowerSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTapPowerSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.507.1. DoubleTapPowerSettings Field属性列表
1.507.1.1. static final String TAG
private static final String TAG = "DoubleTapPower";
1.507.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_double_tap_power_suggestion_complete";
1.507.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.double_tap_power_settings;
return Arrays.asList(sir);
}
};
1.507.2. DoubleTapPowerSettingsMethod方法列表
1.507.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.507.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.507.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.507.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.508. DoubleTapScreenPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTapScreenPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.508.1. DoubleTapScreenPreferenceController Field属性列表
1.508.1.1. AmbientDisplayConfiguration mAmbientConfig;
private AmbientDisplayConfiguration mAmbientConfig;
1.508.1.2. final int ON
private final int ON = 1;
1.508.1.3. final int OFF
private final int OFF = 0;
1.508.1.4. final String mDoubleTapScreenPrefKey;
private final String mDoubleTapScreenPrefKey;
1.508.1.5. final String SECURE_KEY
private final String SECURE_KEY = DOZE_PULSE_ON_DOUBLE_TAP;
1.508.1.6. final int mUserId;
@UserIdInt
private final int mUserId;
1.508.1.7. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_double_tap_screen_video";
1.508.2. DoubleTapScreenPreferenceControllerMethod方法列表
1.508.2.1. setConfig(AmbientDisplayConfiguration config)
public DoubleTapScreenPreferenceController setConfig(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"DoubleTapScreenPreferenceController" ,"setConfig", "AmbientDisplayConfiguration config"));
1.508.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.508.2.3. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.508.2.4. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.508.2.5. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.508.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.508.2.7. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.508.2.8. canHandleClicks()
protected boolean canHandleClicks()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canHandleClicks", ""));
1.508.2.9. static isSuggestionComplete(Context context,SharedPreferences prefs)
public static boolean isSuggestionComplete(Context context, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,SharedPreferences prefs"));
1.508.2.10. static isSuggestionComplete(AmbientDisplayConfiguration config,SharedPreferences prefs)
static boolean isSuggestionComplete(AmbientDisplayConfiguration config, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "AmbientDisplayConfiguration config,SharedPreferences prefs"));
1.509. DoubleTapScreenSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTapScreenSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.509.1. DoubleTapScreenSettings Field属性列表
1.509.1.1. static final String TAG
private static final String TAG = "DoubleTapScreen";
1.509.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_double_tap_screen_suggestion_complete";
1.509.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.double_tap_screen_settings;
return Arrays.asList(sir);
}
};
1.509.2. DoubleTapScreenSettingsMethod方法列表
1.509.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.509.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.509.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.509.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.509.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.510. DoubleTwistGestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTwistGestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.510.1. DoubleTwistGestureSettings Field属性列表
1.510.1.1. static final String TAG
private static final String TAG = "DoubleTwistGesture";
1.510.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_double_twist_suggestion_complete";
1.510.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.double_twist_gesture_settings;
return Arrays.asList(sir);
}
};
1.510.2. DoubleTwistGestureSettingsMethod方法列表
1.510.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.510.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.510.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.510.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.511. DoubleTwistPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/DoubleTwistPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.511.1. DoubleTwistPreferenceController Field属性列表
1.511.1.1. final int ON
private final int ON = 1;
1.511.1.2. final int OFF
private final int OFF = 0;
1.511.1.3. final String mDoubleTwistPrefKey;
private final String mDoubleTwistPrefKey;
1.511.1.4. final UserManager mUserManager;
private final UserManager mUserManager;
1.511.1.5. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_double_twist_video";
1.511.2. DoubleTwistPreferenceControllerMethod方法列表
1.511.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.511.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.511.2.3. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.511.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.511.2.5. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.511.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.511.2.7. static isSuggestionComplete(Context context,SharedPreferences prefs)
public static boolean isSuggestionComplete(Context context, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,SharedPreferences prefs"));
1.511.2.8. static isGestureAvailable(Context context)
public static boolean isGestureAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isGestureAvailable", "Context context"));
1.511.2.9. static setDoubleTwistPreference(Context context,UserManager userManager,int enabled)
public static void setDoubleTwistPreference(Context context, UserManager userManager, int enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDoubleTwistPreference", "Context context,UserManager userManager,int enabled"));
1.511.2.10. static getManagedProfileId(UserManager userManager)
public static int getManagedProfileId(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getManagedProfileId", "UserManager userManager"));
1.512. DrawOverlayDetailPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DrawOverlayDetailPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.512.1. DrawOverlayDetailPreferenceController Field属性列表
1.512.2. DrawOverlayDetailPreferenceControllerMethod方法列表
1.512.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.512.2.2. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.512.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.513. DrawOverlayDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/DrawOverlayDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.513.1. DrawOverlayDetails Field属性列表
1.513.1.1. // TODO: Break out this functionality into its own class. private AppStateOverlayBridge mOverlayBridge;
// Use a bridge to get the overlay details but don't initialize it to connect with all state.
// TODO: Break out this functionality into its own class.
private AppStateOverlayBridge mOverlayBridge;
1.513.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.513.1.3. SwitchPreference mSwitchPref;
private SwitchPreference mSwitchPref;
1.513.1.4. Intent mSettingsIntent;
private Intent mSettingsIntent;
1.513.1.5. OverlayState mOverlayState;
private OverlayState mOverlayState;
1.513.1.6. static final String KEY_APP_OPS_SETTINGS_SWITCH
private static final String KEY_APP_OPS_SETTINGS_SWITCH = "app_ops_settings_switch";
1.513.1.7. static final String LOG_TAG
private static final String LOG_TAG = "DrawOverlayDetails";
1.513.1.8. static final int[] APP_OPS_OP_CODE
private static final int[] APP_OPS_OP_CODE = { AppOpsManager.OP_SYSTEM_ALERT_WINDOW };
1.513.2. DrawOverlayDetailsMethod方法列表
1.513.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.513.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.513.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.513.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.513.2.5. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.513.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.513.2.7. setCanDrawOverlay(boolean newState)
private void setCanDrawOverlay(boolean newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCanDrawOverlay", "boolean newState"));
1.513.2.8. logSpecialPermissionChange(boolean newState,String packageName)
void logSpecialPermissionChange(boolean newState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean newState,String packageName"));
1.513.2.9. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.513.2.10. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.513.2.11. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.513.2.12. static getSummary(Context context,AppEntry entry)
public static CharSequence getSummary(Context context, AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,AppEntry entry"));
1.513.2.13. static getSummary(Context context,OverlayState overlayState)
public static CharSequence getSummary(Context context, OverlayState overlayState)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,OverlayState overlayState"));
1.514. DreamSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/DreamSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.514.1. DreamSettings Field属性列表
1.514.1.1. static final String TAG
private static final String TAG = "DreamSettings";
1.514.1.2. static final String WHILE_CHARGING_ONLY
static final String WHILE_CHARGING_ONLY = "while_charging_only";
1.514.1.3. static final String WHILE_DOCKED_ONLY
static final String WHILE_DOCKED_ONLY = "while_docked_only";
1.514.1.4. static final String EITHER_CHARGING_OR_DOCKED
static final String EITHER_CHARGING_OR_DOCKED = "either_charging_or_docked";
1.514.1.5. static final String NEVER_DREAM
static final String NEVER_DREAM = "never";
1.514.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.dream_fragment_overview;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.514.2. DreamSettingsMethod方法列表
1.514.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.514.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.514.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.514.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.514.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.514.2.6. static getSettingFromPrefKey(String key)
static int getSettingFromPrefKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSettingFromPrefKey", "String key"));
1.514.2.7. static getKeyFromSetting(@WhenToDream int dreamSetting)
static String getKeyFromSetting(@WhenToDream int dreamSetting)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeyFromSetting", "@WhenToDream int dreamSetting"));
1.514.2.8. static getDreamSettingDescriptionResId(@WhenToDream int dreamSetting)
static int getDreamSettingDescriptionResId(@WhenToDream int dreamSetting)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDreamSettingDescriptionResId", "@WhenToDream int dreamSetting"));
1.514.2.9. static getSummaryTextWithDreamName(Context context)
public static CharSequence getSummaryTextWithDreamName(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummaryTextWithDreamName", "Context context"));
1.514.2.10. static getSummaryTextFromBackend(DreamBackend backend,Context context)
static CharSequence getSummaryTextFromBackend(DreamBackend backend, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummaryTextFromBackend", "DreamBackend backend,Context context"));
1.514.2.11. static buildPreferenceControllers(Context context)
private static List buildPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context"));
1.515. EarlyWarningDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/EarlyWarningDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.515.1. EarlyWarningDetector Field属性列表
1.515.1.1. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.515.1.2. PowerManager mPowerManager;
private PowerManager mPowerManager;
1.515.1.3. Context mContext;
private Context mContext;
1.515.1.4. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.515.2. EarlyWarningDetectorMethod方法列表
1.515.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.516. EarlyWarningTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/EarlyWarningTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.516.1. EarlyWarningTip Field属性列表
1.516.1.1. boolean mPowerSaveModeOn;
private boolean mPowerSaveModeOn;
1.516.1.2. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new EarlyWarningTip(in);
}
public BatteryTip[] newArray(int size) {
return new EarlyWarningTip[size];
}
};
1.516.2. EarlyWarningTipMethod方法列表
1.516.2.1. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.516.2.2. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.516.2.3. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.516.2.4. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.516.2.5. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.516.2.6. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.516.2.7. isPowerSaveModeOn()
public boolean isPowerSaveModeOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPowerSaveModeOn", ""));
1.517. EdgeTypePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/EdgeTypePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.517.1. EdgeTypePreference Field属性列表
1.517.1.1. static final int DEFAULT_FOREGROUND_COLOR
private static final int DEFAULT_FOREGROUND_COLOR = Color.WHITE;
1.517.1.2. static final int DEFAULT_BACKGROUND_COLOR
private static final int DEFAULT_BACKGROUND_COLOR = Color.TRANSPARENT;
1.517.1.3. static final int DEFAULT_EDGE_COLOR
private static final int DEFAULT_EDGE_COLOR = Color.BLACK;
1.517.1.4. static final float DEFAULT_FONT_SIZE
private static final float DEFAULT_FONT_SIZE = 32f;
1.517.2. EdgeTypePreferenceMethod方法列表
1.517.2.1. shouldDisableDependents()
public boolean shouldDisableDependents()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldDisableDependents", ""));
1.517.2.2. onBindListItem(View view,int index)
protected void onBindListItem(View view, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindListItem", "View view,int index"));
1.518. EditPinPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/EditPinPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.518.1. EditPinPreference Field属性列表
1.518.1.1. OnPinEnteredListener mPinListener;
private OnPinEnteredListener mPinListener;
1.518.2. EditPinPreferenceMethod方法列表
1.518.2.1. setOnPinEnteredListener(OnPinEnteredListener listener)
public void setOnPinEnteredListener(OnPinEnteredListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnPinEnteredListener", "OnPinEnteredListener listener"));
1.518.2.2. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.518.2.3. isDialogOpen()
public boolean isDialogOpen()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDialogOpen", ""));
1.518.2.4. onDialogClosed(boolean positiveResult)
protected void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.518.2.5. showPinDialog()
public void showPinDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPinDialog", ""));
1.519. EditUserInfoController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/EditUserInfoController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.519.1. EditUserInfoController Field属性列表
1.519.1.1. Dialog mEditUserInfoDialog;
private Dialog mEditUserInfoDialog;
1.519.1.2. Bitmap mSavedPhoto;
private Bitmap mSavedPhoto;
1.519.1.3. EditUserPhotoController mEditUserPhotoController;
private EditUserPhotoController mEditUserPhotoController;
1.519.1.4. UserHandle mUser;
private UserHandle mUser;
1.519.1.5. UserManager mUserManager;
private UserManager mUserManager;
1.519.1.6. boolean mWaitingForActivityResult
private boolean mWaitingForActivityResult = false;
1.519.1.7. static final String KEY_AWAITING_RESULT
private static final String KEY_AWAITING_RESULT = "awaiting_result";
1.519.1.8. static final String KEY_SAVED_PHOTO
private static final String KEY_SAVED_PHOTO = "pending_photo";
1.519.2. EditUserInfoControllerMethod方法列表
1.519.2.1. clear()
public void clear()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clear", ""));
1.519.2.2. getDialog()
public Dialog getDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"getDialog", ""));
1.519.2.3. onRestoreInstanceState(Bundle icicle)
public void onRestoreInstanceState(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle icicle"));
1.519.2.4. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.519.2.5. startingActivityForResult()
public void startingActivityForResult()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startingActivityForResult", ""));
1.519.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.519.2.7. createDialog(final Fragment fragment,final Drawable currentUserIcon,final CharSequence currentUserName,int titleResId,final OnContentChangedCallback callback,UserHandle user)
public Dialog createDialog(final Fragment fragment, final Drawable currentUserIcon, final CharSequence currentUserName, int titleResId, final OnContentChangedCallback callback, UserHandle user)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createDialog", "final Fragment fragment,final Drawable currentUserIcon,final CharSequence currentUserName,int titleResId,final OnContentChangedCallback callback,UserHandle user"));
1.520. EditUserPhotoController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/EditUserPhotoController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.520.1. EditUserPhotoController Field属性列表
1.520.1.1. Bitmap mNewUserPhotoBitmap;
private Bitmap mNewUserPhotoBitmap;
1.520.1.2. Drawable mNewUserPhotoDrawable;
private Drawable mNewUserPhotoDrawable;
1.520.1.3. final int mPhotoSize;
private final int mPhotoSize;
1.520.1.4. final Context mContext;
private final Context mContext;
1.520.1.5. final Fragment mFragment;
private final Fragment mFragment;
1.520.1.6. final ImageView mImageView;
private final ImageView mImageView;
1.520.1.7. final Uri mCropPictureUri;
private final Uri mCropPictureUri;
1.520.1.8. final Uri mTakePictureUri;
private final Uri mTakePictureUri;
1.520.1.9. static final String TAG
private static final String TAG = "EditUserPhotoController";
1.520.1.10. static final // collide with ours, these values are very unlikely to have a conflict. private int REQUEST_CODE_CHOOSE_PHOTO
// It seems that this class generates custom request codes and they may
// collide with ours, these values are very unlikely to have a conflict.
private static final int REQUEST_CODE_CHOOSE_PHOTO = 1001;
1.520.1.11. static final int REQUEST_CODE_TAKE_PHOTO
private static final int REQUEST_CODE_TAKE_PHOTO = 1002;
1.520.1.12. static final int REQUEST_CODE_CROP_PHOTO
private static final int REQUEST_CODE_CROP_PHOTO = 1003;
1.520.1.13. static final String CROP_PICTURE_FILE_NAME
private static final String CROP_PICTURE_FILE_NAME = "CropEditUserPhoto.jpg";
1.520.1.14. static final String TAKE_PICTURE_FILE_NAME
private static final String TAKE_PICTURE_FILE_NAME = "TakeEditUserPhoto2.jpg";
1.520.1.15. static final String NEW_USER_PHOTO_FILE_NAME
private static final String NEW_USER_PHOTO_FILE_NAME = "NewUserPhoto.png";
1.520.2. EditUserPhotoControllerMethod方法列表
1.520.2.1. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.520.2.2. getNewUserPhotoBitmap()
public Bitmap getNewUserPhotoBitmap()
methodList.add(new ZMethod(mZAndroidAPPClass,"Bitmap" ,"getNewUserPhotoBitmap", ""));
1.520.2.3. getNewUserPhotoDrawable()
public Drawable getNewUserPhotoDrawable()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getNewUserPhotoDrawable", ""));
1.520.2.4. showUpdatePhotoPopup()
private void showUpdatePhotoPopup()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showUpdatePhotoPopup", ""));
1.520.2.5. canTakePhoto()
private boolean canTakePhoto()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canTakePhoto", ""));
1.520.2.6. canChoosePhoto()
private boolean canChoosePhoto()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canChoosePhoto", ""));
1.520.2.7. takePhoto()
private void takePhoto()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"takePhoto", ""));
1.520.2.8. choosePhoto()
private void choosePhoto()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"choosePhoto", ""));
1.520.2.9. copyAndCropPhoto(final Uri pictureUri)
private void copyAndCropPhoto(final Uri pictureUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyAndCropPhoto", "final Uri pictureUri"));
1.520.2.10. cropPhoto()
private void cropPhoto()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cropPhoto", ""));
1.520.2.11. appendOutputExtra(Intent intent,Uri pictureUri)
private void appendOutputExtra(Intent intent, Uri pictureUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"appendOutputExtra", "Intent intent,Uri pictureUri"));
1.520.2.12. appendCropExtras(Intent intent)
private void appendCropExtras(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"appendCropExtras", "Intent intent"));
1.520.2.13. onPhotoCropped(final Uri data,final boolean cropped)
private void onPhotoCropped(final Uri data, final boolean cropped)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPhotoCropped", "final Uri data,final boolean cropped"));
1.520.2.14. createTempImageUri(Context context,String fileName,boolean purge)
private Uri createTempImageUri(Context context, String fileName, boolean purge)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"createTempImageUri", "Context context,String fileName,boolean purge"));
1.520.2.15. saveNewUserPhotoBitmap()
File saveNewUserPhotoBitmap()
methodList.add(new ZMethod(mZAndroidAPPClass,"File" ,"saveNewUserPhotoBitmap", ""));
1.520.2.16. removeNewUserPhotoBitmapFile()
void removeNewUserPhotoBitmapFile()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeNewUserPhotoBitmapFile", ""));
1.520.2.17. static getPhotoSize(Context context)
private static int getPhotoSize(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPhotoSize", "Context context"));
1.520.2.18. static loadNewUserPhotoBitmap(File file)
static Bitmap loadNewUserPhotoBitmap(File file)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bitmap" ,"loadNewUserPhotoBitmap", "File file"));
1.521. EmergencyBroadcastPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/EmergencyBroadcastPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.521.1. EmergencyBroadcastPreferenceController Field属性列表
1.521.1.1. AccountRestrictionHelper mHelper;
private AccountRestrictionHelper mHelper;
1.521.1.2. UserManager mUserManager;
private UserManager mUserManager;
1.521.1.3. PackageManager mPm;
private PackageManager mPm;
1.521.1.4. final String mPrefKey;
private final String mPrefKey;
1.521.2. EmergencyBroadcastPreferenceControllerMethod方法列表
1.521.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.521.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.521.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.521.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.521.2.5. isCellBroadcastAppLinkEnabled()
private boolean isCellBroadcastAppLinkEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCellBroadcastAppLinkEnabled", ""));
1.522. EmergencyInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/EmergencyInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.522.1. EmergencyInfoPreferenceController Field属性列表
1.522.1.1. static final String KEY_EMERGENCY_INFO
private static final String KEY_EMERGENCY_INFO = "emergency_info";
1.522.1.2. static final String ACTION_EDIT_EMERGENCY_INFO
private static final String ACTION_EDIT_EMERGENCY_INFO = "android.settings.EDIT_EMERGENCY_INFO";
1.522.1.3. static final String PACKAGE_NAME_EMERGENCY
private static final String PACKAGE_NAME_EMERGENCY = "com.android.emergency";
1.522.2. EmergencyInfoPreferenceControllerMethod方法列表
1.522.2.1. updateRawDataToIndex(List rawData)
public void updateRawDataToIndex(List rawData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRawDataToIndex", "List rawData"));
1.522.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.522.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.522.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.522.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.523. EmergencyTonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/EmergencyTonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.523.1. EmergencyTonePreferenceController Field属性列表
1.523.1.1. static final String KEY_EMERGENCY_TONE
private static final String KEY_EMERGENCY_TONE = "emergency_tone";
1.523.1.2. static final int EMERGENCY_TONE_SILENT
private static final int EMERGENCY_TONE_SILENT = 0;
1.523.1.3. static final int EMERGENCY_TONE_ALERT
private static final int EMERGENCY_TONE_ALERT = 1;
1.523.1.4. static final int EMERGENCY_TONE_VIBRATE
private static final int EMERGENCY_TONE_VIBRATE = 2;
1.523.1.5. static final int DEFAULT_EMERGENCY_TONE
private static final int DEFAULT_EMERGENCY_TONE = EMERGENCY_TONE_SILENT;
1.523.2. EmergencyTonePreferenceControllerMethod方法列表
1.524. EmptyTextSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/EmptyTextSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.524.1. EmptyTextSettings Field属性列表
1.524.1.1. TextView mEmpty;
private TextView mEmpty;
1.524.2. EmptyTextSettingsMethod方法列表
1.524.2.1. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.524.2.2. setEmptyText(int text)
protected void setEmptyText(int text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEmptyText", "int text"));
1.525. EmulateDisplayCutoutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EmulateDisplayCutoutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.525.1. EmulateDisplayCutoutPreferenceController Field属性列表
1.525.1.1. ListPreference mPreference;
private ListPreference mPreference;
1.525.1.2. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.525.1.3. final OverlayManagerWrapper mOverlayManager;
private final OverlayManagerWrapper mOverlayManager;
1.525.1.4. final boolean mAvailable;
private final boolean mAvailable;
1.525.1.5. static final String KEY
private static final String KEY = "display_cutout_emulation";
1.525.1.6. static final Comparator OVERLAY_INFO_COMPARATOR
private static final Comparator OVERLAY_INFO_COMPARATOR = Comparator.comparingInt(a -> a.priority);
1.525.2. EmulateDisplayCutoutPreferenceControllerMethod方法列表
1.525.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.525.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.525.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.525.2.4. setPreference(ListPreference preference)
void setPreference(ListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreference", "ListPreference preference"));
1.525.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.525.2.6. setEmulationOverlay(String packageName)
private boolean setEmulationOverlay(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEmulationOverlay", "String packageName"));
1.525.2.7. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.525.2.8. getOverlayInfos()
private OverlayInfo[] getOverlayInfos()
methodList.add(new ZMethod(mZAndroidAPPClass,"OverlayInfo[]" ,"getOverlayInfos", ""));
1.525.2.9. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.526. EnableAdbWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EnableAdbWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.526.1. EnableAdbWarningDialog Field属性列表
1.526.1.1. static final String TAG
public static final String TAG = "EnableAdbDialog";
1.526.2. EnableAdbWarningDialogMethod方法列表
1.526.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.526.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.526.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.526.2.4. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.526.2.5. static show(Fragment host)
public static void show(Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host"));
1.527. EnableDevelopmentSettingWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EnableDevelopmentSettingWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.527.1. EnableDevelopmentSettingWarningDialog Field属性列表
1.527.1.1. static final String TAG
public static final String TAG = "EnableDevSettingDlg";
1.527.2. EnableDevelopmentSettingWarningDialogMethod方法列表
1.527.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.527.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.527.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.527.2.4. static show(DevelopmentSettingsDashboardFragment host)
public static void show(DevelopmentSettingsDashboardFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "DevelopmentSettingsDashboardFragment host"));
1.528. EnabledVrListenersController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/EnabledVrListenersController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.528.1. EnabledVrListenersController Field属性列表
1.528.1.1. static final String KEY_ENABLED_VR_LISTENERS
@VisibleForTesting
static final String KEY_ENABLED_VR_LISTENERS = "enabled_vr_listeners";
1.528.2. EnabledVrListenersControllerMethod方法列表
1.528.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.529. EnableGnssRawMeasFullTrackingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EnableGnssRawMeasFullTrackingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.529.1. EnableGnssRawMeasFullTrackingPreferenceController Field属性列表
1.529.1.1. static final String ENABLE_GNSS_RAW_MEAS_FULL_TRACKING_KEY
private static final String ENABLE_GNSS_RAW_MEAS_FULL_TRACKING_KEY = "enable_gnss_raw_meas_full_tracking";
1.529.1.2. static final int SETTING_VALUE_ON
static final int SETTING_VALUE_ON = 1;
1.529.1.3. static final int SETTING_VALUE_OFF
static final int SETTING_VALUE_OFF = 0;
1.529.2. EnableGnssRawMeasFullTrackingPreferenceControllerMethod方法列表
1.529.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.529.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.529.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.529.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.530. EnableGpuDebugLayersPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EnableGpuDebugLayersPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.530.1. EnableGpuDebugLayersPreferenceController Field属性列表
1.530.1.1. static final String ENABLE_GPU_DEBUG_LAYERS_KEY
private static final String ENABLE_GPU_DEBUG_LAYERS_KEY = "enable_gpu_debug_layers";
1.530.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.530.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.530.2. EnableGpuDebugLayersPreferenceControllerMethod方法列表
1.530.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.530.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.530.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.530.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.531. EnableOemUnlockSettingWarningDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/EnableOemUnlockSettingWarningDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.531.1. EnableOemUnlockSettingWarningDialog Field属性列表
1.531.1.1. static final String TAG
public static final String TAG = "EnableOemUnlockDlg";
1.531.2. EnableOemUnlockSettingWarningDialogMethod方法列表
1.531.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.531.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.531.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.531.2.4. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.531.2.5. static show(Fragment host)
public static void show(Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host"));
1.532. EncryptionAndCredential.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/EncryptionAndCredential.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.532.1. EncryptionAndCredential Field属性列表
1.532.1.1. static final String TAG
private static final String TAG = "EncryptionAndCredential";
1.532.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search. Please keep it in sync when updating "createPreferenceHierarchy()"
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new SecuritySearchIndexProvider();
1.532.2. EncryptionAndCredentialMethod方法列表
1.532.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.532.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.532.2.3. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.532.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.532.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.532.2.6. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.533. EncryptionInterstitial.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/EncryptionInterstitial.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.533.1. EncryptionInterstitial Field属性列表
1.533.1.1. static final String TAG
private static final String TAG = EncryptionInterstitial.class.getSimpleName();
1.533.1.2. static final String EXTRA_PASSWORD_QUALITY
protected static final String EXTRA_PASSWORD_QUALITY = "extra_password_quality";
1.533.1.3. static final String EXTRA_UNLOCK_METHOD_INTENT
protected static final String EXTRA_UNLOCK_METHOD_INTENT = "extra_unlock_method_intent";
1.533.1.4. static final String EXTRA_REQUIRE_PASSWORD
public static final String EXTRA_REQUIRE_PASSWORD = "extra_require_password";
1.533.1.5. static final int CHOOSE_LOCK_REQUEST
private static final int CHOOSE_LOCK_REQUEST = 100;
1.533.2. EncryptionInterstitialMethod方法列表
1.533.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.533.2.2. onApplyThemeResource(Resources.Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Resources.Theme theme,int resid,boolean first"));
1.533.2.3. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.533.2.4. onCreate(Bundle savedInstance)
protected void onCreate(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstance"));
1.533.2.5. static createStartIntent(Context ctx,int quality,boolean requirePasswordDefault,Intent unlockMethodIntent)
public static Intent createStartIntent(Context ctx, int quality, boolean requirePasswordDefault, Intent unlockMethodIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createStartIntent", "Context ctx,int quality,boolean requirePasswordDefault,Intent unlockMethodIntent"));
1.534. EncryptionStatusPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/EncryptionStatusPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.534.1. EncryptionStatusPreferenceController Field属性列表
1.534.1.1. final UserManager mUserManager;
private final UserManager mUserManager;
1.534.1.2. static final String PREF_KEY_ENCRYPTION_DETAIL_PAGE
static final String PREF_KEY_ENCRYPTION_DETAIL_PAGE = "encryption_and_credentials_encryption_status";
1.534.1.3. static final String PREF_KEY_ENCRYPTION_SECURITY_PAGE
static final String PREF_KEY_ENCRYPTION_SECURITY_PAGE = "encryption_and_credential";
1.534.2. EncryptionStatusPreferenceControllerMethod方法列表
1.534.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.534.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.535. EnterpriseDefaultApps.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/EnterpriseDefaultApps.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.536. EnterpriseInstalledPackagesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterpriseInstalledPackagesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.536.1. EnterpriseInstalledPackagesPreferenceController Field属性列表
1.536.1.1. final ApplicationFeatureProvider mFeatureProvider;
private final ApplicationFeatureProvider mFeatureProvider;
1.536.1.2. final boolean mAsync;
private final boolean mAsync;
1.536.1.3. static final String KEY_NUMBER_ENTERPRISE_INSTALLED_PACKAGES
private static final String KEY_NUMBER_ENTERPRISE_INSTALLED_PACKAGES = "number_enterprise_installed_packages";
1.536.2. EnterpriseInstalledPackagesPreferenceControllerMethod方法列表
1.536.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.536.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.536.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.537. EnterprisePrivacyFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.538. EnterprisePrivacyFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacyFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.538.1. EnterprisePrivacyFeatureProviderImpl Field属性列表
1.538.1.1. final Context mContext;
private final Context mContext;
1.538.1.2. final DevicePolicyManager mDpm;
private final DevicePolicyManager mDpm;
1.538.1.3. final PackageManagerWrapper mPm;
private final PackageManagerWrapper mPm;
1.538.1.4. final UserManager mUm;
private final UserManager mUm;
1.538.1.5. final ConnectivityManager mCm;
private final ConnectivityManager mCm;
1.538.1.6. final Resources mResources;
private final Resources mResources;
1.538.1.7. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.538.2. EnterprisePrivacyFeatureProviderImplMethod方法列表
1.538.2.1. hasDeviceOwner()
public boolean hasDeviceOwner()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasDeviceOwner", ""));
1.538.2.2. getManagedProfileUserId()
private int getManagedProfileUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getManagedProfileUserId", ""));
1.538.2.3. isInCompMode()
public boolean isInCompMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInCompMode", ""));
1.538.2.4. getDeviceOwnerOrganizationName()
public String getDeviceOwnerOrganizationName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceOwnerOrganizationName", ""));
1.538.2.5. getDeviceOwnerDisclosure()
public CharSequence getDeviceOwnerDisclosure()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDeviceOwnerDisclosure", ""));
1.538.2.6. getLastSecurityLogRetrievalTime()
public Date getLastSecurityLogRetrievalTime()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getLastSecurityLogRetrievalTime", ""));
1.538.2.7. getLastBugReportRequestTime()
public Date getLastBugReportRequestTime()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getLastBugReportRequestTime", ""));
1.538.2.8. getLastNetworkLogRetrievalTime()
public Date getLastNetworkLogRetrievalTime()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getLastNetworkLogRetrievalTime", ""));
1.538.2.9. isSecurityLoggingEnabled()
public boolean isSecurityLoggingEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSecurityLoggingEnabled", ""));
1.538.2.10. isNetworkLoggingEnabled()
public boolean isNetworkLoggingEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNetworkLoggingEnabled", ""));
1.538.2.11. isAlwaysOnVpnSetInCurrentUser()
public boolean isAlwaysOnVpnSetInCurrentUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAlwaysOnVpnSetInCurrentUser", ""));
1.538.2.12. isAlwaysOnVpnSetInManagedProfile()
public boolean isAlwaysOnVpnSetInManagedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAlwaysOnVpnSetInManagedProfile", ""));
1.538.2.13. isGlobalHttpProxySet()
public boolean isGlobalHttpProxySet()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isGlobalHttpProxySet", ""));
1.538.2.14. getMaximumFailedPasswordsBeforeWipeInCurrentUser()
public int getMaximumFailedPasswordsBeforeWipeInCurrentUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaximumFailedPasswordsBeforeWipeInCurrentUser", ""));
1.538.2.15. getMaximumFailedPasswordsBeforeWipeInManagedProfile()
public int getMaximumFailedPasswordsBeforeWipeInManagedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaximumFailedPasswordsBeforeWipeInManagedProfile", ""));
1.538.2.16. getImeLabelIfOwnerSet()
public String getImeLabelIfOwnerSet()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getImeLabelIfOwnerSet", ""));
1.538.2.17. getNumberOfOwnerInstalledCaCertsForCurrentUser()
public int getNumberOfOwnerInstalledCaCertsForCurrentUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfOwnerInstalledCaCertsForCurrentUser", ""));
1.538.2.18. getNumberOfOwnerInstalledCaCertsForManagedProfile()
public int getNumberOfOwnerInstalledCaCertsForManagedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfOwnerInstalledCaCertsForManagedProfile", ""));
1.538.2.19. getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
public int getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfActiveDeviceAdminsForCurrentUserAndManagedProfile", ""));
1.538.2.20. areBackupsMandatory()
public boolean areBackupsMandatory()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areBackupsMandatory", ""));
1.539. EnterprisePrivacyPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacyPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.539.1. EnterprisePrivacyPreferenceController Field属性列表
1.539.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.539.1.2. static final String KEY_ENTERPRISE_PRIVACY
private static final String KEY_ENTERPRISE_PRIVACY = "enterprise_privacy";
1.539.2. EnterprisePrivacyPreferenceControllerMethod方法列表
1.539.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.539.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.539.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.540. EnterprisePrivacySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterprisePrivacySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.540.1. EnterprisePrivacySettings Field属性列表
1.540.1.1. static final String TAG
static final String TAG = "EnterprisePrivacySettings";
1.540.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
protected boolean isPageSearchEnabled(Context context) {
return isPageEnabled(context);
}
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.enterprise_privacy_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, false);
}
};
1.540.2. EnterprisePrivacySettingsMethod方法列表
1.540.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.540.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.540.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.540.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.540.2.5. static buildPreferenceControllers(Context context,boolean async)
private static List buildPreferenceControllers(Context context, boolean async)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,boolean async"));
1.540.2.6. static isPageEnabled(Context context)
public static boolean isPageEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPageEnabled", "Context context"));
1.541. EnterpriseSetDefaultAppsListFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterpriseSetDefaultAppsListFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.541.1. EnterpriseSetDefaultAppsListFragment Field属性列表
1.541.1.1. static final String TAG
static final String TAG = "EnterprisePrivacySettings";
1.541.2. EnterpriseSetDefaultAppsListFragmentMethod方法列表
1.541.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.541.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.541.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.541.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.542. EnterpriseSetDefaultAppsListPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterpriseSetDefaultAppsListPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.542.1. EnterpriseSetDefaultAppsListPreferenceController Field属性列表
1.542.1.1. List mUsers
private List mUsers = Collections.emptyList();
1.542.1.2. List>> mApps
private List>> mApps = Collections.emptyList();
1.542.1.3. final PackageManager mPm;
private final PackageManager mPm;
1.542.1.4. final SettingsPreferenceFragment mParent;
private final SettingsPreferenceFragment mParent;
1.542.1.5. final ApplicationFeatureProvider mApplicationFeatureProvider;
private final ApplicationFeatureProvider mApplicationFeatureProvider;
1.542.1.6. final EnterprisePrivacyFeatureProvider mEnterprisePrivacyFeatureProvider;
private final EnterprisePrivacyFeatureProvider mEnterprisePrivacyFeatureProvider;
1.542.1.7. final UserFeatureProvider mUserFeatureProvider;
private final UserFeatureProvider mUserFeatureProvider;
1.542.2. EnterpriseSetDefaultAppsListPreferenceControllerMethod方法列表
1.542.2.1. buildAppList()
private void buildAppList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildAppList", ""));
1.542.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.542.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.542.2.4. updateUi()
private void updateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", ""));
1.542.2.5. createPreferences(Context prefContext,PreferenceGroup group,EnumMap> apps)
private void createPreferences(Context prefContext, PreferenceGroup group, EnumMap> apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createPreferences", "Context prefContext,PreferenceGroup group,EnumMap> apps"));
1.542.2.6. buildSummaryString(Context context,List apps)
private CharSequence buildSummaryString(Context context, List apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"buildSummaryString", "Context context,List apps"));
1.542.2.7. getTitle(Context context,EnterpriseDefaultApps typeOfDefault,int appCount)
private String getTitle(Context context, EnterpriseDefaultApps typeOfDefault, int appCount)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTitle", "Context context,EnterpriseDefaultApps typeOfDefault,int appCount"));
1.543. EnterpriseSetDefaultAppsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/EnterpriseSetDefaultAppsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.543.1. EnterpriseSetDefaultAppsPreferenceController Field属性列表
1.543.1.1. final ApplicationFeatureProvider mApplicationFeatureProvider;
private final ApplicationFeatureProvider mApplicationFeatureProvider;
1.543.1.2. final UserFeatureProvider mUserFeatureProvider;
private final UserFeatureProvider mUserFeatureProvider;
1.543.1.3. static final String KEY_DEFAULT_APPS
private static final String KEY_DEFAULT_APPS = "number_enterprise_set_default_apps";
1.543.2. EnterpriseSetDefaultAppsPreferenceControllerMethod方法列表
1.543.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.543.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.543.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.543.2.4. getNumberOfEnterpriseSetDefaultApps()
private int getNumberOfEnterpriseSetDefaultApps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNumberOfEnterpriseSetDefaultApps", ""));
1.544. EntityHeaderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/EntityHeaderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.544.1. EntityHeaderController Field属性列表
1.544.1.1. Lifecycle mLifecycle;
private Lifecycle mLifecycle;
1.544.1.2. RecyclerView mRecyclerView;
private RecyclerView mRecyclerView;
1.544.1.3. Drawable mIcon;
private Drawable mIcon;
1.544.1.4. String mIconContentDescription;
private String mIconContentDescription;
1.544.1.5. CharSequence mLabel;
private CharSequence mLabel;
1.544.1.6. CharSequence mSummary;
private CharSequence mSummary;
1.544.1.7. CharSequence mSecondSummary;
// Required for hearing aid devices.
private CharSequence mSecondSummary;
1.544.1.8. String mPackageName;
private String mPackageName;
1.544.1.9. Intent mAppNotifPrefIntent;
private Intent mAppNotifPrefIntent;
1.544.1.10. int mUid
@UserIdInt
private int mUid = UserHandle.USER_NULL;
1.544.1.11. int mAction1;
@ActionType
private int mAction1;
1.544.1.12. int mAction2;
@ActionType
private int mAction2;
1.544.1.13. boolean mHasAppInfoLink;
private boolean mHasAppInfoLink;
1.544.1.14. boolean mIsInstantApp;
private boolean mIsInstantApp;
1.544.1.15. View.OnClickListener mEditRuleNameOnClickListener;
private View.OnClickListener mEditRuleNameOnClickListener;
1.544.1.16. final Context mAppContext;
private final Context mAppContext;
1.544.1.17. final Activity mActivity;
private final Activity mActivity;
1.544.1.18. final Fragment mFragment;
private final Fragment mFragment;
1.544.1.19. final int mMetricsCategory;
private final int mMetricsCategory;
1.544.1.20. final View mHeader;
private final View mHeader;
1.544.1.21. static final String PREF_KEY_APP_HEADER
public static final String PREF_KEY_APP_HEADER = "pref_app_header";
1.544.1.22. static final String TAG
private static final String TAG = "AppDetailFeature";
1.544.2. EntityHeaderControllerMethod方法列表
1.544.2.1. setRecyclerView(RecyclerView recyclerView,Lifecycle lifecycle)
public EntityHeaderController setRecyclerView(RecyclerView recyclerView, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setRecyclerView", "RecyclerView recyclerView,Lifecycle lifecycle"));
1.544.2.2. setIcon(Drawable icon)
public EntityHeaderController setIcon(Drawable icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setIcon", "Drawable icon"));
1.544.2.3. setIcon(ApplicationsState.AppEntry appEntry)
public EntityHeaderController setIcon(ApplicationsState.AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setIcon", "ApplicationsState.AppEntry appEntry"));
1.544.2.4. setIconContentDescription(String contentDescription)
public EntityHeaderController setIconContentDescription(String contentDescription)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setIconContentDescription", "String contentDescription"));
1.544.2.5. setLabel(CharSequence label)
public EntityHeaderController setLabel(CharSequence label)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setLabel", "CharSequence label"));
1.544.2.6. setLabel(ApplicationsState.AppEntry appEntry)
public EntityHeaderController setLabel(ApplicationsState.AppEntry appEntry)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setLabel", "ApplicationsState.AppEntry appEntry"));
1.544.2.7. setSummary(CharSequence summary)
public EntityHeaderController setSummary(CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setSummary", "CharSequence summary"));
1.544.2.8. setSummary(PackageInfo packageInfo)
public EntityHeaderController setSummary(PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setSummary", "PackageInfo packageInfo"));
1.544.2.9. setSecondSummary(CharSequence summary)
public EntityHeaderController setSecondSummary(CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setSecondSummary", "CharSequence summary"));
1.544.2.10. setSecondSummary(PackageInfo packageInfo)
public EntityHeaderController setSecondSummary(PackageInfo packageInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setSecondSummary", "PackageInfo packageInfo"));
1.544.2.11. setHasAppInfoLink(boolean hasAppInfoLink)
public EntityHeaderController setHasAppInfoLink(boolean hasAppInfoLink)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setHasAppInfoLink", "boolean hasAppInfoLink"));
1.544.2.12. setButtonActions(@ActionType int action1,@ActionType int action2)
public EntityHeaderController setButtonActions(@ActionType int action1, @ActionType int action2)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setButtonActions", "@ActionType int action1,@ActionType int action2"));
1.544.2.13. setPackageName(String packageName)
public EntityHeaderController setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setPackageName", "String packageName"));
1.544.2.14. setUid(int uid)
public EntityHeaderController setUid(int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setUid", "int uid"));
1.544.2.15. setAppNotifPrefIntent(Intent appNotifPrefIntent)
public EntityHeaderController setAppNotifPrefIntent(Intent appNotifPrefIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setAppNotifPrefIntent", "Intent appNotifPrefIntent"));
1.544.2.16. setIsInstantApp(boolean isInstantApp)
public EntityHeaderController setIsInstantApp(boolean isInstantApp)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setIsInstantApp", "boolean isInstantApp"));
1.544.2.17. setEditZenRuleNameListener(View.OnClickListener listener)
public EntityHeaderController setEditZenRuleNameListener(View.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"setEditZenRuleNameListener", "View.OnClickListener listener"));
1.544.2.18. done(Activity activity,Context uiContext)
public LayoutPreference done(Activity activity, Context uiContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"LayoutPreference" ,"done", "Activity activity,Context uiContext"));
1.544.2.19. done(Activity activity,boolean rebindActions)
public View done(Activity activity, boolean rebindActions)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"done", "Activity activity,boolean rebindActions"));
1.544.2.20. bindHeaderButtons()
public EntityHeaderController bindHeaderButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"bindHeaderButtons", ""));
1.544.2.21. bindAppInfoLink(View entityHeaderContent)
private void bindAppInfoLink(View entityHeaderContent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindAppInfoLink", "View entityHeaderContent"));
1.544.2.22. styleActionBar(Activity activity)
public EntityHeaderController styleActionBar(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"styleActionBar", "Activity activity"));
1.544.2.23. done(Activity activity)
View done(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"done", "Activity activity"));
1.544.2.24. bindButton(ImageButton button,@ActionType int action)
private void bindButton(ImageButton button, @ActionType int action)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindButton", "ImageButton button,@ActionType int action"));
1.544.2.25. setText(@IdRes int id,CharSequence text)
private void setText(@IdRes int id, CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "@IdRes int id,CharSequence text"));
1.544.2.26. static newInstance(Activity activity,Fragment fragment,View header)
public static EntityHeaderController newInstance(Activity activity, Fragment fragment, View header)
methodList.add(new ZMethod(mZAndroidAPPClass,"EntityHeaderController" ,"newInstance", "Activity activity,Fragment fragment,View header"));
1.545. Estimate.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/Estimate.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.545.1. Estimate Field属性列表
1.545.1.1. final long estimateMillis;
public final long estimateMillis;
1.545.1.2. final boolean isBasedOnUsage;
public final boolean isBasedOnUsage;
1.545.1.3. final long averageDischargeTime;
public final long averageDischargeTime;
1.545.1.4. static final int AVERAGE_TIME_TO_DISCHARGE_UNKNOWN
// Value to indicate averageTimeToDischarge could not be obtained
public static final int AVERAGE_TIME_TO_DISCHARGE_UNKNOWN = -1;
1.545.2. EstimateMethod方法列表
1.546. ExternalSourceDetailPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/ExternalSourceDetailPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.546.1. ExternalSourceDetailPreferenceController Field属性列表
1.546.1.1. String mPackageName;
private String mPackageName;
1.546.2. ExternalSourceDetailPreferenceControllerMethod方法列表
1.546.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.546.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.546.2.3. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.546.2.4. getPreferenceSummary()
CharSequence getPreferenceSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPreferenceSummary", ""));
1.546.2.5. isPotentialAppSource()
boolean isPotentialAppSource()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPotentialAppSource", ""));
1.546.2.6. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.547. ExternalSourcesDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/ExternalSourcesDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.547.1. ExternalSourcesDetails Field属性列表
1.547.1.1. AppStateInstallAppsBridge mAppBridge;
private AppStateInstallAppsBridge mAppBridge;
1.547.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.547.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.547.1.4. RestrictedSwitchPreference mSwitchPref;
private RestrictedSwitchPreference mSwitchPref;
1.547.1.5. InstallAppsState mInstallAppsState;
private InstallAppsState mInstallAppsState;
1.547.1.6. static final String KEY_EXTERNAL_SOURCE_SWITCH
private static final String KEY_EXTERNAL_SOURCE_SWITCH = "external_sources_settings_switch";
1.547.2. ExternalSourcesDetailsMethod方法列表
1.547.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.547.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.547.2.3. setCanInstallApps(boolean newState)
private void setCanInstallApps(boolean newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCanInstallApps", "boolean newState"));
1.547.2.4. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.547.2.5. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.547.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.547.2.7. static getPreferenceSummary(Context context,AppEntry entry)
public static CharSequence getPreferenceSummary(Context context, AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPreferenceSummary", "Context context,AppEntry entry"));
1.548. FactoryResetPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/FactoryResetPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.548.1. FactoryResetPreferenceController Field属性列表
1.548.1.1. final UserManager mUm;
private final UserManager mUm;
1.548.1.2. static final String KEY_FACTORY_RESET
/** Key of the "Factory reset" preference in {@link R.xml.reset_dashboard_fragment}. */
private static final String KEY_FACTORY_RESET = "factory_reset";
1.548.2. FactoryResetPreferenceControllerMethod方法列表
1.548.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.548.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.549. FailedPasswordWipeCurrentUserPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/FailedPasswordWipeCurrentUserPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.549.1. FailedPasswordWipeCurrentUserPreferenceController Field属性列表
1.549.1.1. static final String KEY_FAILED_PASSWORD_WIPE_CURRENT_USER
private static final String KEY_FAILED_PASSWORD_WIPE_CURRENT_USER = "failed_password_wipe_current_user";
1.549.2. FailedPasswordWipeCurrentUserPreferenceControllerMethod方法列表
1.549.2.1. getMaximumFailedPasswordsBeforeWipe()
protected int getMaximumFailedPasswordsBeforeWipe()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaximumFailedPasswordsBeforeWipe", ""));
1.549.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.550. FailedPasswordWipeManagedProfilePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/FailedPasswordWipeManagedProfilePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.550.1. FailedPasswordWipeManagedProfilePreferenceController Field属性列表
1.550.1.1. static final String KEY_FAILED_PASSWORD_WIPE_MANAGED_PROFILE
private static final String KEY_FAILED_PASSWORD_WIPE_MANAGED_PROFILE = "failed_password_wipe_managed_profile";
1.550.2. FailedPasswordWipeManagedProfilePreferenceControllerMethod方法列表
1.550.2.1. getMaximumFailedPasswordsBeforeWipe()
protected int getMaximumFailedPasswordsBeforeWipe()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaximumFailedPasswordsBeforeWipe", ""));
1.550.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.551. FailedPasswordWipePreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/FailedPasswordWipePreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.551.1. FailedPasswordWipePreferenceControllerBase Field属性列表
1.551.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
protected final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.551.2. FailedPasswordWipePreferenceControllerBaseMethod方法列表
1.551.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.551.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.551.2.3. abstract getMaximumFailedPasswordsBeforeWipe()
protected abstract int getMaximumFailedPasswordsBeforeWipe()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaximumFailedPasswordsBeforeWipe", ""));
1.552. FakeUid.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/FakeUid.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.552.1. FakeUid Field属性列表
1.552.1.1. final int mUid;
private final int mUid;
1.552.2. FakeUidMethod方法列表
1.552.2.1. getUid()
public int getUid()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUid", ""));
1.552.2.2. getWakelockStats()
public ArrayMap getWakelockStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getWakelockStats", ""));
1.552.2.3. getAggregatedPartialWakelockTimer()
public Timer getAggregatedPartialWakelockTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getAggregatedPartialWakelockTimer", ""));
1.552.2.4. getMulticastWakelockStats()
public Timer getMulticastWakelockStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getMulticastWakelockStats", ""));
1.552.2.5. getSyncStats()
public ArrayMap getSyncStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getSyncStats", ""));
1.552.2.6. getJobStats()
public ArrayMap getJobStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getJobStats", ""));
1.552.2.7. getJobCompletionStats()
public ArrayMap getJobCompletionStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getJobCompletionStats", ""));
1.552.2.8. getSensorStats()
public SparseArray getSensorStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"getSensorStats", ""));
1.552.2.9. getPidStats()
public SparseArray getPidStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"getPidStats", ""));
1.552.2.10. getProcessStats()
public ArrayMap getProcessStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getProcessStats", ""));
1.552.2.11. getPackageStats()
public ArrayMap getPackageStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"getPackageStats", ""));
1.552.2.12. noteWifiRunningLocked(long elapsedRealtime)
public void noteWifiRunningLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiRunningLocked", "long elapsedRealtime"));
1.552.2.13. noteWifiStoppedLocked(long elapsedRealtime)
public void noteWifiStoppedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiStoppedLocked", "long elapsedRealtime"));
1.552.2.14. noteFullWifiLockAcquiredLocked(long elapsedRealtime)
public void noteFullWifiLockAcquiredLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteFullWifiLockAcquiredLocked", "long elapsedRealtime"));
1.552.2.15. noteFullWifiLockReleasedLocked(long elapsedRealtime)
public void noteFullWifiLockReleasedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteFullWifiLockReleasedLocked", "long elapsedRealtime"));
1.552.2.16. noteWifiScanStartedLocked(long elapsedRealtime)
public void noteWifiScanStartedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiScanStartedLocked", "long elapsedRealtime"));
1.552.2.17. noteWifiScanStoppedLocked(long elapsedRealtime)
public void noteWifiScanStoppedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiScanStoppedLocked", "long elapsedRealtime"));
1.552.2.18. noteWifiBatchedScanStartedLocked(int csph,long elapsedRealtime)
public void noteWifiBatchedScanStartedLocked(int csph, long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiBatchedScanStartedLocked", "int csph,long elapsedRealtime"));
1.552.2.19. noteWifiBatchedScanStoppedLocked(long elapsedRealtime)
public void noteWifiBatchedScanStoppedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiBatchedScanStoppedLocked", "long elapsedRealtime"));
1.552.2.20. noteWifiMulticastEnabledLocked(long elapsedRealtime)
public void noteWifiMulticastEnabledLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiMulticastEnabledLocked", "long elapsedRealtime"));
1.552.2.21. noteWifiMulticastDisabledLocked(long elapsedRealtime)
public void noteWifiMulticastDisabledLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteWifiMulticastDisabledLocked", "long elapsedRealtime"));
1.552.2.22. noteActivityResumedLocked(long elapsedRealtime)
public void noteActivityResumedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteActivityResumedLocked", "long elapsedRealtime"));
1.552.2.23. noteActivityPausedLocked(long elapsedRealtime)
public void noteActivityPausedLocked(long elapsedRealtime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteActivityPausedLocked", "long elapsedRealtime"));
1.552.2.24. getWifiRunningTime(long elapsedRealtimeUs,int which)
public long getWifiRunningTime(long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiRunningTime", "long elapsedRealtimeUs,int which"));
1.552.2.25. getFullWifiLockTime(long elapsedRealtimeUs,int which)
public long getFullWifiLockTime(long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getFullWifiLockTime", "long elapsedRealtimeUs,int which"));
1.552.2.26. getWifiScanTime(long elapsedRealtimeUs,int which)
public long getWifiScanTime(long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiScanTime", "long elapsedRealtimeUs,int which"));
1.552.2.27. getWifiScanCount(int which)
public int getWifiScanCount(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWifiScanCount", "int which"));
1.552.2.28. getWifiScanTimer()
public Timer getWifiScanTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getWifiScanTimer", ""));
1.552.2.29. getWifiScanBackgroundCount(int which)
public int getWifiScanBackgroundCount(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWifiScanBackgroundCount", "int which"));
1.552.2.30. getWifiScanActualTime(long elapsedRealtimeUs)
public long getWifiScanActualTime(long elapsedRealtimeUs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiScanActualTime", "long elapsedRealtimeUs"));
1.552.2.31. getWifiScanBackgroundTime(long elapsedRealtimeUs)
public long getWifiScanBackgroundTime(long elapsedRealtimeUs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiScanBackgroundTime", "long elapsedRealtimeUs"));
1.552.2.32. getWifiScanBackgroundTimer()
public Timer getWifiScanBackgroundTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getWifiScanBackgroundTimer", ""));
1.552.2.33. getWifiBatchedScanTime(int csphBin,long elapsedRealtimeUs,int which)
public long getWifiBatchedScanTime(int csphBin, long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiBatchedScanTime", "int csphBin,long elapsedRealtimeUs,int which"));
1.552.2.34. getWifiBatchedScanCount(int csphBin,int which)
public int getWifiBatchedScanCount(int csphBin, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWifiBatchedScanCount", "int csphBin,int which"));
1.552.2.35. getWifiMulticastTime(long elapsedRealtimeUs,int which)
public long getWifiMulticastTime(long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiMulticastTime", "long elapsedRealtimeUs,int which"));
1.552.2.36. getAudioTurnedOnTimer()
public Timer getAudioTurnedOnTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getAudioTurnedOnTimer", ""));
1.552.2.37. getVideoTurnedOnTimer()
public Timer getVideoTurnedOnTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getVideoTurnedOnTimer", ""));
1.552.2.38. getFlashlightTurnedOnTimer()
public Timer getFlashlightTurnedOnTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getFlashlightTurnedOnTimer", ""));
1.552.2.39. getCameraTurnedOnTimer()
public Timer getCameraTurnedOnTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getCameraTurnedOnTimer", ""));
1.552.2.40. getForegroundActivityTimer()
public Timer getForegroundActivityTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getForegroundActivityTimer", ""));
1.552.2.41. getForegroundServiceTimer()
public Timer getForegroundServiceTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getForegroundServiceTimer", ""));
1.552.2.42. getProcessStateTime(int state,long elapsedRealtimeUs,int which)
public long getProcessStateTime(int state, long elapsedRealtimeUs, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getProcessStateTime", "int state,long elapsedRealtimeUs,int which"));
1.552.2.43. getProcessStateTimer(int state)
public Timer getProcessStateTimer(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getProcessStateTimer", "int state"));
1.552.2.44. getVibratorOnTimer()
public Timer getVibratorOnTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getVibratorOnTimer", ""));
1.552.2.45. noteUserActivityLocked(int type)
public void noteUserActivityLocked(int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"noteUserActivityLocked", "int type"));
1.552.2.46. hasUserActivity()
public boolean hasUserActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasUserActivity", ""));
1.552.2.47. getUserActivityCount(int type,int which)
public int getUserActivityCount(int type, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserActivityCount", "int type,int which"));
1.552.2.48. hasNetworkActivity()
public boolean hasNetworkActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasNetworkActivity", ""));
1.552.2.49. getNetworkActivityBytes(int type,int which)
public long getNetworkActivityBytes(int type, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getNetworkActivityBytes", "int type,int which"));
1.552.2.50. getNetworkActivityPackets(int type,int which)
public long getNetworkActivityPackets(int type, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getNetworkActivityPackets", "int type,int which"));
1.552.2.51. getMobileRadioActiveTime(int which)
public long getMobileRadioActiveTime(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getMobileRadioActiveTime", "int which"));
1.552.2.52. getMobileRadioActiveCount(int which)
public int getMobileRadioActiveCount(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMobileRadioActiveCount", "int which"));
1.552.2.53. getUserCpuTimeUs(int which)
public long getUserCpuTimeUs(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getUserCpuTimeUs", "int which"));
1.552.2.54. getSystemCpuTimeUs(int which)
public long getSystemCpuTimeUs(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getSystemCpuTimeUs", "int which"));
1.552.2.55. getTimeAtCpuSpeed(int cluster,int step,int which)
public long getTimeAtCpuSpeed(int cluster, int step, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getTimeAtCpuSpeed", "int cluster,int step,int which"));
1.552.2.56. getWifiControllerActivity()
public BatteryStats.ControllerActivityCounter getWifiControllerActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryStats.ControllerActivityCounter" ,"getWifiControllerActivity", ""));
1.552.2.57. getBluetoothControllerActivity()
public BatteryStats.ControllerActivityCounter getBluetoothControllerActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryStats.ControllerActivityCounter" ,"getBluetoothControllerActivity", ""));
1.552.2.58. getModemControllerActivity()
public BatteryStats.ControllerActivityCounter getModemControllerActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryStats.ControllerActivityCounter" ,"getModemControllerActivity", ""));
1.552.2.59. getBluetoothScanTimer()
public Timer getBluetoothScanTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getBluetoothScanTimer", ""));
1.552.2.60. getBluetoothScanBackgroundTimer()
public Timer getBluetoothScanBackgroundTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getBluetoothScanBackgroundTimer", ""));
1.552.2.61. getBluetoothUnoptimizedScanTimer()
public Timer getBluetoothUnoptimizedScanTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getBluetoothUnoptimizedScanTimer", ""));
1.552.2.62. getBluetoothUnoptimizedScanBackgroundTimer()
public Timer getBluetoothUnoptimizedScanBackgroundTimer()
methodList.add(new ZMethod(mZAndroidAPPClass,"Timer" ,"getBluetoothUnoptimizedScanBackgroundTimer", ""));
1.552.2.63. getBluetoothScanResultCounter()
public Counter getBluetoothScanResultCounter()
methodList.add(new ZMethod(mZAndroidAPPClass,"Counter" ,"getBluetoothScanResultCounter", ""));
1.552.2.64. getBluetoothScanResultBgCounter()
public Counter getBluetoothScanResultBgCounter()
methodList.add(new ZMethod(mZAndroidAPPClass,"Counter" ,"getBluetoothScanResultBgCounter", ""));
1.552.2.65. getWifiRadioApWakeupCount(int which)
public long getWifiRadioApWakeupCount(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getWifiRadioApWakeupCount", "int which"));
1.552.2.66. getDeferredJobsCheckinLineLocked(StringBuilder sb,int which)
public void getDeferredJobsCheckinLineLocked(StringBuilder sb, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getDeferredJobsCheckinLineLocked", "StringBuilder sb,int which"));
1.552.2.67. getDeferredJobsLineLocked(StringBuilder sb,int which)
public void getDeferredJobsLineLocked(StringBuilder sb, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getDeferredJobsLineLocked", "StringBuilder sb,int which"));
1.552.2.68. getMobileRadioApWakeupCount(int which)
public long getMobileRadioApWakeupCount(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getMobileRadioApWakeupCount", "int which"));
1.552.2.69. getCpuFreqTimes(int which)
public long[] getCpuFreqTimes(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long[]" ,"getCpuFreqTimes", "int which"));
1.552.2.70. getScreenOffCpuFreqTimes(int which)
public long[] getScreenOffCpuFreqTimes(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long[]" ,"getScreenOffCpuFreqTimes", "int which"));
1.552.2.71. getCpuActiveTime()
public long getCpuActiveTime()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getCpuActiveTime", ""));
1.552.2.72. getCpuClusterTimes()
public long[] getCpuClusterTimes()
methodList.add(new ZMethod(mZAndroidAPPClass,"long[]" ,"getCpuClusterTimes", ""));
1.552.2.73. getCpuFreqTimes(int procState,int which)
public long[] getCpuFreqTimes(int procState, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long[]" ,"getCpuFreqTimes", "int procState,int which"));
1.552.2.74. getScreenOffCpuFreqTimes(int procState,int which)
public long[] getScreenOffCpuFreqTimes(int procState, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"long[]" ,"getScreenOffCpuFreqTimes", "int procState,int which"));
1.553. FallbackHome.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/FallbackHome.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.553.1. FallbackHome Field属性列表
1.553.1.1. boolean mProvisioned;
private boolean mProvisioned;
1.553.1.2. BroadcastReceiver mReceiver
private BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
maybeFinish();
}
};
1.553.1.3. Handler mHandler
private Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
maybeFinish();
}
};
1.553.1.4. final Runnable mProgressTimeoutRunnable
private final Runnable mProgressTimeoutRunnable = () -> {
View v = getLayoutInflater().inflate(R.layout.fallback_home_finishing_boot, null);
setContentView(v);
v.setAlpha(0f);
v.animate().alpha(1f).setDuration(500).setInterpolator(AnimationUtils.loadInterpolator(this, android.R.interpolator.fast_out_slow_in)).start();
getWindow().addFlags(LayoutParams.FLAG_KEEP_SCREEN_ON);
};
1.553.1.5. static final String TAG
private static final String TAG = "FallbackHome";
1.553.1.6. static final int PROGRESS_TIMEOUT
private static final int PROGRESS_TIMEOUT = 2000;
1.553.2. FallbackHomeMethod方法列表
1.553.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.553.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.553.2.3. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.553.2.4. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.553.2.5. maybeFinish()
private void maybeFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeFinish", ""));
1.554. FccEquipmentIdPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/FccEquipmentIdPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.554.1. FccEquipmentIdPreferenceController Field属性列表
1.554.1.1. static final String PROPERTY_EQUIPMENT_ID
private static final String PROPERTY_EQUIPMENT_ID = "ro.ril.fccid";
1.554.1.2. static final String KEY_EQUIPMENT_ID
private static final String KEY_EQUIPMENT_ID = "fcc_equipment_id";
1.554.2. FccEquipmentIdPreferenceControllerMethod方法列表
1.554.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.554.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.554.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.555. FeatureFactory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.555.1. FeatureFactory Field属性列表
1.555.1.1. static FeatureFactory sFactory;
protected static FeatureFactory sFactory;
1.555.1.2. static final String LOG_TAG
private static final String LOG_TAG = "FeatureFactory";
1.555.1.3. static final boolean DEBUG
private static final boolean DEBUG = false;
1.555.2. FeatureFactoryMethod方法列表
1.555.2.1. abstract getAssistGestureFeatureProvider()
public abstract AssistGestureFeatureProvider getAssistGestureFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"AssistGestureFeatureProvider" ,"getAssistGestureFeatureProvider", ""));
1.555.2.2. abstract getSuggestionFeatureProvider(Context context)
public abstract SuggestionFeatureProvider getSuggestionFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SuggestionFeatureProvider" ,"getSuggestionFeatureProvider", "Context context"));
1.555.2.3. abstract getSupportFeatureProvider(Context context)
public abstract SupportFeatureProvider getSupportFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SupportFeatureProvider" ,"getSupportFeatureProvider", "Context context"));
1.555.2.4. abstract getMetricsFeatureProvider()
public abstract MetricsFeatureProvider getMetricsFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"MetricsFeatureProvider" ,"getMetricsFeatureProvider", ""));
1.555.2.5. abstract getPowerUsageFeatureProvider(Context context)
public abstract PowerUsageFeatureProvider getPowerUsageFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PowerUsageFeatureProvider" ,"getPowerUsageFeatureProvider", "Context context"));
1.555.2.6. abstract getDashboardFeatureProvider(Context context)
public abstract DashboardFeatureProvider getDashboardFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardFeatureProvider" ,"getDashboardFeatureProvider", "Context context"));
1.555.2.7. abstract getDockUpdaterFeatureProvider()
public abstract DockUpdaterFeatureProvider getDockUpdaterFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"DockUpdaterFeatureProvider" ,"getDockUpdaterFeatureProvider", ""));
1.555.2.8. abstract getApplicationFeatureProvider(Context context)
public abstract ApplicationFeatureProvider getApplicationFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ApplicationFeatureProvider" ,"getApplicationFeatureProvider", "Context context"));
1.555.2.9. abstract getLocaleFeatureProvider()
public abstract LocaleFeatureProvider getLocaleFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"LocaleFeatureProvider" ,"getLocaleFeatureProvider", ""));
1.555.2.10. abstract getEnterprisePrivacyFeatureProvider(Context context)
public abstract EnterprisePrivacyFeatureProvider getEnterprisePrivacyFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"EnterprisePrivacyFeatureProvider" ,"getEnterprisePrivacyFeatureProvider", "Context context"));
1.555.2.11. abstract getSearchFeatureProvider()
public abstract SearchFeatureProvider getSearchFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SearchFeatureProvider" ,"getSearchFeatureProvider", ""));
1.555.2.12. abstract getSurveyFeatureProvider(Context context)
public abstract SurveyFeatureProvider getSurveyFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SurveyFeatureProvider" ,"getSurveyFeatureProvider", "Context context"));
1.555.2.13. abstract getSecurityFeatureProvider()
public abstract SecurityFeatureProvider getSecurityFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SecurityFeatureProvider" ,"getSecurityFeatureProvider", ""));
1.555.2.14. abstract getUserFeatureProvider(Context context)
public abstract UserFeatureProvider getUserFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserFeatureProvider" ,"getUserFeatureProvider", "Context context"));
1.555.2.15. abstract getBluetoothFeatureProvider(Context context)
public abstract BluetoothFeatureProvider getBluetoothFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothFeatureProvider" ,"getBluetoothFeatureProvider", "Context context"));
1.555.2.16. abstract getSlicesFeatureProvider()
public abstract SlicesFeatureProvider getSlicesFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SlicesFeatureProvider" ,"getSlicesFeatureProvider", ""));
1.555.2.17. abstract getAccountFeatureProvider()
public abstract AccountFeatureProvider getAccountFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"AccountFeatureProvider" ,"getAccountFeatureProvider", ""));
1.555.2.18. abstract getDeviceIndexFeatureProvider()
public abstract DeviceIndexFeatureProvider getDeviceIndexFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"DeviceIndexFeatureProvider" ,"getDeviceIndexFeatureProvider", ""));
1.555.2.19. static getFactory(Context context)
public static FeatureFactory getFactory(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"FeatureFactory" ,"getFactory", "Context context"));
1.556. FeatureFactoryImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/overlay/FeatureFactoryImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.556.1. FeatureFactoryImpl Field属性列表
1.556.1.1. ApplicationFeatureProvider mApplicationFeatureProvider;
private ApplicationFeatureProvider mApplicationFeatureProvider;
1.556.1.2. MetricsFeatureProvider mMetricsFeatureProvider;
private MetricsFeatureProvider mMetricsFeatureProvider;
1.556.1.3. DashboardFeatureProviderImpl mDashboardFeatureProvider;
private DashboardFeatureProviderImpl mDashboardFeatureProvider;
1.556.1.4. DockUpdaterFeatureProvider mDockUpdaterFeatureProvider;
private DockUpdaterFeatureProvider mDockUpdaterFeatureProvider;
1.556.1.5. LocaleFeatureProvider mLocaleFeatureProvider;
private LocaleFeatureProvider mLocaleFeatureProvider;
1.556.1.6. EnterprisePrivacyFeatureProvider mEnterprisePrivacyFeatureProvider;
private EnterprisePrivacyFeatureProvider mEnterprisePrivacyFeatureProvider;
1.556.1.7. SearchFeatureProvider mSearchFeatureProvider;
private SearchFeatureProvider mSearchFeatureProvider;
1.556.1.8. SecurityFeatureProvider mSecurityFeatureProvider;
private SecurityFeatureProvider mSecurityFeatureProvider;
1.556.1.9. SuggestionFeatureProvider mSuggestionFeatureProvider;
private SuggestionFeatureProvider mSuggestionFeatureProvider;
1.556.1.10. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.556.1.11. AssistGestureFeatureProvider mAssistGestureFeatureProvider;
private AssistGestureFeatureProvider mAssistGestureFeatureProvider;
1.556.1.12. UserFeatureProvider mUserFeatureProvider;
private UserFeatureProvider mUserFeatureProvider;
1.556.1.13. BluetoothFeatureProvider mBluetoothFeatureProvider;
private BluetoothFeatureProvider mBluetoothFeatureProvider;
1.556.1.14. SlicesFeatureProvider mSlicesFeatureProvider;
private SlicesFeatureProvider mSlicesFeatureProvider;
1.556.1.15. AccountFeatureProvider mAccountFeatureProvider;
private AccountFeatureProvider mAccountFeatureProvider;
1.556.1.16. DeviceIndexFeatureProviderImpl mDeviceIndexFeatureProvider;
private DeviceIndexFeatureProviderImpl mDeviceIndexFeatureProvider;
1.556.2. FeatureFactoryImplMethod方法列表
1.556.2.1. getSupportFeatureProvider(Context context)
public SupportFeatureProvider getSupportFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SupportFeatureProvider" ,"getSupportFeatureProvider", "Context context"));
1.556.2.2. getMetricsFeatureProvider()
public MetricsFeatureProvider getMetricsFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"MetricsFeatureProvider" ,"getMetricsFeatureProvider", ""));
1.556.2.3. getPowerUsageFeatureProvider(Context context)
public PowerUsageFeatureProvider getPowerUsageFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PowerUsageFeatureProvider" ,"getPowerUsageFeatureProvider", "Context context"));
1.556.2.4. getDashboardFeatureProvider(Context context)
public DashboardFeatureProvider getDashboardFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardFeatureProvider" ,"getDashboardFeatureProvider", "Context context"));
1.556.2.5. getDockUpdaterFeatureProvider()
public DockUpdaterFeatureProvider getDockUpdaterFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"DockUpdaterFeatureProvider" ,"getDockUpdaterFeatureProvider", ""));
1.556.2.6. getApplicationFeatureProvider(Context context)
public ApplicationFeatureProvider getApplicationFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ApplicationFeatureProvider" ,"getApplicationFeatureProvider", "Context context"));
1.556.2.7. getLocaleFeatureProvider()
public LocaleFeatureProvider getLocaleFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"LocaleFeatureProvider" ,"getLocaleFeatureProvider", ""));
1.556.2.8. getEnterprisePrivacyFeatureProvider(Context context)
public EnterprisePrivacyFeatureProvider getEnterprisePrivacyFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"EnterprisePrivacyFeatureProvider" ,"getEnterprisePrivacyFeatureProvider", "Context context"));
1.556.2.9. getSearchFeatureProvider()
public SearchFeatureProvider getSearchFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SearchFeatureProvider" ,"getSearchFeatureProvider", ""));
1.556.2.10. getSurveyFeatureProvider(Context context)
public SurveyFeatureProvider getSurveyFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SurveyFeatureProvider" ,"getSurveyFeatureProvider", "Context context"));
1.556.2.11. getSecurityFeatureProvider()
public SecurityFeatureProvider getSecurityFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SecurityFeatureProvider" ,"getSecurityFeatureProvider", ""));
1.556.2.12. getSuggestionFeatureProvider(Context context)
public SuggestionFeatureProvider getSuggestionFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SuggestionFeatureProvider" ,"getSuggestionFeatureProvider", "Context context"));
1.556.2.13. getUserFeatureProvider(Context context)
public UserFeatureProvider getUserFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserFeatureProvider" ,"getUserFeatureProvider", "Context context"));
1.556.2.14. getBluetoothFeatureProvider(Context context)
public BluetoothFeatureProvider getBluetoothFeatureProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"BluetoothFeatureProvider" ,"getBluetoothFeatureProvider", "Context context"));
1.556.2.15. getAssistGestureFeatureProvider()
public AssistGestureFeatureProvider getAssistGestureFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"AssistGestureFeatureProvider" ,"getAssistGestureFeatureProvider", ""));
1.556.2.16. getSlicesFeatureProvider()
public SlicesFeatureProvider getSlicesFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"SlicesFeatureProvider" ,"getSlicesFeatureProvider", ""));
1.556.2.17. getAccountFeatureProvider()
public AccountFeatureProvider getAccountFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"AccountFeatureProvider" ,"getAccountFeatureProvider", ""));
1.556.2.18. getDeviceIndexFeatureProvider()
public DeviceIndexFeatureProvider getDeviceIndexFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"DeviceIndexFeatureProvider" ,"getDeviceIndexFeatureProvider", ""));
1.557. FeatureFlagFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/featureflags/FeatureFlagFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.557.1. FeatureFlagFooterPreferenceController Field属性列表
1.557.1.1. FooterPreferenceMixin mFooterMixin;
private FooterPreferenceMixin mFooterMixin;
1.557.2. FeatureFlagFooterPreferenceControllerMethod方法列表
1.557.2.1. setFooterMixin(FooterPreferenceMixin mixin)
public void setFooterMixin(FooterPreferenceMixin mixin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFooterMixin", "FooterPreferenceMixin mixin"));
1.557.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.557.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.558. FeatureFlagPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/featureflags/FeatureFlagPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.558.1. FeatureFlagPreference Field属性列表
1.558.1.1. final String mKey;
private final String mKey;
1.558.2. FeatureFlagPreferenceMethod方法列表
1.558.2.1. setChecked(boolean isChecked)
public void setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean isChecked"));
1.558.2.2. setCheckedInternal(boolean isChecked)
private void setCheckedInternal(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCheckedInternal", "boolean isChecked"));
1.559. FeatureFlags.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/FeatureFlags.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.559.1. FeatureFlags Field属性列表
1.559.1.1. static final String BATTERY_DISPLAY_APP_LIST
public static final String BATTERY_DISPLAY_APP_LIST = "settings_battery_display_app_list";
1.559.1.2. static final String ZONE_PICKER_V2
public static final String ZONE_PICKER_V2 = "settings_zone_picker_v2";
1.559.1.3. static final String ABOUT_PHONE_V2
public static final String ABOUT_PHONE_V2 = "settings_about_phone_v2";
1.559.1.4. static final String BLUETOOTH_WHILE_DRIVING
public static final String BLUETOOTH_WHILE_DRIVING = "settings_bluetooth_while_driving";
1.559.1.5. static final String DATA_USAGE_SETTINGS_V2
public static final String DATA_USAGE_SETTINGS_V2 = "settings_data_usage_v2";
1.559.1.6. static final String AUDIO_SWITCHER_SETTINGS
public static final String AUDIO_SWITCHER_SETTINGS = "settings_audio_switcher";
1.559.2. FeatureFlagsMethod方法列表
1.560. FeatureFlagsDashboard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/featureflags/FeatureFlagsDashboard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.560.1. FeatureFlagsDashboard Field属性列表
1.560.1.1. static final String TAG
private static final String TAG = "FeatureFlagsDashboard";
1.560.2. FeatureFlagsDashboardMethod方法列表
1.560.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.560.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.560.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.560.2.4. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.560.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.560.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.561. FeatureFlagsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/featureflags/FeatureFlagsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.561.1. FeatureFlagsPreferenceController Field属性列表
1.561.1.1. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.561.2. FeatureFlagsPreferenceControllerMethod方法列表
1.561.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.561.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.561.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.561.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.562. FeedbackPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/FeedbackPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.562.1. FeedbackPreferenceController Field属性列表
1.562.1.1. final Fragment mHost;
private final Fragment mHost;
1.562.1.2. final Intent intent;
private final Intent intent;
1.562.1.3. static final String KEY_DEVICE_FEEDBACK
private static final String KEY_DEVICE_FEEDBACK = "device_feedback";
1.562.2. FeedbackPreferenceControllerMethod方法列表
1.562.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.562.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.562.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.562.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.563. FetchPackageStorageAsyncLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/FetchPackageStorageAsyncLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.563.1. FetchPackageStorageAsyncLoader Field属性列表
1.563.1.1. final StorageStatsSource mSource;
private final StorageStatsSource mSource;
1.563.1.2. final ApplicationInfo mInfo;
private final ApplicationInfo mInfo;
1.563.1.3. final UserHandle mUser;
private final UserHandle mUser;
1.563.1.4. static final String TAG
private static final String TAG = "FetchPackageStorage";
1.563.2. FetchPackageStorageAsyncLoaderMethod方法列表
1.563.2.1. loadInBackground()
public AppStorageStats loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"AppStorageStats" ,"loadInBackground", ""));
1.563.2.2. onDiscardResult(AppStorageStats result)
protected void onDiscardResult(AppStorageStats result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "AppStorageStats result"));
1.564. FileEncryptionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/FileEncryptionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.564.1. FileEncryptionPreferenceController Field属性列表
1.564.1.1. final IStorageManager mStorageManager;
private final IStorageManager mStorageManager;
1.564.1.2. static final String KEY_CONVERT_FBE
private static final String KEY_CONVERT_FBE = "convert_to_file_encryption";
1.564.1.3. static final String KEY_STORAGE_MANAGER
private static final String KEY_STORAGE_MANAGER = "mount";
1.564.1.4. static final String FILE_ENCRYPTION_PROPERTY_KEY
@VisibleForTesting
static final String FILE_ENCRYPTION_PROPERTY_KEY = "ro.crypto.type";
1.564.2. FileEncryptionPreferenceControllerMethod方法列表
1.564.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.564.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.564.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.564.2.4. getStorageManager()
private IStorageManager getStorageManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"IStorageManager" ,"getStorageManager", ""));
1.565. FileSizeFormatter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/FileSizeFormatter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.565.1. FileSizeFormatter Field属性列表
1.565.1.1. static final long KILOBYTE_IN_BYTES
public static final long KILOBYTE_IN_BYTES = 1000;
1.565.1.2. static final long MEGABYTE_IN_BYTES
public static final long MEGABYTE_IN_BYTES = KILOBYTE_IN_BYTES * 1000;
1.565.1.3. static final long GIGABYTE_IN_BYTES
public static final long GIGABYTE_IN_BYTES = MEGABYTE_IN_BYTES * 1000;
1.565.2. FileSizeFormatterMethod方法列表
1.565.2.1. static formatFileSize(@Nullable Context context,long sizeBytes,int suffix,long mult)
public static String formatFileSize(@Nullable Context context, long sizeBytes, int suffix, long mult)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatFileSize", "@Nullable Context context,long sizeBytes,int suffix,long mult"));
1.565.2.2. static getFileSizeSuffix(Context context)
private static int getFileSizeSuffix(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getFileSizeSuffix", "Context context"));
1.565.2.3. static formatBytes(Resources res,long sizeBytes,int suffix,long mult)
private static Formatter.BytesResult formatBytes(Resources res, long sizeBytes, int suffix, long mult)
methodList.add(new ZMethod(mZAndroidAPPClass,"Formatter.BytesResult" ,"formatBytes", "Resources res,long sizeBytes,int suffix,long mult"));
1.566. FileViewHolderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/FileViewHolderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.567. FilteredCountryTimeZones.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/FilteredCountryTimeZones.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.567.1. FilteredCountryTimeZones Field属性列表
1.567.1.1. final CountryTimeZones mCountryTimeZones;
private final CountryTimeZones mCountryTimeZones;
1.567.1.2. final List mTimeZoneIds;
private final List mTimeZoneIds;
1.567.1.3. static final // in 2018. Only show time zone used in or after 2018. // 1/1/2018 00:00 UTC private long MIN_USE_DATE_OF_TIMEZONE
// New timezone list and the meta data of time zone, notUsedAfter, is introduced in Android P
// in 2018. Only show time zone used in or after 2018.
// 1/1/2018 00:00 UTC
private static final long MIN_USE_DATE_OF_TIMEZONE = 1514764800000L;
1.567.2. FilteredCountryTimeZonesMethod方法列表
1.567.2.1. getTimeZoneIds()
public List getTimeZoneIds()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getTimeZoneIds", ""));
1.567.2.2. getCountryTimeZones()
public CountryTimeZones getCountryTimeZones()
methodList.add(new ZMethod(mZAndroidAPPClass,"CountryTimeZones" ,"getCountryTimeZones", ""));
1.567.2.3. getRegionId()
public String getRegionId()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getRegionId", ""));
1.568. FingerprintAuthenticateSidecar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintAuthenticateSidecar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.568.1. FingerprintAuthenticateSidecar Field属性列表
1.568.1.1. FingerprintManager mFingerprintManager;
private FingerprintManager mFingerprintManager;
1.568.1.2. Listener mListener;
private Listener mListener;
1.568.1.3. AuthenticationResult mAuthenticationResult;
private AuthenticationResult mAuthenticationResult;
1.568.1.4. CancellationSignal mCancellationSignal;
private CancellationSignal mCancellationSignal;
1.568.1.5. AuthenticationError mAuthenticationError;
private AuthenticationError mAuthenticationError;
1.568.1.6. FingerprintManager.AuthenticationCallback mAuthenticationCallback
private FingerprintManager.AuthenticationCallback mAuthenticationCallback = new FingerprintManager.AuthenticationCallback() {
@Override
public void onAuthenticationSucceeded(AuthenticationResult result) {
mCancellationSignal = null;
if (mListener != null) {
mListener.onAuthenticationSucceeded(result);
} else {
mAuthenticationResult = result;
mAuthenticationError = null;
}
}
@Override
public void onAuthenticationFailed() {
if (mListener != null) {
mListener.onAuthenticationFailed();
}
}
@Override
public void onAuthenticationError(int errMsgId, CharSequence errString) {
mCancellationSignal = null;
if (mListener != null) {
mListener.onAuthenticationError(errMsgId, errString);
} else {
mAuthenticationError = new AuthenticationError(errMsgId, errString);
mAuthenticationResult = null;
}
}
@Override
public void onAuthenticationHelp(int helpMsgId, CharSequence helpString) {
if (mListener != null) {
mListener.onAuthenticationHelp(helpMsgId, helpString);
}
}
};
1.568.1.7. static final String TAG
private static final String TAG = "FingerprintAuthenticateSidecar";
1.568.2. FingerprintAuthenticateSidecarMethod方法列表
1.568.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.568.2.2. setFingerprintManager(FingerprintManager fingerprintManager)
public void setFingerprintManager(FingerprintManager fingerprintManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFingerprintManager", "FingerprintManager fingerprintManager"));
1.568.2.3. startAuthentication(int userId)
public void startAuthentication(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAuthentication", "int userId"));
1.568.2.4. stopAuthentication()
public void stopAuthentication()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopAuthentication", ""));
1.568.2.5. setListener(Listener listener)
public void setListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "Listener listener"));
1.569. FingerprintEnrollBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.569.1. FingerprintEnrollBase Field属性列表
1.569.1.1. byte[] mToken;
protected byte[] mToken;
1.569.1.2. int mUserId;
protected int mUserId;
1.569.1.3. static final int RESULT_FINISHED
public static final int RESULT_FINISHED = FingerprintSettings.RESULT_FINISHED;
1.569.1.4. static final int RESULT_SKIP
static final int RESULT_SKIP = FingerprintSettings.RESULT_SKIP;
1.569.1.5. static final int RESULT_TIMEOUT
static final int RESULT_TIMEOUT = FingerprintSettings.RESULT_TIMEOUT;
1.569.2. FingerprintEnrollBaseMethod方法列表
1.569.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.569.2.2. onApplyThemeResource(Resources.Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Resources.Theme theme,int resid,boolean first"));
1.569.2.3. onSaveInstanceState(Bundle outState)
protected void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.569.2.4. onPostCreate(@Nullable Bundle savedInstanceState)
protected void onPostCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPostCreate", "@Nullable Bundle savedInstanceState"));
1.569.2.5. initViews()
protected void initViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initViews", ""));
1.569.2.6. getLayout()
protected GlifLayout getLayout()
methodList.add(new ZMethod(mZAndroidAPPClass,"GlifLayout" ,"getLayout", ""));
1.569.2.7. setHeaderText(int resId,boolean force)
protected void setHeaderText(int resId, boolean force)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderText", "int resId,boolean force"));
1.569.2.8. setHeaderText(int resId)
protected void setHeaderText(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderText", "int resId"));
1.569.2.9. getNextButton()
protected Button getNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getNextButton", ""));
1.569.2.10. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.569.2.11. onNextButtonClick()
protected void onNextButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNextButtonClick", ""));
1.569.2.12. getEnrollingIntent()
protected Intent getEnrollingIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getEnrollingIntent", ""));
1.570. FingerprintEnrollEnrolling.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollEnrolling.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.570.1. FingerprintEnrollEnrolling Field属性列表
1.570.1.1. ProgressBar mProgressBar;
private ProgressBar mProgressBar;
1.570.1.2. ObjectAnimator mProgressAnim;
private ObjectAnimator mProgressAnim;
1.570.1.3. TextView mStartMessage;
private TextView mStartMessage;
1.570.1.4. TextView mRepeatMessage;
private TextView mRepeatMessage;
1.570.1.5. TextView mErrorText;
private TextView mErrorText;
1.570.1.6. Interpolator mFastOutSlowInInterpolator;
private Interpolator mFastOutSlowInInterpolator;
1.570.1.7. Interpolator mLinearOutSlowInInterpolator;
private Interpolator mLinearOutSlowInInterpolator;
1.570.1.8. Interpolator mFastOutLinearInInterpolator;
private Interpolator mFastOutLinearInInterpolator;
1.570.1.9. int mIconTouchCount;
private int mIconTouchCount;
1.570.1.10. FingerprintEnrollSidecar mSidecar;
private FingerprintEnrollSidecar mSidecar;
1.570.1.11. boolean mAnimationCancelled;
private boolean mAnimationCancelled;
1.570.1.12. AnimatedVectorDrawable mIconAnimationDrawable;
private AnimatedVectorDrawable mIconAnimationDrawable;
1.570.1.13. AnimatedVectorDrawable mIconBackgroundBlinksDrawable;
private AnimatedVectorDrawable mIconBackgroundBlinksDrawable;
1.570.1.14. boolean mRestoring;
private boolean mRestoring;
1.570.1.15. Vibrator mVibrator;
private Vibrator mVibrator;
1.570.1.16. final Animator.AnimatorListener mProgressAnimationListener
private final Animator.AnimatorListener mProgressAnimationListener = new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animation) {
}
@Override
public void onAnimationRepeat(Animator animation) {
}
@Override
public void onAnimationEnd(Animator animation) {
if (mProgressBar.getProgress() >= PROGRESS_BAR_MAX) {
mProgressBar.postDelayed(mDelayedFinishRunnable, FINISH_DELAY);
}
}
@Override
public void onAnimationCancel(Animator animation) {
}
};
1.570.1.17. final Runnable mDelayedFinishRunnable
// Give the user a chance to see progress completed before jumping to the next stage.
private final Runnable mDelayedFinishRunnable = new Runnable() {
@Override
public void run() {
launchFinish(mToken);
}
};
1.570.1.18. final Animatable2.AnimationCallback mIconAnimationCallback
private final Animatable2.AnimationCallback mIconAnimationCallback = new Animatable2.AnimationCallback() {
@Override
public void onAnimationEnd(Drawable d) {
if (mAnimationCancelled) {
return;
}
// Start animation after it has ended.
mProgressBar.post(new Runnable() {
@Override
public void run() {
startIconAnimation();
}
});
}
};
1.570.1.19. final Runnable mShowDialogRunnable
private final Runnable mShowDialogRunnable = new Runnable() {
@Override
public void run() {
showIconTouchDialog();
}
};
1.570.1.20. final Runnable mTouchAgainRunnable
private final Runnable mTouchAgainRunnable = new Runnable() {
@Override
public void run() {
showError(getString(R.string.security_settings_fingerprint_enroll_lift_touch_again));
}
};
1.570.1.21. static final String TAG_SIDECAR
static final String TAG_SIDECAR = "sidecar";
1.570.1.22. static final int PROGRESS_BAR_MAX
private static final int PROGRESS_BAR_MAX = 10000;
1.570.1.23. static final int FINISH_DELAY
private static final int FINISH_DELAY = 250;
1.570.1.24. static final int HINT_TIMEOUT_DURATION
/**
* If we don't see progress during this time, we show an error message to remind the user that
* he needs to lift the finger and touch again.
*/
private static final int HINT_TIMEOUT_DURATION = 2500;
1.570.1.25. static final long ICON_TOUCH_DURATION_UNTIL_DIALOG_SHOWN
/**
* How long the user needs to touch the icon until we show the dialog.
*/
private static final long ICON_TOUCH_DURATION_UNTIL_DIALOG_SHOWN = 500;
1.570.1.26. static final int ICON_TOUCH_COUNT_SHOW_UNTIL_DIALOG_SHOWN
/**
* How many times the user needs to touch the icon until we show the dialog that this is not the
* fingerprint sensor.
*/
private static final int ICON_TOUCH_COUNT_SHOW_UNTIL_DIALOG_SHOWN = 3;
1.570.1.27. static final VibrationEffect VIBRATE_EFFECT_ERROR
private static final VibrationEffect VIBRATE_EFFECT_ERROR = VibrationEffect.createWaveform(new long[] { 0, 5, 55, 60 }, -1);
1.570.1.28. static final AudioAttributes FINGERPRINT_ENROLLING_SONFICATION_ATTRIBUTES
private static final AudioAttributes FINGERPRINT_ENROLLING_SONFICATION_ATTRIBUTES = new AudioAttributes.Builder().setContentType(AudioAttributes.CONTENT_TYPE_SONIFICATION).setUsage(AudioAttributes.USAGE_ASSISTANCE_SONIFICATION).build();
1.570.2. FingerprintEnrollEnrollingMethod方法列表
1.570.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.570.2.2. onStart()
protected void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.570.2.3. onEnterAnimationComplete()
public void onEnterAnimationComplete()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnterAnimationComplete", ""));
1.570.2.4. startIconAnimation()
private void startIconAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startIconAnimation", ""));
1.570.2.5. stopIconAnimation()
private void stopIconAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopIconAnimation", ""));
1.570.2.6. onStop()
protected void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.570.2.7. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.570.2.8. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.570.2.9. animateProgress(int progress)
private void animateProgress(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"animateProgress", "int progress"));
1.570.2.10. animateFlash()
private void animateFlash()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"animateFlash", ""));
1.570.2.11. launchFinish(byte[] token)
private void launchFinish(byte[] token)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchFinish", "byte[] token"));
1.570.2.12. getFinishIntent()
protected Intent getFinishIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getFinishIntent", ""));
1.570.2.13. updateDescription()
private void updateDescription()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDescription", ""));
1.570.2.14. onEnrollmentHelp(CharSequence helpString)
public void onEnrollmentHelp(CharSequence helpString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnrollmentHelp", "CharSequence helpString"));
1.570.2.15. onEnrollmentError(int errMsgId,CharSequence errString)
public void onEnrollmentError(int errMsgId, CharSequence errString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnrollmentError", "int errMsgId,CharSequence errString"));
1.570.2.16. onEnrollmentProgressChange(int steps,int remaining)
public void onEnrollmentProgressChange(int steps, int remaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnrollmentProgressChange", "int steps,int remaining"));
1.570.2.17. updateProgress(boolean animate)
private void updateProgress(boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateProgress", "boolean animate"));
1.570.2.18. getProgress(int steps,int remaining)
private int getProgress(int steps, int remaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getProgress", "int steps,int remaining"));
1.570.2.19. showErrorDialog(CharSequence msg,int msgId)
private void showErrorDialog(CharSequence msg, int msgId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showErrorDialog", "CharSequence msg,int msgId"));
1.570.2.20. showIconTouchDialog()
private void showIconTouchDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showIconTouchDialog", ""));
1.570.2.21. showError(CharSequence error)
private void showError(CharSequence error)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "CharSequence error"));
1.570.2.22. clearError()
private void clearError()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearError", ""));
1.570.2.23. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.571. FingerprintEnrollFindSensor.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollFindSensor.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.571.1. FingerprintEnrollFindSensor Field属性列表
1.571.1.1. FingerprintFindSensorAnimation mAnimation;
@Nullable
private FingerprintFindSensorAnimation mAnimation;
1.571.1.2. boolean mLaunchedConfirmLock;
private boolean mLaunchedConfirmLock;
1.571.1.3. FingerprintEnrollSidecar mSidecar;
private FingerprintEnrollSidecar mSidecar;
1.571.1.4. boolean mNextClicked;
private boolean mNextClicked;
1.571.1.5. static final int CONFIRM_REQUEST
private static final int CONFIRM_REQUEST = 1;
1.571.1.6. static final int ENROLLING
private static final int ENROLLING = 2;
1.571.1.7. static final String EXTRA_KEY_LAUNCHED_CONFIRM
public static final String EXTRA_KEY_LAUNCHED_CONFIRM = "launched_confirm_lock";
1.571.2. FingerprintEnrollFindSensorMethod方法列表
1.571.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.571.2.2. getContentView()
protected int getContentView()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getContentView", ""));
1.571.2.3. onStart()
protected void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.571.2.4. startLookingForFingerprint()
private void startLookingForFingerprint()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startLookingForFingerprint", ""));
1.571.2.5. onStop()
protected void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.571.2.6. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.571.2.7. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.571.2.8. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.571.2.9. onSkipButtonClick()
protected void onSkipButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSkipButtonClick", ""));
1.571.2.10. proceedToEnrolling(boolean cancelEnrollment)
private void proceedToEnrolling(boolean cancelEnrollment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"proceedToEnrolling", "boolean cancelEnrollment"));
1.571.2.11. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.571.2.12. launchConfirmLock()
private void launchConfirmLock()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchConfirmLock", ""));
1.571.2.13. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.572. FingerprintEnrollFinish.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollFinish.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.572.1. FingerprintEnrollFinish Field属性列表
1.572.1.1. static final int REQUEST_ADD_ANOTHER
private static final int REQUEST_ADD_ANOTHER = 1;
1.572.2. FingerprintEnrollFinishMethod方法列表
1.572.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.572.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.572.2.3. onNextButtonClick()
protected void onNextButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNextButtonClick", ""));
1.572.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.572.2.5. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.572.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.573. FingerprintEnrollIntroduction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollIntroduction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.573.1. FingerprintEnrollIntroduction Field属性列表
1.573.1.1. UserManager mUserManager;
private UserManager mUserManager;
1.573.1.2. boolean mHasPassword;
private boolean mHasPassword;
1.573.1.3. boolean mFingerprintUnlockDisabledByAdmin;
private boolean mFingerprintUnlockDisabledByAdmin;
1.573.1.4. TextView mErrorText;
private TextView mErrorText;
1.573.1.5. static final String TAG
private static final String TAG = "FingerprintIntro";
1.573.1.6. static final int CHOOSE_LOCK_GENERIC_REQUEST
protected static final int CHOOSE_LOCK_GENERIC_REQUEST = 1;
1.573.1.7. static final int FINGERPRINT_FIND_SENSOR_REQUEST
protected static final int FINGERPRINT_FIND_SENSOR_REQUEST = 2;
1.573.1.8. static final int LEARN_MORE_REQUEST
protected static final int LEARN_MORE_REQUEST = 3;
1.573.2. FingerprintEnrollIntroductionMethod方法列表
1.573.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.573.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.573.2.3. updatePasswordQuality()
private void updatePasswordQuality()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePasswordQuality", ""));
1.573.2.4. getNextButton()
protected Button getNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getNextButton", ""));
1.573.2.5. onNextButtonClick()
protected void onNextButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNextButtonClick", ""));
1.573.2.6. launchChooseLock()
private void launchChooseLock()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchChooseLock", ""));
1.573.2.7. launchFindSensor(byte[] token)
private void launchFindSensor(byte[] token)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchFindSensor", "byte[] token"));
1.573.2.8. getChooseLockIntent()
protected Intent getChooseLockIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getChooseLockIntent", ""));
1.573.2.9. getFindSensorIntent()
protected Intent getFindSensorIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getFindSensorIntent", ""));
1.573.2.10. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.573.2.11. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.573.2.12. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.573.2.13. onCancelButtonClick()
protected void onCancelButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancelButtonClick", ""));
1.573.2.14. initViews()
protected void initViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initViews", ""));
1.573.2.15. onClick(LinkSpan span)
public void onClick(LinkSpan span)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "LinkSpan span"));
1.574. FingerprintEnrollSidecar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollSidecar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.574.1. FingerprintEnrollSidecar Field属性列表
1.574.1.1. int mEnrollmentSteps
private int mEnrollmentSteps = -1;
1.574.1.2. int mEnrollmentRemaining
private int mEnrollmentRemaining = 0;
1.574.1.3. Listener mListener;
private Listener mListener;
1.574.1.4. boolean mEnrolling;
private boolean mEnrolling;
1.574.1.5. CancellationSignal mEnrollmentCancel;
private CancellationSignal mEnrollmentCancel;
1.574.1.6. Handler mHandler
private Handler mHandler = new Handler();
1.574.1.7. byte[] mToken;
private byte[] mToken;
1.574.1.8. boolean mDone;
private boolean mDone;
1.574.1.9. int mUserId;
private int mUserId;
1.574.1.10. FingerprintManager mFingerprintManager;
private FingerprintManager mFingerprintManager;
1.574.1.11. ArrayList mQueuedEvents;
private ArrayList mQueuedEvents;
1.574.1.12. FingerprintManager.EnrollmentCallback mEnrollmentCallback
private FingerprintManager.EnrollmentCallback mEnrollmentCallback = new FingerprintManager.EnrollmentCallback() {
@Override
public void onEnrollmentProgress(int remaining) {
if (mEnrollmentSteps == -1) {
mEnrollmentSteps = remaining;
}
mEnrollmentRemaining = remaining;
mDone = remaining == 0;
if (mListener != null) {
mListener.onEnrollmentProgressChange(mEnrollmentSteps, remaining);
} else {
mQueuedEvents.add(new QueuedEnrollmentProgress(mEnrollmentSteps, remaining));
}
}
@Override
public void onEnrollmentHelp(int helpMsgId, CharSequence helpString) {
if (mListener != null) {
mListener.onEnrollmentHelp(helpString);
} else {
mQueuedEvents.add(new QueuedEnrollmentHelp(helpMsgId, helpString));
}
}
@Override
public void onEnrollmentError(int errMsgId, CharSequence errString) {
if (mListener != null) {
mListener.onEnrollmentError(errMsgId, errString);
} else {
mQueuedEvents.add(new QueuedEnrollmentError(errMsgId, errString));
}
mEnrolling = false;
}
};
1.574.1.13. final Runnable mTimeoutRunnable
private final Runnable mTimeoutRunnable = new Runnable() {
@Override
public void run() {
cancelEnrollment();
}
};
1.574.2. FingerprintEnrollSidecarMethod方法列表
1.574.2.1. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.574.2.2. onAttach(Activity activity)
public void onAttach(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Activity activity"));
1.574.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.574.2.4. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.574.2.5. startEnrollment()
private void startEnrollment()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startEnrollment", ""));
1.574.2.6. cancelEnrollment()
boolean cancelEnrollment()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"cancelEnrollment", ""));
1.574.2.7. setListener(Listener listener)
public void setListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "Listener listener"));
1.574.2.8. getEnrollmentSteps()
public int getEnrollmentSteps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getEnrollmentSteps", ""));
1.574.2.9. getEnrollmentRemaining()
public int getEnrollmentRemaining()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getEnrollmentRemaining", ""));
1.574.2.10. isDone()
public boolean isDone()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDone", ""));
1.574.2.11. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.574.2.12. isEnrolling()
public boolean isEnrolling()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnrolling", ""));
1.575. FingerprintEnrollSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintEnrollSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.575.1. FingerprintEnrollSuggestionActivity Field属性列表
1.575.2. FingerprintEnrollSuggestionActivityMethod方法列表
1.575.2.1. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.576. FingerprintFindSensorAnimation.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintFindSensorAnimation.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.577. FingerprintLocationAnimationVideoView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintLocationAnimationVideoView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.577.1. FingerprintLocationAnimationVideoView Field属性列表
1.577.1.1. float mAspect
// initial guess until we know
protected float mAspect = 1.0f;
1.577.1.2. MediaPlayer mMediaPlayer;
protected MediaPlayer mMediaPlayer;
1.577.2. FingerprintLocationAnimationVideoViewMethod方法列表
1.577.2.1. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.577.2.2. getFingerprintLocationAnimation()
protected Uri getFingerprintLocationAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getFingerprintLocationAnimation", ""));
1.577.2.3. onFinishInflate()
protected void onFinishInflate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFinishInflate", ""));
1.577.2.4. createMediaPlayer(Context context,Uri videoUri)
MediaPlayer createMediaPlayer(Context context, Uri videoUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"MediaPlayer" ,"createMediaPlayer", "Context context,Uri videoUri"));
1.577.2.5. startAnimation()
public void startAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAnimation", ""));
1.577.2.6. stopAnimation()
public void stopAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopAnimation", ""));
1.577.2.7. pauseAnimation()
public void pauseAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pauseAnimation", ""));
1.577.2.8. static resourceEntryToUri(Context context,int id)
protected static Uri resourceEntryToUri(Context context, int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"resourceEntryToUri", "Context context,int id"));
1.578. FingerprintLocationAnimationView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintLocationAnimationView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.578.1. FingerprintLocationAnimationView Field属性列表
1.578.1.1. float mPulseRadius;
private float mPulseRadius;
1.578.1.2. ValueAnimator mRadiusAnimator;
private ValueAnimator mRadiusAnimator;
1.578.1.3. ValueAnimator mAlphaAnimator;
private ValueAnimator mAlphaAnimator;
1.578.1.4. final Interpolator mLinearOutSlowInInterpolator;
private final Interpolator mLinearOutSlowInInterpolator;
1.578.1.5. final Interpolator mFastOutSlowInInterpolator;
private final Interpolator mFastOutSlowInInterpolator;
1.578.1.6. final int mDotRadius;
private final int mDotRadius;
1.578.1.7. final int mMaxPulseRadius;
private final int mMaxPulseRadius;
1.578.1.8. final float mFractionCenterX;
private final float mFractionCenterX;
1.578.1.9. final float mFractionCenterY;
private final float mFractionCenterY;
1.578.1.10. final Paint mDotPaint
private final Paint mDotPaint = new Paint();
1.578.1.11. final Paint mPulsePaint
private final Paint mPulsePaint = new Paint();
1.578.1.12. final Runnable mStartPhaseRunnable
private final Runnable mStartPhaseRunnable = new Runnable() {
@Override
public void run() {
startPhase();
}
};
1.578.1.13. static final float MAX_PULSE_ALPHA
private static final float MAX_PULSE_ALPHA = 0.15f;
1.578.1.14. static final long DELAY_BETWEEN_PHASE
private static final long DELAY_BETWEEN_PHASE = 1000;
1.578.2. FingerprintLocationAnimationViewMethod方法列表
1.578.2.1. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.578.2.2. drawDot(Canvas canvas)
private void drawDot(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawDot", "Canvas canvas"));
1.578.2.3. drawPulse(Canvas canvas)
private void drawPulse(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawPulse", "Canvas canvas"));
1.578.2.4. getCenterX()
private float getCenterX()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getCenterX", ""));
1.578.2.5. getCenterY()
private float getCenterY()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getCenterY", ""));
1.578.2.6. startAnimation()
public void startAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAnimation", ""));
1.578.2.7. stopAnimation()
public void stopAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopAnimation", ""));
1.578.2.8. pauseAnimation()
public void pauseAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pauseAnimation", ""));
1.578.2.9. startPhase()
private void startPhase()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startPhase", ""));
1.578.2.10. startRadiusAnimation()
private void startRadiusAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startRadiusAnimation", ""));
1.578.2.11. startAlphaAnimation()
private void startAlphaAnimation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAlphaAnimation", ""));
1.579. FingerprintProfileStatusPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintProfileStatusPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.579.1. FingerprintProfileStatusPreferenceController Field属性列表
1.579.1.1. static final String KEY_FINGERPRINT_SETTINGS
public static final String KEY_FINGERPRINT_SETTINGS = "fingerprint_settings_profile";
1.579.2. FingerprintProfileStatusPreferenceControllerMethod方法列表
1.579.2.1. isUserSupported()
protected boolean isUserSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUserSupported", ""));
1.579.2.2. getUserId()
protected int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.580. FingerprintRemoveSidecar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintRemoveSidecar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.580.1. FingerprintRemoveSidecar Field属性列表
1.580.1.1. Listener mListener;
private Listener mListener;
1.580.1.2. Fingerprint mFingerprintRemoving;
private Fingerprint mFingerprintRemoving;
1.580.1.3. Queue mFingerprintsRemoved;
private Queue mFingerprintsRemoved;
1.580.1.4. FingerprintManager mFingerprintManager;
FingerprintManager mFingerprintManager;
1.580.1.5. FingerprintManager.RemovalCallback mRemoveCallback
private FingerprintManager.RemovalCallback mRemoveCallback = new FingerprintManager.RemovalCallback() {
@Override
public void onRemovalSucceeded(Fingerprint fingerprint, int remaining) {
if (mListener != null) {
mListener.onRemovalSucceeded(fingerprint);
} else {
mFingerprintsRemoved.add(fingerprint);
}
;
mFingerprintRemoving = null;
}
@Override
public void onRemovalError(Fingerprint fp, int errMsgId, CharSequence errString) {
if (mListener != null) {
mListener.onRemovalError(fp, errMsgId, errString);
} else {
mFingerprintsRemoved.add(new RemovalError(fp, errMsgId, errString));
}
mFingerprintRemoving = null;
}
};
1.580.1.6. static final String TAG
private static final String TAG = "FingerprintRemoveSidecar";
1.580.2. FingerprintRemoveSidecarMethod方法列表
1.580.2.1. startRemove(Fingerprint fingerprint,int userId)
public void startRemove(Fingerprint fingerprint, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startRemove", "Fingerprint fingerprint,int userId"));
1.580.2.2. setFingerprintManager(FingerprintManager fingerprintManager)
public void setFingerprintManager(FingerprintManager fingerprintManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFingerprintManager", "FingerprintManager fingerprintManager"));
1.580.2.3. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.580.2.4. setListener(Listener listener)
public void setListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "Listener listener"));
1.580.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.580.2.6. final isRemovingFingerprint(int fid)
final boolean isRemovingFingerprint(int fid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRemovingFingerprint", "int fid"));
1.580.2.7. final inProgress()
final boolean inProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"inProgress", ""));
1.581. FingerprintSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.581.1. FingerprintSettings Field属性列表
1.581.1.1. static final String TAG
private static final String TAG = "FingerprintSettings";
1.581.1.2. static final int RESULT_FINISHED
/** * Used by the choose fingerprint wizard to indicate the wizard is * finished, and each activity in the wizard should finish. *
* Previously, each activity in the wizard would finish itself after * starting the next activity. However, this leads to broken 'Back' * behavior. So, now an activity does not finish itself until it gets this * result. */ protected static final int RESULT_FINISHED = RESULT_FIRST_USER;
1.581.1.3. static final int RESULT_SKIP
/**
* Used by the enrolling screen during setup wizard to skip over setting up fingerprint, which
* will be useful if the user accidentally entered this flow.
*/
protected static final int RESULT_SKIP = RESULT_FIRST_USER + 1;
1.581.1.4. static final int RESULT_TIMEOUT
/**
* Like {@link #RESULT_FINISHED} except this one indicates enrollment failed because the
* device was left idle. This is used to clear the credential token to require the user to
* re-enter their pin/pattern/password before continuing.
*/
protected static final int RESULT_TIMEOUT = RESULT_FIRST_USER + 2;
1.581.1.5. static final long LOCKOUT_DURATION
// time we have to wait for fp to reset, ms
private static final long LOCKOUT_DURATION = 30000;
1.581.1.6. static final String ANNOTATION_URL
public static final String ANNOTATION_URL = "url";
1.581.1.7. static final String ANNOTATION_ADMIN_DETAILS
public static final String ANNOTATION_ADMIN_DETAILS = "admin_details";
1.581.2. FingerprintSettingsMethod方法列表
1.581.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.581.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.581.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.582. FingerprintStatusPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintStatusPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.582.1. FingerprintStatusPreferenceController Field属性列表
1.582.1.1. final FingerprintManager mFingerprintManager;
protected final FingerprintManager mFingerprintManager;
1.582.1.2. final UserManager mUm;
protected final UserManager mUm;
1.582.1.3. final LockPatternUtils mLockPatternUtils;
protected final LockPatternUtils mLockPatternUtils;
1.582.1.4. final int mUserId
protected final int mUserId = UserHandle.myUserId();
1.582.1.5. final int mProfileChallengeUserId;
protected final int mProfileChallengeUserId;
1.582.1.6. static final String KEY_FINGERPRINT_SETTINGS
private static final String KEY_FINGERPRINT_SETTINGS = "fingerprint_settings";
1.582.2. FingerprintStatusPreferenceControllerMethod方法列表
1.582.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.582.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.582.2.3. getUserId()
protected int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.582.2.4. isUserSupported()
protected boolean isUserSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUserSupported", ""));
1.583. FingerprintSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.583.1. FingerprintSuggestionActivity Field属性列表
1.583.2. FingerprintSuggestionActivityMethod方法列表
1.583.2.1. initViews()
protected void initViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initViews", ""));
1.583.2.2. finish()
public void finish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finish", ""));
1.583.2.3. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.583.2.4. static isNotSingleFingerprintEnrolled(Context context)
private static boolean isNotSingleFingerprintEnrolled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNotSingleFingerprintEnrolled", "Context context"));
1.583.2.5. static isFingerprintEnabled(Context context)
static boolean isFingerprintEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFingerprintEnabled", "Context context"));
1.584. FingerprintUiHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/FingerprintUiHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.584.1. FingerprintUiHelper Field属性列表
1.584.1.1. ImageView mIcon;
private ImageView mIcon;
1.584.1.2. TextView mErrorTextView;
private TextView mErrorTextView;
1.584.1.3. CancellationSignal mCancellationSignal;
private CancellationSignal mCancellationSignal;
1.584.1.4. int mUserId;
private int mUserId;
1.584.1.5. Callback mCallback;
private Callback mCallback;
1.584.1.6. FingerprintManager mFingerprintManager;
private FingerprintManager mFingerprintManager;
1.584.1.7. Runnable mResetErrorTextRunnable
private Runnable mResetErrorTextRunnable = new Runnable() {
@Override
public void run() {
mErrorTextView.setText("");
mIcon.setImageResource(R.drawable.ic_fingerprint);
}
};
1.584.1.8. static final long ERROR_TIMEOUT
private static final long ERROR_TIMEOUT = 1300;
1.584.2. FingerprintUiHelperMethod方法列表
1.584.2.1. startListening()
public void startListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListening", ""));
1.584.2.2. stopListening()
public void stopListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListening", ""));
1.584.2.3. isListening()
public boolean isListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isListening", ""));
1.584.2.4. setFingerprintIconVisibility(boolean visible)
private void setFingerprintIconVisibility(boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFingerprintIconVisibility", "boolean visible"));
1.584.2.5. onAuthenticationError(int errMsgId,CharSequence errString)
public void onAuthenticationError(int errMsgId, CharSequence errString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthenticationError", "int errMsgId,CharSequence errString"));
1.584.2.6. onAuthenticationHelp(int helpMsgId,CharSequence helpString)
public void onAuthenticationHelp(int helpMsgId, CharSequence helpString)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthenticationHelp", "int helpMsgId,CharSequence helpString"));
1.584.2.7. onAuthenticationFailed()
public void onAuthenticationFailed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthenticationFailed", ""));
1.584.2.8. onAuthenticationSucceeded(FingerprintManager.AuthenticationResult result)
public void onAuthenticationSucceeded(FingerprintManager.AuthenticationResult result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAuthenticationSucceeded", "FingerprintManager.AuthenticationResult result"));
1.584.2.9. showError(CharSequence error)
private void showError(CharSequence error)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "CharSequence error"));
1.585. FirmwareVersionDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/FirmwareVersionDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.585.1. FirmwareVersionDialogController Field属性列表
1.585.1.1. RestrictedLockUtils.EnforcedAdmin mFunDisallowedAdmin;
private RestrictedLockUtils.EnforcedAdmin mFunDisallowedAdmin;
1.585.1.2. boolean mFunDisallowedBySystem;
private boolean mFunDisallowedBySystem;
1.585.1.3. final FirmwareVersionDialogFragment mDialog;
private final FirmwareVersionDialogFragment mDialog;
1.585.1.4. final Context mContext;
private final Context mContext;
1.585.1.5. final UserManager mUserManager;
private final UserManager mUserManager;
1.585.1.6. final long[] mHits
private final long[] mHits = new long[ACTIVITY_TRIGGER_COUNT];
1.585.1.7. static final String TAG
private static final String TAG = "firmwareDialogCtrl";
1.585.1.8. static final int DELAY_TIMER_MILLIS
private static final int DELAY_TIMER_MILLIS = 500;
1.585.1.9. static final int ACTIVITY_TRIGGER_COUNT
private static final int ACTIVITY_TRIGGER_COUNT = 3;
1.585.1.10. static final int FIRMWARE_VERSION_VALUE_ID
@VisibleForTesting
static final int FIRMWARE_VERSION_VALUE_ID = R.id.firmware_version_value;
1.585.1.11. static final int FIRMWARE_VERSION_LABEL_ID
@VisibleForTesting
static final int FIRMWARE_VERSION_LABEL_ID = R.id.firmware_version_label;
1.585.2. FirmwareVersionDialogControllerMethod方法列表
1.585.2.1. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.585.2.2. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.585.2.3. registerClickListeners()
private void registerClickListeners()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerClickListeners", ""));
1.585.2.4. arrayCopy()
void arrayCopy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"arrayCopy", ""));
1.585.2.5. initializeAdminPermissions()
void initializeAdminPermissions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeAdminPermissions", ""));
1.586. FirmwareVersionDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/FirmwareVersionDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.586.1. FirmwareVersionDialogFragment Field属性列表
1.586.1.1. View mRootView;
private View mRootView;
1.586.1.2. static final String TAG
private static final String TAG = "firmwareVersionDialog";
1.586.2. FirmwareVersionDialogFragmentMethod方法列表
1.586.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.586.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.586.2.3. setText(int viewId,CharSequence text)
public void setText(int viewId, CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "int viewId,CharSequence text"));
1.586.2.4. removeSettingFromScreen(int viewId)
public void removeSettingFromScreen(int viewId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeSettingFromScreen", "int viewId"));
1.586.2.5. registerClickListener(int viewId,View.OnClickListener listener)
public void registerClickListener(int viewId, View.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerClickListener", "int viewId,View.OnClickListener listener"));
1.586.2.6. initializeControllers()
private void initializeControllers()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeControllers", ""));
1.586.2.7. static show(Fragment host)
public static void show(Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host"));
1.587. FirmwareVersionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/FirmwareVersionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.587.1. FirmwareVersionPreferenceController Field属性列表
1.587.1.1. final Fragment mFragment;
private final Fragment mFragment;
1.587.1.2. static final String FIRMWARE_VERSION_KEY
private static final String FIRMWARE_VERSION_KEY = "firmware_version";
1.587.2. FirmwareVersionPreferenceControllerMethod方法列表
1.587.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.587.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.587.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.587.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.588. FixedLineSummaryPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/FixedLineSummaryPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.588.1. FixedLineSummaryPreference Field属性列表
1.588.1.1. int mSummaryLineCount;
private int mSummaryLineCount;
1.588.2. FixedLineSummaryPreferenceMethod方法列表
1.588.2.1. setSummaryLineCount(int count)
public void setSummaryLineCount(int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummaryLineCount", "int count"));
1.588.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.589. FixedOffsetPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/FixedOffsetPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.589.1. FixedOffsetPicker Field属性列表
1.589.1.1. static final int MIN_HOURS_OFFSET
/**
* Range of integer fixed UTC offsets shown in the pickers.
*/
private static final int MIN_HOURS_OFFSET = -14;
1.589.1.2. static final int MAX_HOURS_OFFSET
private static final int MAX_HOURS_OFFSET = +12;
1.589.2. FixedOffsetPickerMethod方法列表
1.589.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.589.2.2. getAllTimeZoneInfos(TimeZoneData timeZoneData)
public List getAllTimeZoneInfos(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAllTimeZoneInfos", "TimeZoneData timeZoneData"));
1.589.2.3. loadFixedOffsets()
private List loadFixedOffsets()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadFixedOffsets", ""));
1.590. FixedOffsetPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/FixedOffsetPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.590.1. FixedOffsetPreferenceController Field属性列表
1.590.1.1. TimeZoneInfo mTimeZoneInfo;
private TimeZoneInfo mTimeZoneInfo;
1.590.1.2. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "fixed_offset";
1.590.2. FixedOffsetPreferenceControllerMethod方法列表
1.590.2.1. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.590.2.2. setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTimeZoneInfo", "TimeZoneInfo timeZoneInfo"));
1.590.2.3. getTimeZoneInfo()
public TimeZoneInfo getTimeZoneInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneInfo" ,"getTimeZoneInfo", ""));
1.591. FocusRecyclerView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/FocusRecyclerView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.591.1. FocusRecyclerView Field属性列表
1.591.1.1. FocusListener mListener;
private FocusListener mListener;
1.591.2. FocusRecyclerViewMethod方法列表
1.591.2.1. onWindowFocusChanged(boolean hasWindowFocus)
public void onWindowFocusChanged(boolean hasWindowFocus)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWindowFocusChanged", "boolean hasWindowFocus"));
1.591.2.2. setListener(FocusListener listener)
public void setListener(FocusListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "FocusListener listener"));
1.592. FontSizePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/FontSizePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.592.1. FontSizePreferenceController Field属性列表
1.592.2. FontSizePreferenceControllerMethod方法列表
1.592.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.592.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.593. FontSizePreferenceFragmentForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/FontSizePreferenceFragmentForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.593.1. FontSizePreferenceFragmentForSetupWizard Field属性列表
1.593.2. FontSizePreferenceFragmentForSetupWizardMethod方法列表
1.593.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.593.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.594. ForceGpuRenderingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ForceGpuRenderingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.594.1. ForceGpuRenderingPreferenceController Field属性列表
1.594.1.1. static final String FORCE_HARDWARE_UI_KEY
private static final String FORCE_HARDWARE_UI_KEY = "force_hw_ui";
1.594.1.2. static final String HARDWARE_UI_PROPERTY
@VisibleForTesting
static final String HARDWARE_UI_PROPERTY = "persist.sys.ui.hw";
1.594.2. ForceGpuRenderingPreferenceControllerMethod方法列表
1.594.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.594.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.594.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.594.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.595. ForceMSAAPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ForceMSAAPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.595.1. ForceMSAAPreferenceController Field属性列表
1.595.1.1. static final String FORCE_MSAA_KEY
private static final String FORCE_MSAA_KEY = "force_msaa";
1.595.1.2. static final String MSAA_PROPERTY
@VisibleForTesting
static final String MSAA_PROPERTY = "debug.egl.force_msaa";
1.595.2. ForceMSAAPreferenceControllerMethod方法列表
1.595.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.595.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.595.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.595.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.596. ForceStopAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/ForceStopAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.596.1. ForceStopAction Field属性列表
1.596.1.1. ActivityManager mActivityManager;
private ActivityManager mActivityManager;
1.596.1.2. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.596.1.3. static final String TAG
private static final String TAG = "ForceStopAction";
1.596.2. ForceStopActionMethod方法列表
1.596.2.1. handlePositiveAction(Anomaly anomaly,int contextMetricsKey)
public void handlePositiveAction(Anomaly anomaly, int contextMetricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "Anomaly anomaly,int contextMetricsKey"));
1.596.2.2. isActionActive(Anomaly anomaly)
public boolean isActionActive(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActionActive", "Anomaly anomaly"));
1.596.2.3. getActionType()
public int getActionType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getActionType", ""));
1.597. ForgetDeviceDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/ForgetDeviceDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.597.1. ForgetDeviceDialogFragment Field属性列表
1.597.1.1. CachedBluetoothDevice mDevice;
private CachedBluetoothDevice mDevice;
1.597.1.2. static final String TAG
public static final String TAG = "ForgetBluetoothDevice";
1.597.1.3. static final String KEY_DEVICE_ADDRESS
private static final String KEY_DEVICE_ADDRESS = "device_address";
1.597.2. ForgetDeviceDialogFragmentMethod方法列表
1.597.2.1. getDevice(Context context)
CachedBluetoothDevice getDevice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CachedBluetoothDevice" ,"getDevice", "Context context"));
1.597.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.597.2.3. onCreateDialog(Bundle inState)
public Dialog onCreateDialog(Bundle inState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle inState"));
1.597.2.4. static newInstance(String deviceAddress)
public static ForgetDeviceDialogFragment newInstance(String deviceAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"ForgetDeviceDialogFragment" ,"newInstance", "String deviceAddress"));
1.598. FreeformWindowsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/FreeformWindowsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.598.1. FreeformWindowsPreferenceController Field属性列表
1.598.1.1. static final String ENABLE_FREEFORM_SUPPORT_KEY
private static final String ENABLE_FREEFORM_SUPPORT_KEY = "enable_freeform_support";
1.598.1.2. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.598.1.3. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.598.1.4. static final String USER_BUILD_TYPE
@VisibleForTesting
static final String USER_BUILD_TYPE = "user";
1.598.2. FreeformWindowsPreferenceControllerMethod方法列表
1.598.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.598.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.598.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.598.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.598.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.598.2.6. getBuildType()
String getBuildType()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getBuildType", ""));
1.599. GameControllerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/GameControllerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.599.1. GameControllerPreferenceController Field属性列表
1.599.1.1. Preference mPreference;
private Preference mPreference;
1.599.1.2. final InputManager mIm;
private final InputManager mIm;
1.599.2. GameControllerPreferenceControllerMethod方法列表
1.599.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.599.2.2. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.599.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.599.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.599.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.599.2.6. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.599.2.7. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.599.2.8. onInputDeviceAdded(int deviceId)
public void onInputDeviceAdded(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceAdded", "int deviceId"));
1.599.2.9. onInputDeviceRemoved(int deviceId)
public void onInputDeviceRemoved(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceRemoved", "int deviceId"));
1.599.2.10. onInputDeviceChanged(int deviceId)
public void onInputDeviceChanged(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceChanged", "int deviceId"));
1.600. GearPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/GearPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.600.1. GearPreference Field属性列表
1.600.1.1. OnGearClickListener mOnGearClickListener;
private OnGearClickListener mOnGearClickListener;
1.600.2. GearPreferenceMethod方法列表
1.600.2.1. setOnGearClickListener(OnGearClickListener l)
public void setOnGearClickListener(OnGearClickListener l)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnGearClickListener", "OnGearClickListener l"));
1.600.2.2. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.600.2.3. shouldHideSecondTarget()
protected boolean shouldHideSecondTarget()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideSecondTarget", ""));
1.600.2.4. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.600.2.5. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.601. GesturePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/GesturePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.601.1. GesturePreferenceController Field属性列表
1.601.1.1. VideoPreference mVideoPreference;
private VideoPreference mVideoPreference;
1.601.1.2. boolean mVideoPaused;
@VisibleForTesting
boolean mVideoPaused;
1.601.1.3. static final String KEY_VIDEO_PAUSED
@VisibleForTesting
static final String KEY_VIDEO_PAUSED = "key_video_paused";
1.601.2. GesturePreferenceControllerMethod方法列表
1.601.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.601.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.601.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.601.2.4. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.601.2.5. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.601.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.601.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.601.2.8. canHandleClicks()
protected boolean canHandleClicks()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canHandleClicks", ""));
1.601.2.9. abstract getVideoPrefKey()
protected abstract String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.602. GestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/GestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.602.1. GestureSettings Field属性列表
1.602.1.1. AmbientDisplayConfiguration mAmbientDisplayConfig;
private AmbientDisplayConfiguration mAmbientDisplayConfig;
1.602.1.2. static final String TAG
private static final String TAG = "GestureSettings";
1.602.1.3. static final String KEY_ASSIST
private static final String KEY_ASSIST = "gesture_assist_input_summary";
1.602.1.4. static final String KEY_SWIPE_DOWN
private static final String KEY_SWIPE_DOWN = "gesture_swipe_down_fingerprint_input_summary";
1.602.1.5. static final String KEY_DOUBLE_TAP_POWER
private static final String KEY_DOUBLE_TAP_POWER = "gesture_double_tap_power_input_summary";
1.602.1.6. static final String KEY_DOUBLE_TWIST
private static final String KEY_DOUBLE_TWIST = "gesture_double_twist_input_summary";
1.602.1.7. static final String KEY_DOUBLE_TAP_SCREEN
private static final String KEY_DOUBLE_TAP_SCREEN = "gesture_double_tap_screen_input_summary";
1.602.1.8. static final String KEY_PICK_UP
private static final String KEY_PICK_UP = "gesture_pick_up_input_summary";
1.602.1.9. static final String KEY_PREVENT_RINGING
private static final String KEY_PREVENT_RINGING = "gesture_prevent_ringing_summary";
1.602.1.10. static final String KEY_SWIPE_UP
private static final String KEY_SWIPE_UP = "gesture_swipe_up_input_summary";
1.602.1.11. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.gestures;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Duplicates in summary and details pages.
keys.add(KEY_ASSIST);
keys.add(KEY_SWIPE_DOWN);
keys.add(KEY_DOUBLE_TAP_POWER);
keys.add(KEY_DOUBLE_TWIST);
keys.add(KEY_SWIPE_UP);
keys.add(KEY_DOUBLE_TAP_SCREEN);
keys.add(KEY_PICK_UP);
keys.add(KEY_PREVENT_RINGING);
return keys;
}
};
1.602.2. GestureSettingsMethod方法列表
1.602.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.602.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.602.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.602.2.4. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.602.2.5. getConfig(Context context)
private AmbientDisplayConfiguration getConfig(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"AmbientDisplayConfiguration" ,"getConfig", "Context context"));
1.603. GesturesSettingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/GesturesSettingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.603.1. GesturesSettingPreferenceController Field属性列表
1.603.1.1. List mGestureControllers;
private List mGestureControllers;
1.603.1.2. final AssistGestureFeatureProvider mFeatureProvider;
private final AssistGestureFeatureProvider mFeatureProvider;
1.603.1.3. static final String KEY_GESTURES_SETTINGS
private static final String KEY_GESTURES_SETTINGS = "gesture_settings";
1.603.1.4. static final String FAKE_PREF_KEY
private static final String FAKE_PREF_KEY = "fake_key_only_for_get_available";
1.603.2. GesturesSettingPreferenceControllerMethod方法列表
1.603.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.603.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.603.2.3. static buildAllPreferenceControllers(@NonNull Context context)
private static List buildAllPreferenceControllers(@NonNull Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildAllPreferenceControllers", "@NonNull Context context"));
1.604. GlobalHttpProxyPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/GlobalHttpProxyPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.604.1. GlobalHttpProxyPreferenceController Field属性列表
1.604.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.604.1.2. static final String KEY_GLOBAL_HTTP_PROXY
private static final String KEY_GLOBAL_HTTP_PROXY = "global_http_proxy";
1.604.2. GlobalHttpProxyPreferenceControllerMethod方法列表
1.604.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.604.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.605. GlobalSettingSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/GlobalSettingSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.605.1. GlobalSettingSwitchPreferenceController Field属性列表
1.605.1.1. final String mSettingsKey;
private final String mSettingsKey;
1.605.1.2. final int mOn;
private final int mOn;
1.605.1.3. final int mOff;
private final int mOff;
1.605.1.4. final int mDefault;
private final int mDefault;
1.605.1.5. static final int SETTING_VALUE_OFF
private static final int SETTING_VALUE_OFF = 0;
1.605.1.6. static final int SETTING_VALUE_ON
private static final int SETTING_VALUE_ON = 1;
1.605.2. GlobalSettingSwitchPreferenceControllerMethod方法列表
1.605.2.1. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.605.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.605.2.3. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.606. GpuViewUpdatesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/GpuViewUpdatesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.606.1. GpuViewUpdatesPreferenceController Field属性列表
1.606.1.1. static final String SHOW_HW_SCREEN_UPDATES_KEY
private static final String SHOW_HW_SCREEN_UPDATES_KEY = "show_hw_screen_updates";
1.606.2. GpuViewUpdatesPreferenceControllerMethod方法列表
1.606.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.606.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.606.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.606.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.607. HandsFreeProfileOutputPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sound/HandsFreeProfileOutputPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.607.1. HandsFreeProfileOutputPreferenceController Field属性列表
1.607.2. HandsFreeProfileOutputPreferenceControllerMethod方法列表
1.607.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.607.2.2. setActiveBluetoothDevice(BluetoothDevice device)
public void setActiveBluetoothDevice(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActiveBluetoothDevice", "BluetoothDevice device"));
1.608. HapticFeedbackIntensityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/HapticFeedbackIntensityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.608.1. HapticFeedbackIntensityPreferenceController Field属性列表
1.608.1.1. static final String PREF_KEY
@VisibleForTesting
static final String PREF_KEY = "touch_vibration_preference_screen";
1.608.2. HapticFeedbackIntensityPreferenceControllerMethod方法列表
1.608.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.608.2.2. getDefaultIntensity()
protected int getDefaultIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIntensity", ""));
1.609. HardwareInfoDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/HardwareInfoDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.609.1. HardwareInfoDialogFragment Field属性列表
1.609.1.1. static final String TAG
public static final String TAG = "HardwareInfo";
1.609.2. HardwareInfoDialogFragmentMethod方法列表
1.609.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.609.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.609.2.3. setText(View content,int labelViewId,int valueViewId,String value)
void setText(View content, int labelViewId, int valueViewId, String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "View content,int labelViewId,int valueViewId,String value"));
1.609.2.4. getSerialNumber()
String getSerialNumber()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSerialNumber", ""));
1.609.2.5. static newInstance()
public static HardwareInfoDialogFragment newInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"HardwareInfoDialogFragment" ,"newInstance", ""));
1.610. HardwareLayersUpdatesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/HardwareLayersUpdatesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.610.1. HardwareLayersUpdatesPreferenceController Field属性列表
1.610.1.1. static final String SHOW_HW_LAYERS_UPDATES_KEY
private static final String SHOW_HW_LAYERS_UPDATES_KEY = "show_hw_layers_updates";
1.610.2. HardwareLayersUpdatesPreferenceControllerMethod方法列表
1.610.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.610.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.610.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.610.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.611. HardwareOverlaysPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/HardwareOverlaysPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.611.1. HardwareOverlaysPreferenceController Field属性列表
1.611.1.1. final IBinder mSurfaceFlinger;
private final IBinder mSurfaceFlinger;
1.611.1.2. static final String DISABLE_OVERLAYS_KEY
private static final String DISABLE_OVERLAYS_KEY = "disable_overlays";
1.611.1.3. static final int SETTING_VALUE_ON
private static final int SETTING_VALUE_ON = 1;
1.611.1.4. static final int SETTING_VALUE_OFF
private static final int SETTING_VALUE_OFF = 0;
1.611.1.5. static final String SURFACE_FLINGER_SERVICE_KEY
private static final String SURFACE_FLINGER_SERVICE_KEY = "SurfaceFlinger";
1.611.1.6. static final int SURFACE_FLINGER_READ_CODE
@VisibleForTesting
static final int SURFACE_FLINGER_READ_CODE = 1010;
1.611.1.7. static final int SURFACE_FLINGER_DISABLE_OVERLAYS_CODE
private static final int SURFACE_FLINGER_DISABLE_OVERLAYS_CODE = 1008;
1.611.1.8. static final String SURFACE_COMPOSER_INTERFACE_KEY
private static final String SURFACE_COMPOSER_INTERFACE_KEY = "android.ui.ISurfaceComposer";
1.611.2. HardwareOverlaysPreferenceControllerMethod方法列表
1.611.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.611.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.611.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.611.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.611.2.5. updateHardwareOverlaysSetting()
void updateHardwareOverlaysSetting()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHardwareOverlaysSetting", ""));
1.611.2.6. writeHardwareOverlaysSetting(boolean isEnabled)
void writeHardwareOverlaysSetting(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeHardwareOverlaysSetting", "boolean isEnabled"));
1.612. HdcpCheckingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/HdcpCheckingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.612.1. HdcpCheckingPreferenceController Field属性列表
1.612.1.1. final String[] mListValues;
private final String[] mListValues;
1.612.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.612.1.3. static final String HDCP_CHECKING_KEY
private static final String HDCP_CHECKING_KEY = "hdcp_checking";
1.612.1.4. static final String HDCP_CHECKING_PROPERTY
@VisibleForTesting
static final String HDCP_CHECKING_PROPERTY = "persist.sys.hdcp_checking";
1.612.1.5. static final String USER_BUILD_TYPE
@VisibleForTesting
static final String USER_BUILD_TYPE = "user";
1.612.2. HdcpCheckingPreferenceControllerMethod方法列表
1.612.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.612.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.612.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.612.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.612.2.5. updateHdcpValues(ListPreference preference)
private void updateHdcpValues(ListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHdcpValues", "ListPreference preference"));
1.612.2.6. getBuildType()
public String getBuildType()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getBuildType", ""));
1.613. HeaderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/HeaderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.613.1. HeaderPreferenceController Field属性列表
1.613.1.1. EntityHeaderController mHeaderController;
private EntityHeaderController mHeaderController;
1.613.1.2. boolean mStarted
private boolean mStarted = false;
1.613.1.3. final PreferenceFragment mFragment;
private final PreferenceFragment mFragment;
1.613.2. HeaderPreferenceControllerMethod方法列表
1.613.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.613.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.613.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.613.2.4. getLabel()
CharSequence getLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getLabel", ""));
1.613.2.5. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.613.2.6. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.614. HelpMenuController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/support/actionbar/HelpMenuController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.614.1. HelpMenuController Field属性列表
1.614.1.1. final Fragment mHost;
private final Fragment mHost;
1.614.2. HelpMenuControllerMethod方法列表
1.614.2.1. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.614.2.2. static init(@NonNull ObservablePreferenceFragment host)
public static void init(@NonNull ObservablePreferenceFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "@NonNull ObservablePreferenceFragment host"));
1.614.2.3. static init(@NonNull ObservableFragment host)
public static void init(@NonNull ObservableFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "@NonNull ObservableFragment host"));
1.615. HelpResourceProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/support/actionbar/HelpResourceProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.616. HelpTrampoline.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/HelpTrampoline.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.616.1. HelpTrampoline Field属性列表
1.616.1.1. static final String TAG
private static final String TAG = "HelpTrampoline";
1.616.2. HelpTrampolineMethod方法列表
1.616.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.617. HighlightablePreferenceGroupAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/HighlightablePreferenceGroupAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.617.1. HighlightablePreferenceGroupAdapter Field属性列表
1.617.1.1. boolean mFadeInAnimated;
@VisibleForTesting
boolean mFadeInAnimated;
1.617.1.2. boolean mHighlightRequested;
private boolean mHighlightRequested;
1.617.1.3. int mHighlightPosition
private int mHighlightPosition = RecyclerView.NO_POSITION;
1.617.1.4. final int mHighlightColor;
@VisibleForTesting
final int mHighlightColor;
1.617.1.5. final int mNormalBackgroundRes;
private final int mNormalBackgroundRes;
1.617.1.6. final String mHighlightKey;
private final String mHighlightKey;
1.617.1.7. static final String TAG
private static final String TAG = "HighlightableAdapter";
1.617.1.8. static final long DELAY_HIGHLIGHT_DURATION_MILLIS
@VisibleForTesting
static final long DELAY_HIGHLIGHT_DURATION_MILLIS = 600L;
1.617.1.9. static final long HIGHLIGHT_DURATION
private static final long HIGHLIGHT_DURATION = 15000L;
1.617.1.10. static final long HIGHLIGHT_FADE_OUT_DURATION
private static final long HIGHLIGHT_FADE_OUT_DURATION = 500L;
1.617.1.11. static final long HIGHLIGHT_FADE_IN_DURATION
private static final long HIGHLIGHT_FADE_IN_DURATION = 200L;
1.617.2. HighlightablePreferenceGroupAdapterMethod方法列表
1.617.2.1. onBindViewHolder(PreferenceViewHolder holder,int position)
public void onBindViewHolder(PreferenceViewHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder,int position"));
1.617.2.2. updateBackground(PreferenceViewHolder holder,int position)
void updateBackground(PreferenceViewHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBackground", "PreferenceViewHolder holder,int position"));
1.617.2.3. requestHighlight(View root,RecyclerView recyclerView)
public void requestHighlight(View root, RecyclerView recyclerView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestHighlight", "View root,RecyclerView recyclerView"));
1.617.2.4. isHighlightRequested()
public boolean isHighlightRequested()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isHighlightRequested", ""));
1.617.2.5. requestRemoveHighlightDelayed(View v)
void requestRemoveHighlightDelayed(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"requestRemoveHighlightDelayed", "View v"));
1.617.2.6. addHighlightBackground(View v,boolean animate)
private void addHighlightBackground(View v, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addHighlightBackground", "View v,boolean animate"));
1.617.2.7. removeHighlightBackground(View v,boolean animate)
private void removeHighlightBackground(View v, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeHighlightBackground", "View v,boolean animate"));
1.617.2.8. static adjustInitialExpandedChildCount(SettingsPreferenceFragment host)
public static void adjustInitialExpandedChildCount(SettingsPreferenceFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"adjustInitialExpandedChildCount", "SettingsPreferenceFragment host"));
1.618. HighPowerAppsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/HighPowerAppsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.618.1. HighPowerAppsController Field属性列表
1.618.1.1. static final String KEY_HIGH_POWER_APPS
@VisibleForTesting
static final String KEY_HIGH_POWER_APPS = "high_power_apps";
1.618.2. HighPowerAppsControllerMethod方法列表
1.618.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.619. HighPowerDetail.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/HighPowerDetail.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.619.1. HighPowerDetail Field属性列表
1.619.1.1. PowerWhitelistBackend mBackend;
@VisibleForTesting
PowerWhitelistBackend mBackend;
1.619.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.619.1.3. String mPackageName;
@VisibleForTesting
String mPackageName;
1.619.1.4. int mPackageUid;
@VisibleForTesting
int mPackageUid;
1.619.1.5. CharSequence mLabel;
private CharSequence mLabel;
1.619.1.6. boolean mDefaultOn;
private boolean mDefaultOn;
1.619.1.7. boolean mIsEnabled;
@VisibleForTesting
boolean mIsEnabled;
1.619.1.8. Checkable mOptionOn;
private Checkable mOptionOn;
1.619.1.9. Checkable mOptionOff;
private Checkable mOptionOff;
1.619.1.10. static final String ARG_DEFAULT_ON
private static final String ARG_DEFAULT_ON = "default_on";
1.619.2. HighPowerDetailMethod方法列表
1.619.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.619.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.619.2.3. setup(View view,boolean on)
public Checkable setup(View view, boolean on)
methodList.add(new ZMethod(mZAndroidAPPClass,"Checkable" ,"setup", "View view,boolean on"));
1.619.2.4. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.619.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.619.2.6. updateViews()
private void updateViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateViews", ""));
1.619.2.7. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.619.2.8. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.619.2.9. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.619.2.10. static logSpecialPermissionChange(boolean whitelist,String packageName,Context context)
static void logSpecialPermissionChange(boolean whitelist, String packageName, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean whitelist,String packageName,Context context"));
1.619.2.11. static getSummary(Context context,AppEntry entry)
public static CharSequence getSummary(Context context, AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,AppEntry entry"));
1.619.2.12. static getSummary(Context context,String pkg)
public static CharSequence getSummary(Context context, String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,String pkg"));
1.619.2.13. static show(Fragment caller,int uid,String packageName,int requestCode)
public static void show(Fragment caller, int uid, String packageName, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment caller,int uid,String packageName,int requestCode"));
1.620. HighUsageAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/HighUsageAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.620.1. HighUsageAdapter Field属性列表
1.620.1.1. final Context mContext;
private final Context mContext;
1.620.1.2. final IconDrawableFactory mIconDrawableFactory;
private final IconDrawableFactory mIconDrawableFactory;
1.620.1.3. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.620.1.4. final List mHighUsageAppList;
private final List mHighUsageAppList;
1.620.2. HighUsageAdapterMethod方法列表
1.620.2.1. onCreateViewHolder(ViewGroup parent,int viewType)
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"ViewHolder" ,"onCreateViewHolder", "ViewGroup parent,int viewType"));
1.620.2.2. onBindViewHolder(ViewHolder holder,int position)
public void onBindViewHolder(ViewHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "ViewHolder holder,int position"));
1.620.2.3. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.621. HighUsageDataParser.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/HighUsageDataParser.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.621.1. HighUsageDataParser Field属性列表
1.621.1.1. int mThreshold;
/**
* treat device as heavily used if battery usage is more than {@code threshold}. 1 means 1%
* battery usage.
*/
private int mThreshold;
1.621.1.2. long mEndTimeMs;
private long mEndTimeMs;
1.621.1.3. byte mEndBatteryLevel;
private byte mEndBatteryLevel;
1.621.1.4. byte mLastPeriodBatteryLevel;
private byte mLastPeriodBatteryLevel;
1.621.1.5. int mBatteryDrain;
private int mBatteryDrain;
1.621.1.6. final long mTimePeriodMs;
/**
* time period to check the battery usage
*/
private final long mTimePeriodMs;
1.621.2. HighUsageDataParserMethod方法列表
1.621.2.1. onParsingStarted(long startTime,long endTime)
public void onParsingStarted(long startTime, long endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingStarted", "long startTime,long endTime"));
1.621.2.2. onDataPoint(long time,BatteryStats.HistoryItem record)
public void onDataPoint(long time, BatteryStats.HistoryItem record)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataPoint", "long time,BatteryStats.HistoryItem record"));
1.621.2.3. onDataGap()
public void onDataGap()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataGap", ""));
1.621.2.4. onParsingDone()
public void onParsingDone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onParsingDone", ""));
1.621.2.5. isDeviceHeavilyUsed()
public boolean isDeviceHeavilyUsed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceHeavilyUsed", ""));
1.622. HighUsageDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/HighUsageDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.622.1. HighUsageDetector Field属性列表
1.622.1.1. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.622.1.2. BatteryStatsHelper mBatteryStatsHelper;
private BatteryStatsHelper mBatteryStatsHelper;
1.622.1.3. List mHighUsageAppList;
private List mHighUsageAppList;
1.622.1.4. HighUsageDataParser mDataParser;
@VisibleForTesting
HighUsageDataParser mDataParser;
1.622.1.5. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.622.1.6. boolean mDischarging;
@VisibleForTesting
boolean mDischarging;
1.622.2. HighUsageDetectorMethod方法列表
1.622.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.622.2.2. parseBatteryData()
void parseBatteryData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"parseBatteryData", ""));
1.623. HighUsageTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/HighUsageTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.623.1. HighUsageTip Field属性列表
1.623.1.1. final long mLastFullChargeTimeMs;
private final long mLastFullChargeTimeMs;
1.623.1.2. final List mHighUsageAppList;
@VisibleForTesting
final List mHighUsageAppList;
1.623.1.3. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new HighUsageTip(in);
}
public BatteryTip[] newArray(int size) {
return new HighUsageTip[size];
}
};
1.623.2. HighUsageTipMethod方法列表
1.623.2.1. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.623.2.2. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.623.2.3. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.623.2.4. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.623.2.5. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.623.2.6. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.623.2.7. getLastFullChargeTimeMs()
public long getLastFullChargeTimeMs()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getLastFullChargeTimeMs", ""));
1.623.2.8. getHighUsageAppList()
public List getHighUsageAppList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getHighUsageAppList", ""));
1.623.2.9. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.624. HotspotCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/HotspotCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.624.1. HotspotCondition Field属性列表
1.624.1.1. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.624.1.2. final Receiver mReceiver;
private final Receiver mReceiver;
1.624.1.3. static final IntentFilter WIFI_AP_STATE_FILTER
private static final IntentFilter WIFI_AP_STATE_FILTER = new IntentFilter(WifiManager.WIFI_AP_STATE_CHANGED_ACTION);
1.624.2. HotspotConditionMethod方法列表
1.624.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.624.2.2. getReceiver()
protected BroadcastReceiver getReceiver()
methodList.add(new ZMethod(mZAndroidAPPClass,"BroadcastReceiver" ,"getReceiver", ""));
1.624.2.3. getIntentFilter()
protected IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.624.2.4. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.624.2.5. getSsid()
private String getSsid()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSsid", ""));
1.624.2.6. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.624.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.624.2.8. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.624.2.9. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.624.2.10. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.624.2.11. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.625. HotspotOffReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/HotspotOffReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.625.1. HotspotOffReceiver Field属性列表
1.625.1.1. Context mContext;
private Context mContext;
1.625.1.2. boolean mRegistered;
private boolean mRegistered;
1.625.1.3. static final String TAG
private static final String TAG = "HotspotOffReceiver";
1.625.1.4. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.625.2. HotspotOffReceiverMethod方法列表
1.625.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.625.2.2. register()
public void register()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", ""));
1.625.2.3. unregister()
public void unregister()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregister", ""));
1.626. HowItWorks.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/HowItWorks.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.626.1. HowItWorks Field属性列表
1.626.2. HowItWorksMethod方法列表
1.626.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.626.2.2. onNavigateUp()
public boolean onNavigateUp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onNavigateUp", ""));
1.627. IccLockSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/IccLockSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.627.1. IccLockSettings Field属性列表
1.627.1.1. int mDialogState
// Which dialog to show next when popped up
private int mDialogState = OFF_MODE;
1.627.1.2. String mPin;
private String mPin;
1.627.1.3. String mOldPin;
private String mOldPin;
1.627.1.4. String mNewPin;
private String mNewPin;
1.627.1.5. String mError;
private String mError;
1.627.1.6. boolean mToState;
// Are we trying to enable or disable ICC lock?
private boolean mToState;
1.627.1.7. TabHost mTabHost;
private TabHost mTabHost;
1.627.1.8. TabWidget mTabWidget;
private TabWidget mTabWidget;
1.627.1.9. ListView mListView;
private ListView mListView;
1.627.1.10. Phone mPhone;
private Phone mPhone;
1.627.1.11. EditPinPreference mPinDialog;
private EditPinPreference mPinDialog;
1.627.1.12. SwitchPreference mPinToggle;
private SwitchPreference mPinToggle;
1.627.1.13. Resources mRes;
private Resources mRes;
1.627.1.14. Handler mHandler
// For replies from IccCard interface
private Handler mHandler = new Handler() {
public void handleMessage(Message msg) {
AsyncResult ar = (AsyncResult) msg.obj;
switch(msg.what) {
case MSG_ENABLE_ICC_PIN_COMPLETE:
iccLockChanged(ar.exception == null, msg.arg1);
break;
case MSG_CHANGE_ICC_PIN_COMPLETE:
iccPinChanged(ar.exception == null, msg.arg1);
break;
case MSG_SIM_STATE_CHANGED:
updatePreferences();
break;
}
return;
}
};
1.627.1.15. OnTabChangeListener mTabListener
private OnTabChangeListener mTabListener = new OnTabChangeListener() {
@Override
public void onTabChanged(String tabId) {
final int slotId = Integer.parseInt(tabId);
final SubscriptionInfo sir = SubscriptionManager.from(getActivity().getBaseContext()).getActiveSubscriptionInfoForSimSlotIndex(slotId);
mPhone = (sir == null) ? null : PhoneFactory.getPhone(SubscriptionManager.getPhoneId(sir.getSubscriptionId()));
// The User has changed tab; update the body.
updatePreferences();
}
};
1.627.1.16. TabContentFactory mEmptyTabContent
private TabContentFactory mEmptyTabContent = new TabContentFactory() {
@Override
public View createTabContent(String tag) {
return new View(mTabHost.getContext());
}
};
1.627.1.17. final BroadcastReceiver mSimStateReceiver
private final BroadcastReceiver mSimStateReceiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
final String action = intent.getAction();
if (TelephonyIntents.ACTION_SIM_STATE_CHANGED.equals(action)) {
mHandler.sendMessage(mHandler.obtainMessage(MSG_SIM_STATE_CHANGED));
}
}
};
1.627.1.18. static final String TAG
private static final String TAG = "IccLockSettings";
1.627.1.19. static final boolean DBG
private static final boolean DBG = true;
1.627.1.20. static final int OFF_MODE
private static final int OFF_MODE = 0;
1.627.1.21. static final int ICC_LOCK_MODE
// State when enabling/disabling ICC lock
private static final int ICC_LOCK_MODE = 1;
1.627.1.22. static final int ICC_OLD_MODE
// State when entering the old pin
private static final int ICC_OLD_MODE = 2;
1.627.1.23. static final int ICC_NEW_MODE
// State when entering the new pin - first time
private static final int ICC_NEW_MODE = 3;
1.627.1.24. static final int ICC_REENTER_MODE
// State when entering the new pin - second time
private static final int ICC_REENTER_MODE = 4;
1.627.1.25. static final String PIN_DIALOG
// Keys in xml file
private static final String PIN_DIALOG = "sim_pin";
1.627.1.26. static final String PIN_TOGGLE
private static final String PIN_TOGGLE = "sim_toggle";
1.627.1.27. static final String DIALOG_STATE
// Keys in icicle
private static final String DIALOG_STATE = "dialogState";
1.627.1.28. static final String DIALOG_PIN
private static final String DIALOG_PIN = "dialogPin";
1.627.1.29. static final String DIALOG_ERROR
private static final String DIALOG_ERROR = "dialogError";
1.627.1.30. static final String ENABLE_TO_STATE
private static final String ENABLE_TO_STATE = "enableState";
1.627.1.31. static final String CURRENT_TAB
private static final String CURRENT_TAB = "currentTab";
1.627.1.32. static final // (ex. portrait<-->landscape) during change PIN code private String OLD_PINCODE
// Save and restore inputted PIN code when configuration changed
// (ex. portrait<-->landscape) during change PIN code
private static final String OLD_PINCODE = "oldPinCode";
1.627.1.33. static final String NEW_PINCODE
private static final String NEW_PINCODE = "newPinCode";
1.627.1.34. static final int MIN_PIN_LENGTH
private static final int MIN_PIN_LENGTH = 4;
1.627.1.35. static final int MAX_PIN_LENGTH
private static final int MAX_PIN_LENGTH = 8;
1.627.1.36. static final int MSG_ENABLE_ICC_PIN_COMPLETE
// For async handler to identify request type
private static final int MSG_ENABLE_ICC_PIN_COMPLETE = 100;
1.627.1.37. static final int MSG_CHANGE_ICC_PIN_COMPLETE
private static final int MSG_CHANGE_ICC_PIN_COMPLETE = 101;
1.627.1.38. static final int MSG_SIM_STATE_CHANGED
private static final int MSG_SIM_STATE_CHANGED = 102;
1.627.2. IccLockSettingsMethod方法列表
1.627.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.627.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.627.2.3. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.627.2.4. updatePreferences()
private void updatePreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferences", ""));
1.627.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.627.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.627.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.627.2.8. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.627.2.9. onSaveInstanceState(Bundle out)
public void onSaveInstanceState(Bundle out)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle out"));
1.627.2.10. showPinDialog()
private void showPinDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPinDialog", ""));
1.627.2.11. setDialogValues()
private void setDialogValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDialogValues", ""));
1.627.2.12. onPinEntered(EditPinPreference preference,boolean positiveResult)
public void onPinEntered(EditPinPreference preference, boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPinEntered", "EditPinPreference preference,boolean positiveResult"));
1.627.2.13. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.627.2.14. tryChangeIccLockState()
private void tryChangeIccLockState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"tryChangeIccLockState", ""));
1.627.2.15. iccLockChanged(boolean success,int attemptsRemaining)
private void iccLockChanged(boolean success, int attemptsRemaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"iccLockChanged", "boolean success,int attemptsRemaining"));
1.627.2.16. iccPinChanged(boolean success,int attemptsRemaining)
private void iccPinChanged(boolean success, int attemptsRemaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"iccPinChanged", "boolean success,int attemptsRemaining"));
1.627.2.17. tryChangePin()
private void tryChangePin()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"tryChangePin", ""));
1.627.2.18. getPinPasswordErrorMessage(int attemptsRemaining)
private String getPinPasswordErrorMessage(int attemptsRemaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPinPasswordErrorMessage", "int attemptsRemaining"));
1.627.2.19. reasonablePin(String pin)
private boolean reasonablePin(String pin)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"reasonablePin", "String pin"));
1.627.2.20. resetDialogState()
private void resetDialogState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetDialogState", ""));
1.627.2.21. buildTabSpec(String tag,String title)
private TabSpec buildTabSpec(String tag, String title)
methodList.add(new ZMethod(mZAndroidAPPClass,"TabSpec" ,"buildTabSpec", "String tag,String title"));
1.627.2.22. static isIccLockEnabled()
static boolean isIccLockEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIccLockEnabled", ""));
1.627.2.23. static getSummary(Context context)
static String getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", "Context context"));
1.628. ImeAwareEditText.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ImeAwareEditText.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.628.1. ImeAwareEditText Field属性列表
1.628.1.1. boolean mHasPendingShowSoftInputRequest;
private boolean mHasPendingShowSoftInputRequest;
1.628.1.2. final Runnable mRunShowSoftInputIfNecessary
final Runnable mRunShowSoftInputIfNecessary = () -> showSoftInputIfNecessary();
1.628.2. ImeAwareEditTextMethod方法列表
1.628.2.1. onCreateInputConnection(EditorInfo editorInfo)
public InputConnection onCreateInputConnection(EditorInfo editorInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"InputConnection" ,"onCreateInputConnection", "EditorInfo editorInfo"));
1.628.2.2. showSoftInputIfNecessary()
private void showSoftInputIfNecessary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showSoftInputIfNecessary", ""));
1.628.2.3. scheduleShowSoftInput()
public void scheduleShowSoftInput()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleShowSoftInput", ""));
1.629. ImeiInfoDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ImeiInfoDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.629.1. ImeiInfoDialogController Field属性列表
1.629.1.1. final ImeiInfoDialogFragment mDialog;
private final ImeiInfoDialogFragment mDialog;
1.629.1.2. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.629.1.3. final SubscriptionInfo mSubscriptionInfo;
private final SubscriptionInfo mSubscriptionInfo;
1.629.1.4. final int mSlotId;
private final int mSlotId;
1.629.1.5. static final int ID_PRL_VERSION_VALUE
@VisibleForTesting
static final int ID_PRL_VERSION_VALUE = R.id.prl_version_value;
1.629.1.6. static final int ID_MIN_NUMBER_LABEL
private static final int ID_MIN_NUMBER_LABEL = R.id.min_number_label;
1.629.1.7. static final int ID_MIN_NUMBER_VALUE
@VisibleForTesting
static final int ID_MIN_NUMBER_VALUE = R.id.min_number_value;
1.629.1.8. static final int ID_MEID_NUMBER_VALUE
@VisibleForTesting
static final int ID_MEID_NUMBER_VALUE = R.id.meid_number_value;
1.629.1.9. static final int ID_IMEI_VALUE
@VisibleForTesting
static final int ID_IMEI_VALUE = R.id.imei_value;
1.629.1.10. static final int ID_IMEI_SV_VALUE
@VisibleForTesting
static final int ID_IMEI_SV_VALUE = R.id.imei_sv_value;
1.629.1.11. static final int ID_CDMA_SETTINGS
@VisibleForTesting
static final int ID_CDMA_SETTINGS = R.id.cdma_settings;
1.629.1.12. static final int ID_GSM_SETTINGS
@VisibleForTesting
static final int ID_GSM_SETTINGS = R.id.gsm_settings;
1.629.2. ImeiInfoDialogControllerMethod方法列表
1.629.2.1. populateImeiInfo()
public void populateImeiInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateImeiInfo", ""));
1.629.2.2. updateDialogForCdmaPhone()
private void updateDialogForCdmaPhone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDialogForCdmaPhone", ""));
1.629.2.3. updateDialogForGsmPhone()
private void updateDialogForGsmPhone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDialogForGsmPhone", ""));
1.629.2.4. getSubscriptionInfo(Context context,int slotId)
private SubscriptionInfo getSubscriptionInfo(Context context, int slotId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubscriptionInfo" ,"getSubscriptionInfo", "Context context,int slotId"));
1.629.2.5. getCdmaPrlVersion()
String getCdmaPrlVersion()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCdmaPrlVersion", ""));
1.629.2.6. isCdmaLteEnabled()
boolean isCdmaLteEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCdmaLteEnabled", ""));
1.629.2.7. getMeid()
String getMeid()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getMeid", ""));
1.629.2.8. static getTextAsDigits(CharSequence text)
private static CharSequence getTextAsDigits(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTextAsDigits", "CharSequence text"));
1.630. ImeiInfoDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ImeiInfoDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.630.1. ImeiInfoDialogFragment Field属性列表
1.630.1.1. View mRootView;
private View mRootView;
1.630.1.2. static final String TAG
@VisibleForTesting
static final String TAG = "ImeiInfoDialog";
1.630.1.3. static final String SLOT_ID_BUNDLE_KEY
private static final String SLOT_ID_BUNDLE_KEY = "arg_key_slot_id";
1.630.1.4. static final String DIALOG_TITLE_BUNDLE_KEY
private static final String DIALOG_TITLE_BUNDLE_KEY = "arg_key_dialog_title";
1.630.2. ImeiInfoDialogFragmentMethod方法列表
1.630.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.630.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.630.2.3. removeViewFromScreen(int viewId)
public void removeViewFromScreen(int viewId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeViewFromScreen", "int viewId"));
1.630.2.4. setText(int viewId,CharSequence text)
public void setText(int viewId, CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "int viewId,CharSequence text"));
1.630.2.5. static show(@NonNull Fragment host,int slotId,String dialogTitle)
public static void show(@NonNull Fragment host, int slotId, String dialogTitle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "@NonNull Fragment host,int slotId,String dialogTitle"));
1.631. ImeiInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/imei/ImeiInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.631.1. ImeiInfoPreferenceController Field属性列表
1.631.1.1. final boolean mIsMultiSim;
private final boolean mIsMultiSim;
1.631.1.2. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.631.1.3. final List mPreferenceList
private final List mPreferenceList = new ArrayList<>();
1.631.1.4. final Fragment mFragment;
private final Fragment mFragment;
1.631.1.5. static final String KEY_IMEI_INFO
private static final String KEY_IMEI_INFO = "imei_info";
1.631.2. ImeiInfoPreferenceControllerMethod方法列表
1.631.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.631.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.631.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.631.2.4. updatePreference(Preference preference,int simSlot)
private void updatePreference(Preference preference, int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "Preference preference,int simSlot"));
1.631.2.5. getTitleForGsmPhone(int simSlot)
private CharSequence getTitleForGsmPhone(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitleForGsmPhone", "int simSlot"));
1.631.2.6. getTitleForCdmaPhone(int simSlot)
private CharSequence getTitleForCdmaPhone(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitleForCdmaPhone", "int simSlot"));
1.631.2.7. getMeid(int simSlot)
String getMeid(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getMeid", "int simSlot"));
1.631.2.8. createNewPreference(Context context)
Preference createNewPreference(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createNewPreference", "Context context"));
1.632. ImePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ImePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.632.1. ImePreferenceController Field属性列表
1.632.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.632.1.2. static final String KEY_INPUT_METHOD
private static final String KEY_INPUT_METHOD = "input_method";
1.632.2. ImePreferenceControllerMethod方法列表
1.632.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.632.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.632.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.633. ImportancePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ImportancePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.633.1. ImportancePreferenceController Field属性列表
1.633.1.1. NotificationSettingsBase.ImportanceListener mImportanceListener;
private NotificationSettingsBase.ImportanceListener mImportanceListener;
1.633.1.2. static final String KEY_IMPORTANCE
private static final String KEY_IMPORTANCE = "importance";
1.633.2. ImportancePreferenceControllerMethod方法列表
1.633.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.633.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.633.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.633.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.633.2.5. getImportanceSummary(NotificationChannel channel)
protected String getImportanceSummary(NotificationChannel channel)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getImportanceSummary", "NotificationChannel channel"));
1.634. ImsStatusPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/ImsStatusPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.634.1. ImsStatusPreferenceController Field属性列表
1.634.2. ImsStatusPreferenceControllerMethod方法列表
1.635. InactiveApps.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/InactiveApps.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.635.1. InactiveApps Field属性列表
1.635.1.1. UsageStatsManager mUsageStats;
private UsageStatsManager mUsageStats;
1.635.1.2. static final CharSequence[] SETTABLE_BUCKETS_NAMES
private static final CharSequence[] SETTABLE_BUCKETS_NAMES = { "ACTIVE", "WORKING_SET", "FREQUENT", "RARE" };
1.635.1.3. static final CharSequence[] SETTABLE_BUCKETS_VALUES
private static final CharSequence[] SETTABLE_BUCKETS_VALUES = { Integer.toString(STANDBY_BUCKET_ACTIVE), Integer.toString(STANDBY_BUCKET_WORKING_SET), Integer.toString(STANDBY_BUCKET_FREQUENT), Integer.toString(STANDBY_BUCKET_RARE) };
1.635.2. InactiveAppsMethod方法列表
1.635.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.635.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.635.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.635.2.4. init()
private void init()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", ""));
1.635.2.5. updateSummary(ListPreference p)
private void updateSummary(ListPreference p)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "ListPreference p"));
1.635.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.635.2.7. static bucketToName(int bucket)
static String bucketToName(int bucket)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"bucketToName", "int bucket"));
1.636. Indexable.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/Indexable.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.637. IndexData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/indexing/IndexData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.637.1. IndexData Field属性列表
1.637.1.1. final String locale;
public final String locale;
1.637.1.2. final String updatedTitle;
public final String updatedTitle;
1.637.1.3. final String normalizedTitle;
public final String normalizedTitle;
1.637.1.4. final String updatedSummaryOn;
public final String updatedSummaryOn;
1.637.1.5. final String normalizedSummaryOn;
public final String normalizedSummaryOn;
1.637.1.6. final String entries;
public final String entries;
1.637.1.7. final String className;
public final String className;
1.637.1.8. final String childClassName;
public final String childClassName;
1.637.1.9. final String screenTitle;
public final String screenTitle;
1.637.1.10. final int iconResId;
public final int iconResId;
1.637.1.11. final String spaceDelimitedKeywords;
public final String spaceDelimitedKeywords;
1.637.1.12. final String intentAction;
public final String intentAction;
1.637.1.13. final String intentTargetPackage;
public final String intentTargetPackage;
1.637.1.14. final String intentTargetClass;
public final String intentTargetClass;
1.637.1.15. final boolean enabled;
public final boolean enabled;
1.637.1.16. final String key;
public final String key;
1.637.1.17. final int userId;
public final int userId;
1.637.1.18. final int payloadType;
public final int payloadType;
1.637.1.19. final byte[] payload;
public final byte[] payload;
1.637.1.20. static final String NON_BREAKING_HYPHEN
private static final String NON_BREAKING_HYPHEN = "‑";
1.637.1.21. static final String EMPTY
private static final String EMPTY = "";
1.637.1.22. static final String HYPHEN
private static final String HYPHEN = "-";
1.637.1.23. static final String SPACE
private static final String SPACE = " ";
1.637.1.24. static final String LIST_DELIMITERS
// Regex matching a comma, and any number of subsequent white spaces.
private static final String LIST_DELIMITERS = "[,]\\s*";
1.637.1.25. static final Pattern REMOVE_DIACRITICALS_PATTERN
private static final Pattern REMOVE_DIACRITICALS_PATTERN = Pattern.compile("\\p{InCombiningDiacriticalMarks}+");
1.637.2. IndexDataMethod方法列表
1.637.2.1. getDocId()
public int getDocId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDocId", ""));
1.637.2.2. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.637.2.3. static normalizeKeywords(String input)
public static String normalizeKeywords(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"normalizeKeywords", "String input"));
1.637.2.4. static normalizeHyphen(String input)
public static String normalizeHyphen(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"normalizeHyphen", "String input"));
1.637.2.5. static normalizeString(String input)
public static String normalizeString(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"normalizeString", "String input"));
1.637.2.6. static normalizeJapaneseString(String input)
public static String normalizeJapaneseString(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"normalizeJapaneseString", "String input"));
1.638. IndexDatabaseHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/IndexDatabaseHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.638.1. IndexDatabaseHelper Field属性列表
1.638.1.1. final Context mContext;
private final Context mContext;
1.638.1.2. static IndexDatabaseHelper sSingleton;
private static IndexDatabaseHelper sSingleton;
1.638.1.3. static final String TAG
private static final String TAG = "IndexDatabaseHelper";
1.638.1.4. static final String DATABASE_NAME
private static final String DATABASE_NAME = "search_index.db";
1.638.1.5. static final int DATABASE_VERSION
private static final int DATABASE_VERSION = 118;
1.638.1.6. static final String SHARED_PREFS_TAG
private static final String SHARED_PREFS_TAG = "indexing_manager";
1.638.1.7. static final String PREF_KEY_INDEXED_PROVIDERS
private static final String PREF_KEY_INDEXED_PROVIDERS = "indexed_providers";
1.638.1.8. static final String CREATE_INDEX_TABLE
private static final String CREATE_INDEX_TABLE = "CREATE VIRTUAL TABLE " + Tables.TABLE_PREFS_INDEX + " USING fts4" + "(" + IndexColumns.LOCALE + ", " + IndexColumns.DATA_RANK + ", " + IndexColumns.DATA_TITLE + ", " + IndexColumns.DATA_TITLE_NORMALIZED + ", " + IndexColumns.DATA_SUMMARY_ON + ", " + IndexColumns.DATA_SUMMARY_ON_NORMALIZED + ", " + IndexColumns.DATA_SUMMARY_OFF + ", " + IndexColumns.DATA_SUMMARY_OFF_NORMALIZED + ", " + IndexColumns.DATA_ENTRIES + ", " + IndexColumns.DATA_KEYWORDS + ", " + IndexColumns.SCREEN_TITLE + ", " + IndexColumns.CLASS_NAME + ", " + IndexColumns.ICON + ", " + IndexColumns.INTENT_ACTION + ", " + IndexColumns.INTENT_TARGET_PACKAGE + ", " + IndexColumns.INTENT_TARGET_CLASS + ", " + IndexColumns.ENABLED + ", " + IndexColumns.DATA_KEY_REF + ", " + IndexColumns.USER_ID + ", " + IndexColumns.PAYLOAD_TYPE + ", " + IndexColumns.PAYLOAD + ");";
1.638.1.9. static final String CREATE_META_TABLE
private static final String CREATE_META_TABLE = "CREATE TABLE " + Tables.TABLE_META_INDEX + "(" + MetaColumns.BUILD + " VARCHAR(32) NOT NULL" + ")";
1.638.1.10. static final String CREATE_SAVED_QUERIES_TABLE
private static final String CREATE_SAVED_QUERIES_TABLE = "CREATE TABLE " + Tables.TABLE_SAVED_QUERIES + "(" + SavedQueriesColumns.QUERY + " VARCHAR(64) NOT NULL" + ", " + SavedQueriesColumns.TIME_STAMP + " INTEGER" + ")";
1.638.1.11. static final String CREATE_SITE_MAP_TABLE
private static final String CREATE_SITE_MAP_TABLE = "CREATE VIRTUAL TABLE " + Tables.TABLE_SITE_MAP + " USING fts4" + "(" + SiteMapColumns.PARENT_CLASS + ", " + SiteMapColumns.CHILD_CLASS + ", " + SiteMapColumns.PARENT_TITLE + ", " + SiteMapColumns.CHILD_TITLE + ")";
1.638.1.12. static final String INSERT_BUILD_VERSION
private static final String INSERT_BUILD_VERSION = "INSERT INTO " + Tables.TABLE_META_INDEX + " VALUES ('" + Build.VERSION.INCREMENTAL + "');";
1.638.1.13. static final String SELECT_BUILD_VERSION
private static final String SELECT_BUILD_VERSION = "SELECT " + MetaColumns.BUILD + " FROM " + Tables.TABLE_META_INDEX + " LIMIT 1;";
1.638.2. IndexDatabaseHelperMethod方法列表
1.638.2.1. onCreate(SQLiteDatabase db)
public void onCreate(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "SQLiteDatabase db"));
1.638.2.2. bootstrapDB(SQLiteDatabase db)
private void bootstrapDB(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bootstrapDB", "SQLiteDatabase db"));
1.638.2.3. onOpen(SQLiteDatabase db)
public void onOpen(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOpen", "SQLiteDatabase db"));
1.638.2.4. onUpgrade(SQLiteDatabase db,int oldVersion,int newVersion)
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUpgrade", "SQLiteDatabase db,int oldVersion,int newVersion"));
1.638.2.5. onDowngrade(SQLiteDatabase db,int oldVersion,int newVersion)
public void onDowngrade(SQLiteDatabase db, int oldVersion, int newVersion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDowngrade", "SQLiteDatabase db,int oldVersion,int newVersion"));
1.638.2.6. reconstruct(SQLiteDatabase db)
public void reconstruct(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reconstruct", "SQLiteDatabase db"));
1.638.2.7. getBuildVersion(SQLiteDatabase db)
private String getBuildVersion(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getBuildVersion", "SQLiteDatabase db"));
1.638.2.8. dropTables(SQLiteDatabase db)
private void dropTables(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dropTables", "SQLiteDatabase db"));
1.638.2.9. static buildProviderVersionedNames(List providers)
static String buildProviderVersionedNames(List providers)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildProviderVersionedNames", "List providers"));
1.638.2.10. static setLocaleIndexed(Context context,String locale)
static void setLocaleIndexed(Context context, String locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocaleIndexed", "Context context,String locale"));
1.638.2.11. static setProvidersIndexed(Context context,String providerVersionedNames)
static void setProvidersIndexed(Context context, String providerVersionedNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProvidersIndexed", "Context context,String providerVersionedNames"));
1.638.2.12. static isLocaleAlreadyIndexed(Context context,String locale)
static boolean isLocaleAlreadyIndexed(Context context, String locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLocaleAlreadyIndexed", "Context context,String locale"));
1.638.2.13. static areProvidersIndexed(Context context,String providerVersionedNames)
static boolean areProvidersIndexed(Context context, String providerVersionedNames)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areProvidersIndexed", "Context context,String providerVersionedNames"));
1.638.2.14. static isBuildIndexed(Context context,String buildNo)
static boolean isBuildIndexed(Context context, String buildNo)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBuildIndexed", "Context context,String buildNo"));
1.638.2.15. static setBuildIndexed(Context context,String buildNo)
static void setBuildIndexed(Context context, String buildNo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBuildIndexed", "Context context,String buildNo"));
1.638.2.16. static sync getInstance(Context context)
public static synchronized IndexDatabaseHelper getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"IndexDatabaseHelper" ,"getInstance", "Context context"));
1.639. IndexDataConverter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/indexing/IndexDataConverter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.639.1. IndexDataConverter Field属性列表
1.639.1.1. final Context mContext;
private final Context mContext;
1.639.1.2. static final String LOG_TAG
private static final String LOG_TAG = "IndexDataConverter";
1.639.1.3. static final String NODE_NAME_PREFERENCE_SCREEN
private static final String NODE_NAME_PREFERENCE_SCREEN = "PreferenceScreen";
1.639.1.4. static final String NODE_NAME_CHECK_BOX_PREFERENCE
private static final String NODE_NAME_CHECK_BOX_PREFERENCE = "CheckBoxPreference";
1.639.1.5. static final String NODE_NAME_LIST_PREFERENCE
private static final String NODE_NAME_LIST_PREFERENCE = "ListPreference";
1.639.2. IndexDataConverterMethod方法列表
1.639.2.1. convertPreIndexDataToIndexData(PreIndexData preIndexData)
public List convertPreIndexDataToIndexData(PreIndexData preIndexData)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"convertPreIndexDataToIndexData", "PreIndexData preIndexData"));
1.639.2.2. convertRaw(SearchIndexableRaw raw,Set nonIndexableKeys)
private IndexData.Builder convertRaw(SearchIndexableRaw raw, Set nonIndexableKeys)
methodList.add(new ZMethod(mZAndroidAPPClass,"IndexData.Builder" ,"convertRaw", "SearchIndexableRaw raw,Set nonIndexableKeys"));
1.639.2.3. convertResource(SearchIndexableResource sir,Set nonIndexableKeys)
private List convertResource(SearchIndexableResource sir, Set nonIndexableKeys)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"convertResource", "SearchIndexableResource sir,Set nonIndexableKeys"));
1.639.2.4. getNonIndexableKeysForResource(Map> nonIndexableKeys,String packageName)
private Set getNonIndexableKeysForResource(Map> nonIndexableKeys, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getNonIndexableKeysForResource", "Map> nonIndexableKeys,String packageName"));
1.640. InjectedSetting.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/InjectedSetting.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.640.1. InjectedSetting Field属性列表
1.640.1.1. final String packageName;
/**
* Package for the subclass of {@link android.location.SettingInjectorService} and for the
* settings activity.
*/
public final String packageName;
1.640.1.2. final String className;
/**
* Class name for the subclass of {@link android.location.SettingInjectorService} that
* specifies dynamic values for the location setting.
*/
public final String className;
1.640.1.3. final String title;
/**
* The {@link android.support.v7.preference.Preference#getTitle()} value.
*/
public final String title;
1.640.1.4. final int iconId;
/**
* The {@link android.support.v7.preference.Preference#getIcon()} value.
*/
public final int iconId;
1.640.1.5. final UserHandle mUserHandle;
/**
* The user/profile associated with this setting (e.g. managed profile)
*/
public final UserHandle mUserHandle;
1.640.1.6. final String settingsActivity;
/**
* The activity to launch to allow the user to modify the settings value. Assumed to be in the
* {@link #packageName} package.
*/
public final String settingsActivity;
1.640.1.7. final String userRestriction;
/**
* The user restriction associated with this setting.
*/
public final String userRestriction;
1.640.2. InjectedSettingMethod方法列表
1.640.2.1. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.640.2.2. getServiceIntent()
public Intent getServiceIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getServiceIntent", ""));
1.640.2.3. equals(Object o)
public boolean equals(Object o)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object o"));
1.640.2.4. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.641. InlineListPayload.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/InlineListPayload.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.641.1. InlineListPayload Field属性列表
1.641.1.1. int mNumOptions;
/**
* Number of selections in the list.
*/
private int mNumOptions;
1.641.1.2. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
@Override
public InlineListPayload createFromParcel(Parcel in) {
return new InlineListPayload(in);
}
@Override
public InlineListPayload[] newArray(int size) {
return new InlineListPayload[size];
}
};
1.641.2. InlineListPayloadMethod方法列表
1.641.2.1. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.641.2.2. standardizeInput(int input)
protected int standardizeInput(int input) throws IllegalArgumentException
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"standardizeInput", "int input"));
1.641.2.3. getType()
public int getType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getType", ""));
1.642. InlinePayload.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/InlinePayload.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.642.1. InlinePayload Field属性列表
1.642.1.1. final String mSettingKey;
/**
* Defines the key to access and store the Setting the inline result represents.
*/
private final String mSettingKey;
1.642.1.2. final int mSettingSource;
/**
* Defines where the Setting is stored.
*/
@SettingsSource
final int mSettingSource;
1.642.1.3. final boolean mIsDeviceSupported;
/**
* True when the setting is available for the device.
*/
final boolean mIsDeviceSupported;
1.642.1.4. final int mDefaultvalue;
/**
* The default value for the setting.
*/
final int mDefaultvalue;
1.642.1.5. static final int FALSE
public static final int FALSE = 0;
1.642.1.6. static final int TRUE
public static final int TRUE = 1;
1.642.2. InlinePayloadMethod方法列表
1.642.2.1. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.642.2.2. getAvailability()
public int getAvailability()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailability", ""));
1.642.2.3. getValue(Context context)
public int getValue(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getValue", "Context context"));
1.642.2.4. setValue(Context context,int newValue)
public boolean setValue(Context context, int newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setValue", "Context context,int newValue"));
1.642.2.5. getKey()
public String getKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", ""));
1.642.2.6. abstract getType()
public abstract int getType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getType", ""));
1.642.2.7. abstract standardizeInput(int input)
protected abstract int standardizeInput(int input) throws IllegalArgumentException
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"standardizeInput", "int input"));
1.643. InlineSwitchPayload.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/InlineSwitchPayload.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.643.1. InlineSwitchPayload Field属性列表
1.643.1.1. boolean mIsStandard;
/**
* Provides a mapping for how switches are stored.
* If mIsStandard is true, then (0 == false) and (1 == true)
* If mIsStandard is false, then (1 == false) and (0 == true)
*/
private boolean mIsStandard;
1.643.1.2. static final int ON
private static final int ON = 1;
1.643.1.3. static final int OFF
private static final int OFF = 0;
1.643.1.4. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
@Override
public InlineSwitchPayload createFromParcel(Parcel in) {
return new InlineSwitchPayload(in);
}
@Override
public InlineSwitchPayload[] newArray(int size) {
return new InlineSwitchPayload[size];
}
};
1.643.2. InlineSwitchPayloadMethod方法列表
1.643.2.1. getType()
public int getType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getType", ""));
1.643.2.2. standardizeInput(int value)
protected int standardizeInput(int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"standardizeInput", "int value"));
1.643.2.3. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.643.2.4. isStandard()
public boolean isStandard()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isStandard", ""));
1.644. InputMethodAndSubtypeEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndSubtypeEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.644.1. InputMethodAndSubtypeEnabler Field属性列表
1.644.1.1. InputMethodAndSubtypeEnablerManager mManager;
private InputMethodAndSubtypeEnablerManager mManager;
1.644.2. InputMethodAndSubtypeEnablerMethod方法列表
1.644.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.644.2.2. onCreate(final Bundle icicle)
public void onCreate(final Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "final Bundle icicle"));
1.644.2.3. getStringExtraFromIntentOrArguments(final String name)
private String getStringExtraFromIntentOrArguments(final String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getStringExtraFromIntentOrArguments", "final String name"));
1.644.2.4. onActivityCreated(final Bundle icicle)
public void onActivityCreated(final Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "final Bundle icicle"));
1.644.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.644.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.645. InputMethodAndSubtypeEnablerActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/InputMethodAndSubtypeEnablerActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.645.1. InputMethodAndSubtypeEnablerActivity Field属性列表
1.645.1.1. static final String FRAGMENT_NAME
private static final String FRAGMENT_NAME = InputMethodAndSubtypeEnabler.class.getName();
1.645.2. InputMethodAndSubtypeEnablerActivityMethod方法列表
1.645.2.1. onCreate(final Bundle savedState)
protected void onCreate(final Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "final Bundle savedState"));
1.645.2.2. onNavigateUp()
public boolean onNavigateUp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onNavigateUp", ""));
1.645.2.3. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.645.2.4. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.646. InstallCredentialsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/InstallCredentialsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.646.1. InstallCredentialsPreferenceController Field属性列表
1.646.1.1. static final String KEY_CREDENTIALS_INSTALL
private static final String KEY_CREDENTIALS_INSTALL = "credentials_install";
1.646.2. InstallCredentialsPreferenceControllerMethod方法列表
1.646.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.647. InstalledAppCounter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/InstalledAppCounter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.647.1. InstalledAppCounter Field属性列表
1.647.1.1. final int mInstallReason;
private final int mInstallReason;
1.647.1.2. static final int IGNORE_INSTALL_REASON
/**
* Count all installed packages, irrespective of install reason.
*/
public static final int IGNORE_INSTALL_REASON = -1;
1.647.2. InstalledAppCounterMethod方法列表
1.647.2.1. includeInCount(ApplicationInfo info)
protected boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.647.2.2. static includeInCount(int installReason,PackageManagerWrapper pm,ApplicationInfo info)
public static boolean includeInCount(int installReason, PackageManagerWrapper pm, ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "int installReason,PackageManagerWrapper pm,ApplicationInfo info"));
1.648. InstalledAppDetailsTop.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/InstalledAppDetailsTop.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.648.1. InstalledAppDetailsTop Field属性列表
1.648.2. InstalledAppDetailsTopMethod方法列表
1.648.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.648.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.649. InstalledAppLister.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/InstalledAppLister.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.649.1. InstalledAppLister Field属性列表
1.649.2. InstalledAppListerMethod方法列表
1.649.2.1. includeInCount(ApplicationInfo info)
protected boolean includeInCount(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"includeInCount", "ApplicationInfo info"));
1.650. InstalledAppOpenByDefaultPage.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/InstalledAppOpenByDefaultPage.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.650.1. InstalledAppOpenByDefaultPage Field属性列表
1.650.2. InstalledAppOpenByDefaultPageMethod方法列表
1.650.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.650.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.651. InstantAppButtonsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/InstantAppButtonsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.651.1. InstantAppButtonsPreferenceController Field属性列表
1.651.1.1. String mLaunchUri;
private String mLaunchUri;
1.651.1.2. LayoutPreference mPreference;
private LayoutPreference mPreference;
1.651.1.3. MenuItem mInstallMenu;
private MenuItem mInstallMenu;
1.651.1.4. final AppInfoDashboardFragment mParent;
private final AppInfoDashboardFragment mParent;
1.651.1.5. final String mPackageName;
private final String mPackageName;
1.651.1.6. final PackageManagerWrapper mPackageManagerWrapper;
private final PackageManagerWrapper mPackageManagerWrapper;
1.651.1.7. static final String KEY_INSTANT_APP_BUTTONS
private static final String KEY_INSTANT_APP_BUTTONS = "instant_app_buttons";
1.651.1.8. static final String META_DATA_DEFAULT_URI
private static final String META_DATA_DEFAULT_URI = "default-url";
1.651.2. InstantAppButtonsPreferenceControllerMethod方法列表
1.651.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.651.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.651.2.3. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.651.2.4. onOptionsItemSelected(MenuItem menuItem)
public boolean onOptionsItemSelected(MenuItem menuItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem menuItem"));
1.651.2.5. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.651.2.6. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.651.2.7. createDialog(int id)
AlertDialog createDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id"));
1.651.2.8. initButtons(View view)
private void initButtons(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initButtons", "View view"));
1.651.2.9. getDefaultLaunchUri()
private String getDefaultLaunchUri()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultLaunchUri", ""));
1.652. InstantAppDomainsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/InstantAppDomainsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.652.1. InstantAppDomainsPreferenceController Field属性列表
1.652.1.1. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.652.2. InstantAppDomainsPreferenceControllerMethod方法列表
1.652.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.652.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.653. InstrumentedActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/InstrumentedActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.653.1. InstrumentedActivity Field属性列表
1.653.2. InstrumentedActivityMethod方法列表
1.653.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.654. InstrumentedDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/instrumentation/InstrumentedDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.654.1. InstrumentedDialogFragment Field属性列表
1.654.1.1. int mDialogId;
protected int mDialogId;
1.654.1.2. MetricsFeatureProvider mMetricsFeatureProvider;
protected MetricsFeatureProvider mMetricsFeatureProvider;
1.654.1.3. final DialogCreatable mDialogCreatable;
protected final DialogCreatable mDialogCreatable;
1.654.2. InstrumentedDialogFragmentMethod方法列表
1.654.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.655. InstrumentedFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/InstrumentedFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.655.1. InstrumentedFragment Field属性列表
1.655.1.1. MetricsFeatureProvider mMetricsFeatureProvider;
protected MetricsFeatureProvider mMetricsFeatureProvider;
1.655.1.2. VisibilityLoggerMixin mVisibilityLoggerMixin;
private VisibilityLoggerMixin mVisibilityLoggerMixin;
1.655.2. InstrumentedFragmentMethod方法列表
1.655.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.655.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.655.2.3. final getVisibilityLogger()
protected final VisibilityLoggerMixin getVisibilityLogger()
methodList.add(new ZMethod(mZAndroidAPPClass,"VisibilityLoggerMixin" ,"getVisibilityLogger", ""));
1.656. InstrumentedPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/InstrumentedPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.656.1. InstrumentedPreferenceFragment Field属性列表
1.656.1.1. MetricsFeatureProvider mMetricsFeatureProvider;
protected MetricsFeatureProvider mMetricsFeatureProvider;
1.656.1.2. VisibilityLoggerMixin mVisibilityLoggerMixin;
private VisibilityLoggerMixin mVisibilityLoggerMixin;
1.656.1.3. final int PLACEHOLDER_METRIC
// metrics placeholder value. Only use this for development.
protected final int PLACEHOLDER_METRIC = 10000;
1.656.1.4. static final String TAG
private static final String TAG = "InstrumentedPrefFrag";
1.656.2. InstrumentedPreferenceFragmentMethod方法列表
1.656.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.656.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.656.2.3. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.656.2.4. addPreferencesFromResource(@XmlRes int preferencesResId)
public void addPreferencesFromResource(@XmlRes int preferencesResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferencesFromResource", "@XmlRes int preferencesResId"));
1.656.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.656.2.6. updateActivityTitleWithScreenTitle(PreferenceScreen screen)
private void updateActivityTitleWithScreenTitle(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateActivityTitleWithScreenTitle", "PreferenceScreen screen"));
1.656.2.7. final getPrefContext()
protected final Context getPrefContext()
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"getPrefContext", ""));
1.656.2.8. final getVisibilityLogger()
protected final VisibilityLoggerMixin getVisibilityLogger()
methodList.add(new ZMethod(mZAndroidAPPClass,"VisibilityLoggerMixin" ,"getVisibilityLogger", ""));
1.657. InvertedChartAxis.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/InvertedChartAxis.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.657.1. InvertedChartAxis Field属性列表
1.657.1.1. float mSize;
private float mSize;
1.657.1.2. final ChartAxis mWrapped;
private final ChartAxis mWrapped;
1.657.2. InvertedChartAxisMethod方法列表
1.657.2.1. setBounds(long min,long max)
public boolean setBounds(long min, long max)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setBounds", "long min,long max"));
1.657.2.2. setSize(float size)
public boolean setSize(float size)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSize", "float size"));
1.657.2.3. convertToPoint(long value)
public float convertToPoint(long value)
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"convertToPoint", "long value"));
1.657.2.4. convertToValue(float point)
public long convertToValue(float point)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"convertToValue", "float point"));
1.657.2.5. buildLabel(Resources res,SpannableStringBuilder builder,long value)
public long buildLabel(Resources res, SpannableStringBuilder builder, long value)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"buildLabel", "Resources res,SpannableStringBuilder builder,long value"));
1.657.2.6. getTickPoints()
public float[] getTickPoints()
methodList.add(new ZMethod(mZAndroidAPPClass,"float[]" ,"getTickPoints", ""));
1.657.2.7. shouldAdjustAxis(long value)
public int shouldAdjustAxis(long value)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"shouldAdjustAxis", "long value"));
1.658. IpAddressPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/IpAddressPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.658.1. IpAddressPreferenceController Field属性列表
1.658.2. IpAddressPreferenceControllerMethod方法列表
1.658.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.659. KeepActivitiesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/KeepActivitiesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.659.1. KeepActivitiesPreferenceController Field属性列表
1.659.1.1. IActivityManager mActivityManager;
private IActivityManager mActivityManager;
1.659.1.2. static final String IMMEDIATELY_DESTROY_ACTIVITIES_KEY
private static final String IMMEDIATELY_DESTROY_ACTIVITIES_KEY = "immediately_destroy_activities";
1.659.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.659.2. KeepActivitiesPreferenceControllerMethod方法列表
1.659.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.659.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.659.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.659.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.659.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.659.2.6. writeImmediatelyDestroyActivitiesOptions(boolean isEnabled)
private void writeImmediatelyDestroyActivitiesOptions(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeImmediatelyDestroyActivitiesOptions", "boolean isEnabled"));
1.659.2.7. getActivityManager()
IActivityManager getActivityManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"IActivityManager" ,"getActivityManager", ""));
1.660. KernelVersionDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/KernelVersionDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.660.1. KernelVersionDialogController Field属性列表
1.660.1.1. final FirmwareVersionDialogFragment mDialog;
private final FirmwareVersionDialogFragment mDialog;
1.660.1.2. static int KERNEL_VERSION_VALUE_ID
@VisibleForTesting
static int KERNEL_VERSION_VALUE_ID = R.id.kernel_version_value;
1.660.2. KernelVersionDialogControllerMethod方法列表
1.660.2.1. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.661. KernelVersionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/KernelVersionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.661.1. KernelVersionPreferenceController Field属性列表
1.661.1.1. static final String KEY_KERNEL_VERSION
private static final String KEY_KERNEL_VERSION = "kernel_version";
1.661.2. KernelVersionPreferenceControllerMethod方法列表
1.661.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.661.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.661.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.662. KeyboardLayoutDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/KeyboardLayoutDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.662.1. KeyboardLayoutDialogFragment Field属性列表
1.662.1.1. InputDeviceIdentifier mInputDeviceIdentifier;
private InputDeviceIdentifier mInputDeviceIdentifier;
1.662.1.2. int mInputDeviceId
private int mInputDeviceId = -1;
1.662.1.3. InputManager mIm;
private InputManager mIm;
1.662.1.4. KeyboardLayoutAdapter mAdapter;
private KeyboardLayoutAdapter mAdapter;
1.662.1.5. static final String KEY_INPUT_DEVICE_IDENTIFIER
private static final String KEY_INPUT_DEVICE_IDENTIFIER = "inputDeviceIdentifier";
1.662.2. KeyboardLayoutDialogFragmentMethod方法列表
1.662.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.662.2.2. onAttach(Activity activity)
public void onAttach(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Activity activity"));
1.662.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.662.2.4. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.662.2.5. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.662.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.662.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.662.2.8. onCancel(DialogInterface dialog)
public void onCancel(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancel", "DialogInterface dialog"));
1.662.2.9. onSetupLayoutsButtonClicked()
private void onSetupLayoutsButtonClicked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetupLayoutsButtonClicked", ""));
1.662.2.10. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.662.2.11. onKeyboardLayoutClicked(int which)
private void onKeyboardLayoutClicked(int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onKeyboardLayoutClicked", "int which"));
1.662.2.12. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.662.2.13. onLoadFinished(Loader loader,Keyboards data)
public void onLoadFinished(Loader loader, Keyboards data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,Keyboards data"));
1.662.2.14. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.662.2.15. onInputDeviceAdded(int deviceId)
public void onInputDeviceAdded(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceAdded", "int deviceId"));
1.662.2.16. onInputDeviceChanged(int deviceId)
public void onInputDeviceChanged(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceChanged", "int deviceId"));
1.662.2.17. onInputDeviceRemoved(int deviceId)
public void onInputDeviceRemoved(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceRemoved", "int deviceId"));
1.662.2.18. updateSwitchHintVisibility()
private void updateSwitchHintVisibility()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSwitchHintVisibility", ""));
1.663. KeyboardLayoutPickerFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/KeyboardLayoutPickerFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.663.1. KeyboardLayoutPickerFragment Field属性列表
1.663.1.1. InputDeviceIdentifier mInputDeviceIdentifier;
private InputDeviceIdentifier mInputDeviceIdentifier;
1.663.1.2. int mInputDeviceId
private int mInputDeviceId = -1;
1.663.1.3. InputManager mIm;
private InputManager mIm;
1.663.1.4. KeyboardLayout[] mKeyboardLayouts;
private KeyboardLayout[] mKeyboardLayouts;
1.663.1.5. HashMap mPreferenceMap
private HashMap mPreferenceMap = new HashMap<>();
1.663.1.6. static final String EXTRA_INPUT_DEVICE_IDENTIFIER
/**
* Intent extra: The input device descriptor of the keyboard whose keyboard
* layout is to be changed.
*/
public static final String EXTRA_INPUT_DEVICE_IDENTIFIER = "input_device_identifier";
1.663.2. KeyboardLayoutPickerFragmentMethod方法列表
1.663.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.663.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.663.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.663.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.663.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.663.2.6. onInputDeviceAdded(int deviceId)
public void onInputDeviceAdded(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceAdded", "int deviceId"));
1.663.2.7. onInputDeviceChanged(int deviceId)
public void onInputDeviceChanged(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceChanged", "int deviceId"));
1.663.2.8. onInputDeviceRemoved(int deviceId)
public void onInputDeviceRemoved(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceRemoved", "int deviceId"));
1.663.2.9. createPreferenceHierarchy()
private PreferenceScreen createPreferenceHierarchy()
methodList.add(new ZMethod(mZAndroidAPPClass,"PreferenceScreen" ,"createPreferenceHierarchy", ""));
1.663.2.10. updateCheckedState()
private void updateCheckedState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCheckedState", ""));
1.664. LabeledSeekBar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/LabeledSeekBar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.664.1. LabeledSeekBar Field属性列表
1.664.1.1. OnSeekBarChangeListener mOnSeekBarChangeListener;
/** Seek bar change listener set via public method. */
private OnSeekBarChangeListener mOnSeekBarChangeListener;
1.664.1.2. String[] mLabels;
/** Labels for discrete progress values. */
private String[] mLabels;
1.664.1.3. final ExploreByTouchHelper mAccessHelper;
private final ExploreByTouchHelper mAccessHelper;
1.664.1.4. final OnSeekBarChangeListener mProxySeekBarListener
private final OnSeekBarChangeListener mProxySeekBarListener = new OnSeekBarChangeListener() {
@Override
public void onStopTrackingTouch(SeekBar seekBar) {
if (mOnSeekBarChangeListener != null) {
mOnSeekBarChangeListener.onStopTrackingTouch(seekBar);
}
}
@Override
public void onStartTrackingTouch(SeekBar seekBar) {
if (mOnSeekBarChangeListener != null) {
mOnSeekBarChangeListener.onStartTrackingTouch(seekBar);
}
}
@Override
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
if (mOnSeekBarChangeListener != null) {
mOnSeekBarChangeListener.onProgressChanged(seekBar, progress, fromUser);
sendClickEventForAccessibility(progress);
}
}
};
1.664.2. LabeledSeekBarMethod方法列表
1.664.2.1. setLabels(String[] labels)
public void setLabels(String[] labels)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabels", "String[] labels"));
1.664.2.2. setOnSeekBarChangeListener(OnSeekBarChangeListener l)
public void setOnSeekBarChangeListener(OnSeekBarChangeListener l)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnSeekBarChangeListener", "OnSeekBarChangeListener l"));
1.664.2.3. dispatchHoverEvent(MotionEvent event)
protected boolean dispatchHoverEvent(MotionEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"dispatchHoverEvent", "MotionEvent event"));
1.664.2.4. sendClickEventForAccessibility(int progress)
private void sendClickEventForAccessibility(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendClickEventForAccessibility", "int progress"));
1.664.2.5. sync setProgress(int progress)
public synchronized void setProgress(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "int progress"));
1.665. LanguageAndInputSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/language/LanguageAndInputSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.665.1. LanguageAndInputSettings Field属性列表
1.665.1.1. static final String TAG
private static final String TAG = "LangAndInputSettings";
1.665.1.2. static final String KEY_KEYBOARDS_CATEGORY
private static final String KEY_KEYBOARDS_CATEGORY = "keyboards_category";
1.665.1.3. static final String KEY_TEXT_TO_SPEECH
private static final String KEY_TEXT_TO_SPEECH = "tts_settings_summary";
1.665.1.4. static final String KEY_POINTER_AND_TTS_CATEGORY
private static final String KEY_POINTER_AND_TTS_CATEGORY = "pointer_and_tts_category";
1.665.1.5. static final String KEY_GAME_CONTROLLER_CATEGORY
private static final String KEY_GAME_CONTROLLER_CATEGORY = "game_controller_settings_category";
1.665.1.6. static final String KEY_PHYSICAL_KEYBOARD
private static final String KEY_PHYSICAL_KEYBOARD = "physical_keyboard_pref";
1.665.1.7. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = (activity, summaryLoader) -> new SummaryProvider(activity, summaryLoader);
1.665.1.8. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.language_and_input;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Duplicates in summary and details pages.
keys.add(KEY_TEXT_TO_SPEECH);
keys.add(KEY_PHYSICAL_KEYBOARD);
return keys;
}
};
1.665.2. LanguageAndInputSettingsMethod方法列表
1.665.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.665.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.665.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.665.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.665.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.665.2.6. static buildPreferenceControllers(@NonNull Context context,@Nullable Lifecycle lifecycle)
private static List buildPreferenceControllers(@NonNull Context context, @Nullable Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "@NonNull Context context,@Nullable Lifecycle lifecycle"));
1.666. LayoutPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/LayoutPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.666.1. LayoutPreference Field属性列表
1.666.1.1. boolean mAllowDividerAbove;
private boolean mAllowDividerAbove;
1.666.1.2. boolean mAllowDividerBelow;
private boolean mAllowDividerBelow;
1.666.1.3. View mRootView;
@VisibleForTesting
View mRootView;
1.666.1.4. final View.OnClickListener mClickListener
private final View.OnClickListener mClickListener = v -> performClick(v);
1.666.2. LayoutPreferenceMethod方法列表
1.666.2.1. init(Context context,AttributeSet attrs,int defStyleAttr)
private void init(Context context, AttributeSet attrs, int defStyleAttr)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "Context context,AttributeSet attrs,int defStyleAttr"));
1.666.2.2. setView(View view)
private void setView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setView", "View view"));
1.666.2.3. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.666.2.4. findViewById(int id)
public T findViewById(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"findViewById", "int id"));
1.667. LegacyVpnPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/LegacyVpnPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.667.1. LegacyVpnPreference Field属性列表
1.667.1.1. VpnProfile mProfile;
private VpnProfile mProfile;
1.667.2. LegacyVpnPreferenceMethod方法列表
1.667.2.1. getProfile()
public VpnProfile getProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"VpnProfile" ,"getProfile", ""));
1.667.2.2. setProfile(VpnProfile profile)
public void setProfile(VpnProfile profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProfile", "VpnProfile profile"));
1.667.2.3. compareTo(Preference preference)
public int compareTo(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "Preference preference"));
1.667.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.668. LegalSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/LegalSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.668.1. LegalSettings Field属性列表
1.668.1.1. static final String KEY_TERMS
private static final String KEY_TERMS = "terms";
1.668.1.2. static final String KEY_LICENSE
private static final String KEY_LICENSE = "license";
1.668.1.3. static final String KEY_COPYRIGHT
private static final String KEY_COPYRIGHT = "copyright";
1.668.1.4. static final String KEY_WEBVIEW_LICENSE
private static final String KEY_WEBVIEW_LICENSE = "webview_license";
1.668.1.5. static final String KEY_WALLPAPER_ATTRIBUTIONS
@VisibleForTesting
static final String KEY_WALLPAPER_ATTRIBUTIONS = "wallpaper_attributions";
1.668.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.about_legal;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
if (!checkIntentAction(context, "android.settings.TERMS")) {
keys.add(KEY_TERMS);
}
if (!checkIntentAction(context, "android.settings.LICENSE")) {
keys.add(KEY_LICENSE);
}
if (!checkIntentAction(context, "android.settings.COPYRIGHT")) {
keys.add(KEY_COPYRIGHT);
}
if (!checkIntentAction(context, "android.settings.WEBVIEW_LICENSE")) {
keys.add(KEY_WEBVIEW_LICENSE);
}
keys.add(KEY_WALLPAPER_ATTRIBUTIONS);
return keys;
}
private boolean checkIntentAction(Context context, String action) {
final Intent intent = new Intent(action);
// Find the activity that is in the system image
final PackageManager pm = context.getPackageManager();
final List list = pm.queryIntentActivities(intent, 0);
final int listSize = list.size();
for (int i = 0; i < listSize; i++) {
ResolveInfo resolveInfo = list.get(i);
if ((resolveInfo.activityInfo.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {
return true;
}
}
return false;
}
};
1.668.2. LegalSettingsMethod方法列表
1.668.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.668.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.668.2.3. checkWallpaperAttributionAvailability(Context context)
void checkWallpaperAttributionAvailability(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkWallpaperAttributionAvailability", "Context context"));
1.669. LiftToWakePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/LiftToWakePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.669.1. LiftToWakePreferenceController Field属性列表
1.669.1.1. static final String KEY_LIFT_TO_WAKE
private static final String KEY_LIFT_TO_WAKE = "lift_to_wake";
1.669.2. LiftToWakePreferenceControllerMethod方法列表
1.669.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.669.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.669.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.669.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.670. LightsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/LightsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.670.1. LightsPreferenceController Field属性列表
1.670.1.1. static final String KEY_LIGHTS
private static final String KEY_LIGHTS = "lights";
1.670.2. LightsPreferenceControllerMethod方法列表
1.670.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.670.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.670.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.670.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.670.2.5. canPulseLight()
boolean canPulseLight()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canPulseLight", ""));
1.671. LinkablePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/LinkablePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.671.1. LinkablePreference Field属性列表
1.671.1.1. LinkifyUtils.OnClickListener mClickListener;
private LinkifyUtils.OnClickListener mClickListener;
1.671.1.2. CharSequence mContentTitle;
private CharSequence mContentTitle;
1.671.1.3. CharSequence mContentDescription;
private CharSequence mContentDescription;
1.671.2. LinkablePreferenceMethod方法列表
1.671.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.671.2.2. setText(CharSequence contentTitle,@Nullable CharSequence contentDescription,LinkifyUtils.OnClickListener clickListener)
public void setText(CharSequence contentTitle, @Nullable CharSequence contentDescription, LinkifyUtils.OnClickListener clickListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "CharSequence contentTitle,@Nullable CharSequence contentDescription,LinkifyUtils.OnClickListener clickListener"));
1.671.2.3. setTitle(int titleResId)
public void setTitle(int titleResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitle", "int titleResId"));
1.671.2.4. setTitle(CharSequence title)
public void setTitle(CharSequence title)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitle", "CharSequence title"));
1.672. LinkifyUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/LinkifyUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.672.1. LinkifyUtils Field属性列表
1.672.1.1. static final String PLACE_HOLDER_LINK_BEGIN
private static final String PLACE_HOLDER_LINK_BEGIN = "LINK_BEGIN";
1.672.1.2. static final String PLACE_HOLDER_LINK_END
private static final String PLACE_HOLDER_LINK_END = "LINK_END";
1.672.2. LinkifyUtilsMethod方法列表
1.672.2.1. static linkify(TextView textView,StringBuilder text,final OnClickListener listener)
public static boolean linkify(TextView textView, StringBuilder text, final OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"linkify", "TextView textView,StringBuilder text,final OnClickListener listener"));
1.673. ListDialogPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ListDialogPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.673.1. ListDialogPreference Field属性列表
1.673.1.1. CharSequence[] mEntryTitles;
private CharSequence[] mEntryTitles;
1.673.1.2. int[] mEntryValues;
private int[] mEntryValues;
1.673.1.3. OnValueChangedListener mOnValueChangedListener;
private OnValueChangedListener mOnValueChangedListener;
1.673.1.4. int mListItemLayout;
/** The layout resource to use for grid items. */
private int mListItemLayout;
1.673.1.5. int mValue;
/** The current value of this preference. */
private int mValue;
1.673.1.6. int mValueIndex;
/** The index within the value set of the current value. */
private int mValueIndex;
1.673.1.7. boolean mValueSet;
/** Whether the value had been set using {@link #setValue}. */
private boolean mValueSet;
1.673.2. ListDialogPreferenceMethod方法列表
1.673.2.1. setOnValueChangedListener(OnValueChangedListener listener)
public void setOnValueChangedListener(OnValueChangedListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnValueChangedListener", "OnValueChangedListener listener"));
1.673.2.2. setListItemLayoutResource(int layoutResId)
public void setListItemLayoutResource(int layoutResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListItemLayoutResource", "int layoutResId"));
1.673.2.3. setValues(int[] values)
public void setValues(int[] values)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValues", "int[] values"));
1.673.2.4. setTitles(CharSequence[] titles)
public void setTitles(CharSequence[] titles)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitles", "CharSequence[] titles"));
1.673.2.5. getTitleAt(int index)
protected CharSequence getTitleAt(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitleAt", "int index"));
1.673.2.6. getValueAt(int index)
protected int getValueAt(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getValueAt", "int index"));
1.673.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.673.2.8. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.673.2.9. getIndexForValue(int value)
protected int getIndexForValue(int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIndexForValue", "int value"));
1.673.2.10. setValue(int value)
public void setValue(int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValue", "int value"));
1.673.2.11. getValue()
public int getValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getValue", ""));
1.673.2.12. onGetDefaultValue(TypedArray a,int index)
protected Object onGetDefaultValue(TypedArray a, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"onGetDefaultValue", "TypedArray a,int index"));
1.673.2.13. onSetInitialValue(boolean restoreValue,Object defaultValue)
protected void onSetInitialValue(boolean restoreValue, Object defaultValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetInitialValue", "boolean restoreValue,Object defaultValue"));
1.673.2.14. onSaveInstanceState()
protected Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.673.2.15. onRestoreInstanceState(Parcelable state)
protected void onRestoreInstanceState(Parcelable state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable state"));
1.673.2.16. abstract onBindListItem(View view,int index)
protected abstract void onBindListItem(View view, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindListItem", "View view,int index"));
1.674. LoadingViewController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/LoadingViewController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.674.1. LoadingViewController Field属性列表
1.674.1.1. Runnable mShowLoadingContainerRunnable
private Runnable mShowLoadingContainerRunnable = new Runnable() {
public void run() {
handleLoadingContainer(false, /* done */
false);
}
};
1.674.1.2. final Handler mFgHandler;
public final Handler mFgHandler;
1.674.1.3. final View mLoadingView;
public final View mLoadingView;
1.674.1.4. final View mContentView;
public final View mContentView;
1.674.1.5. static final long DELAY_SHOW_LOADING_CONTAINER_THRESHOLD_MS
private static final long DELAY_SHOW_LOADING_CONTAINER_THRESHOLD_MS = 100L;
1.674.2. LoadingViewControllerMethod方法列表
1.674.2.1. showContent(boolean animate)
public void showContent(boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showContent", "boolean animate"));
1.674.2.2. showLoadingViewDelayed()
public void showLoadingViewDelayed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showLoadingViewDelayed", ""));
1.674.2.3. handleLoadingContainer(boolean done,boolean animate)
public void handleLoadingContainer(boolean done, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleLoadingContainer", "boolean done,boolean animate"));
1.674.2.4. static handleLoadingContainer(View loading,View content,boolean done,boolean animate)
public static void handleLoadingContainer(View loading, View content, boolean done, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleLoadingContainer", "View loading,View content,boolean done,boolean animate"));
1.674.2.5. static setViewShown(final View view,boolean shown,boolean animate)
private static void setViewShown(final View view, boolean shown, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setViewShown", "final View view,boolean shown,boolean animate"));
1.675. LocalBackupPasswordPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/LocalBackupPasswordPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.675.1. LocalBackupPasswordPreferenceController Field属性列表
1.675.1.1. final UserManager mUserManager;
private final UserManager mUserManager;
1.675.1.2. final IBackupManager mBackupManager;
private final IBackupManager mBackupManager;
1.675.1.3. static final String LOCAL_BACKUP_PASSWORD
private static final String LOCAL_BACKUP_PASSWORD = "local_backup_password";
1.675.2. LocalBackupPasswordPreferenceControllerMethod方法列表
1.675.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.675.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.675.2.3. updatePasswordSummary(Preference preference)
private void updatePasswordSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePasswordSummary", "Preference preference"));
1.675.2.4. isAdminUser()
boolean isAdminUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdminUser", ""));
1.676. LocalBluetoothPreferences.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/LocalBluetoothPreferences.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.676.1. LocalBluetoothPreferences Field属性列表
1.676.1.1. static final String TAG
private static final String TAG = "LocalBluetoothPreferences";
1.676.1.2. static final boolean DEBUG
private static final boolean DEBUG = Utils.D;
1.676.1.3. static final String SHARED_PREFERENCES_NAME
private static final String SHARED_PREFERENCES_NAME = "bluetooth_settings";
1.676.1.4. static final // in the last 60 seconds, show the pairing dialogs in foreground instead // of raising notifications private int GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND
// If a device was picked from the device picker or was in discoverable mode
// in the last 60 seconds, show the pairing dialogs in foreground instead
// of raising notifications
private static final int GRACE_PERIOD_TO_SHOW_DIALOGS_IN_FOREGROUND = 60 * 1000;
1.676.1.5. static final String KEY_LAST_SELECTED_DEVICE
private static final String KEY_LAST_SELECTED_DEVICE = "last_selected_device";
1.676.1.6. static final String KEY_LAST_SELECTED_DEVICE_TIME
private static final String KEY_LAST_SELECTED_DEVICE_TIME = "last_selected_device_time";
1.676.1.7. static final String KEY_DISCOVERABLE_END_TIMESTAMP
private static final String KEY_DISCOVERABLE_END_TIMESTAMP = "discoverable_end_timestamp";
1.676.2. LocalBluetoothPreferencesMethod方法列表
1.676.2.1. static getSharedPreferences(Context context)
private static SharedPreferences getSharedPreferences(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SharedPreferences" ,"getSharedPreferences", "Context context"));
1.676.2.2. static getDiscoverableEndTimestamp(Context context)
static long getDiscoverableEndTimestamp(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getDiscoverableEndTimestamp", "Context context"));
1.676.2.3. static shouldShowDialogInForeground(Context context,String deviceAddress,String deviceName)
static boolean shouldShowDialogInForeground(Context context, String deviceAddress, String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowDialogInForeground", "Context context,String deviceAddress,String deviceName"));
1.676.2.4. static persistSelectedDeviceInPicker(Context context,String deviceAddress)
static void persistSelectedDeviceInPicker(Context context, String deviceAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"persistSelectedDeviceInPicker", "Context context,String deviceAddress"));
1.676.2.5. static persistDiscoverableEndTimestamp(Context context,long endTimestamp)
static void persistDiscoverableEndTimestamp(Context context, long endTimestamp)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"persistDiscoverableEndTimestamp", "Context context,long endTimestamp"));
1.677. LocalClassLoaderContextThemeWrapper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/LocalClassLoaderContextThemeWrapper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.677.1. LocalClassLoaderContextThemeWrapper Field属性列表
1.677.1.1. Class mLocalClass;
private Class mLocalClass;
1.677.2. LocalClassLoaderContextThemeWrapperMethod方法列表
1.677.2.1. getClassLoader()
public ClassLoader getClassLoader()
methodList.add(new ZMethod(mZAndroidAPPClass,"ClassLoader" ,"getClassLoader", ""));
1.678. LocalDeviceNameDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/LocalDeviceNameDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.678.1. LocalDeviceNameDialogFragment Field属性列表
1.678.1.1. LocalBluetoothAdapter mLocalAdapter;
private LocalBluetoothAdapter mLocalAdapter;
1.678.1.2. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED.equals(action) || (BluetoothAdapter.ACTION_STATE_CHANGED.equals(action) && intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR) == BluetoothAdapter.STATE_ON)) {
updateDeviceName();
}
}
};
1.678.1.3. static final String TAG
public static final String TAG = "LocalAdapterName";
1.678.2. LocalDeviceNameDialogFragmentMethod方法列表
1.678.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.678.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.678.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.678.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.678.2.5. getDialogTitle()
protected int getDialogTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogTitle", ""));
1.678.2.6. getDeviceName()
protected String getDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceName", ""));
1.678.2.7. setDeviceName(String deviceName)
protected void setDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDeviceName", "String deviceName"));
1.678.2.8. static newInstance()
public static LocalDeviceNameDialogFragment newInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"LocalDeviceNameDialogFragment" ,"newInstance", ""));
1.679. LocaleDragAndDropAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleDragAndDropAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.679.1. LocaleDragAndDropAdapter Field属性列表
1.679.1.1. RecyclerView mParentView
private RecyclerView mParentView = null;
1.679.1.2. boolean mRemoveMode
private boolean mRemoveMode = false;
1.679.1.3. boolean mDragEnabled
private boolean mDragEnabled = true;
1.679.1.4. NumberFormat mNumberFormatter
private NumberFormat mNumberFormatter = NumberFormat.getNumberInstance();
1.679.1.5. LocaleList mLocalesToSetNext
private LocaleList mLocalesToSetNext = null;
1.679.1.6. LocaleList mLocalesSetLast
private LocaleList mLocalesSetLast = null;
1.679.1.7. final Context mContext;
private final Context mContext;
1.679.1.8. final List mFeedItemList;
private final List mFeedItemList;
1.679.1.9. final ItemTouchHelper mItemTouchHelper;
private final ItemTouchHelper mItemTouchHelper;
1.679.1.10. static final String TAG
private static final String TAG = "LocaleDragAndDropAdapter";
1.679.1.11. static final String CFGKEY_SELECTED_LOCALES
private static final String CFGKEY_SELECTED_LOCALES = "selectedLocales";
1.679.2. LocaleDragAndDropAdapterMethod方法列表
1.679.2.1. setRecyclerView(RecyclerView rv)
public void setRecyclerView(RecyclerView rv)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRecyclerView", "RecyclerView rv"));
1.679.2.2. onCreateViewHolder(ViewGroup viewGroup,int i)
public CustomViewHolder onCreateViewHolder(ViewGroup viewGroup, int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"CustomViewHolder" ,"onCreateViewHolder", "ViewGroup viewGroup,int i"));
1.679.2.3. onBindViewHolder(final CustomViewHolder holder,int i)
public void onBindViewHolder(final CustomViewHolder holder, int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "final CustomViewHolder holder,int i"));
1.679.2.4. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.679.2.5. onItemMove(int fromPosition,int toPosition)
void onItemMove(int fromPosition, int toPosition)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemMove", "int fromPosition,int toPosition"));
1.679.2.6. setRemoveMode(boolean removeMode)
void setRemoveMode(boolean removeMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRemoveMode", "boolean removeMode"));
1.679.2.7. isRemoveMode()
boolean isRemoveMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRemoveMode", ""));
1.679.2.8. removeItem(int position)
void removeItem(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeItem", "int position"));
1.679.2.9. removeChecked()
void removeChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeChecked", ""));
1.679.2.10. getCheckedCount()
int getCheckedCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCheckedCount", ""));
1.679.2.11. addLocale(LocaleStore.LocaleInfo li)
void addLocale(LocaleStore.LocaleInfo li)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addLocale", "LocaleStore.LocaleInfo li"));
1.679.2.12. doTheUpdate()
public void doTheUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doTheUpdate", ""));
1.679.2.13. updateLocalesWhenAnimationStops(final LocaleList localeList)
public void updateLocalesWhenAnimationStops(final LocaleList localeList)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLocalesWhenAnimationStops", "final LocaleList localeList"));
1.679.2.14. setDragEnabled(boolean enabled)
private void setDragEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDragEnabled", "boolean enabled"));
1.679.2.15. saveState(Bundle outInstanceState)
public void saveState(Bundle outInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveState", "Bundle outInstanceState"));
1.679.2.16. restoreState(Bundle savedInstanceState)
public void restoreState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreState", "Bundle savedInstanceState"));
1.680. LocaleDragCell.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleDragCell.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.680.1. LocaleDragCell Field属性列表
1.680.1.1. // The checkbox shows in remove mode, and the label shows in normal mode, in the same position. // So we need to set the same text to both of them, and coordinate the show / hide. private TextView mLabel;
// We need to keep the label and the checkbox "in sync"
// The checkbox shows in remove mode, and the label shows in normal mode, in the same position.
// So we need to set the same text to both of them, and coordinate the show / hide.
private TextView mLabel;
1.680.1.2. CheckBox mCheckbox;
private CheckBox mCheckbox;
1.680.1.3. TextView mMiniLabel;
private TextView mMiniLabel;
1.680.1.4. TextView mLocalized;
private TextView mLocalized;
1.680.1.5. ImageView mDragHandle;
private ImageView mDragHandle;
1.680.2. LocaleDragCellMethod方法列表
1.680.2.1. onFinishInflate()
protected void onFinishInflate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFinishInflate", ""));
1.680.2.2. setShowHandle(boolean showHandle)
public void setShowHandle(boolean showHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowHandle", "boolean showHandle"));
1.680.2.3. setShowCheckbox(boolean showCheckbox)
public void setShowCheckbox(boolean showCheckbox)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowCheckbox", "boolean showCheckbox"));
1.680.2.4. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.680.2.5. setShowMiniLabel(boolean showMiniLabel)
public void setShowMiniLabel(boolean showMiniLabel)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowMiniLabel", "boolean showMiniLabel"));
1.680.2.6. setMiniLabel(String miniLabelText)
public void setMiniLabel(String miniLabelText)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMiniLabel", "String miniLabelText"));
1.680.2.7. setLabelAndDescription(String labelText,String description)
public void setLabelAndDescription(String labelText, String description)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabelAndDescription", "String labelText,String description"));
1.680.2.8. setLocalized(boolean localized)
public void setLocalized(boolean localized)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocalized", "boolean localized"));
1.680.2.9. getDragHandle()
public ImageView getDragHandle()
methodList.add(new ZMethod(mZAndroidAPPClass,"ImageView" ,"getDragHandle", ""));
1.680.2.10. getCheckbox()
public CheckBox getCheckbox()
methodList.add(new ZMethod(mZAndroidAPPClass,"CheckBox" ,"getCheckbox", ""));
1.681. LocaleFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.682. LocaleFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.682.1. LocaleFeatureProviderImpl Field属性列表
1.682.2. LocaleFeatureProviderImplMethod方法列表
1.682.2.1. getLocaleNames()
public String getLocaleNames()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLocaleNames", ""));
1.683. LocaleLinearLayoutManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleLinearLayoutManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.683.1. LocaleLinearLayoutManager Field属性列表
1.683.1.1. final LocaleDragAndDropAdapter mAdapter;
private final LocaleDragAndDropAdapter mAdapter;
1.683.1.2. final Context mContext;
private final Context mContext;
1.683.1.3. final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveUp;
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveUp;
1.683.1.4. final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveDown;
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveDown;
1.683.1.5. final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveTop;
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveTop;
1.683.1.6. final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveBottom;
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionMoveBottom;
1.683.1.7. final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionRemove;
private final AccessibilityNodeInfoCompat.AccessibilityActionCompat mActionRemove;
1.683.2. LocaleLinearLayoutManagerMethod方法列表
1.683.2.1. onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler,RecyclerView.State state,View host,AccessibilityNodeInfoCompat info)
public void onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, AccessibilityNodeInfoCompat info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInitializeAccessibilityNodeInfoForItem", "RecyclerView.Recycler recycler,RecyclerView.State state,View host,AccessibilityNodeInfoCompat info"));
1.683.2.2. performAccessibilityActionForItem(RecyclerView.Recycler recycler,RecyclerView.State state,View host,int action,Bundle args)
public boolean performAccessibilityActionForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, int action, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"performAccessibilityActionForItem", "RecyclerView.Recycler recycler,RecyclerView.State state,View host,int action,Bundle args"));
1.684. LocaleListEditor.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleListEditor.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.684.1. LocaleListEditor Field属性列表
1.684.1.1. LocaleDragAndDropAdapter mAdapter;
private LocaleDragAndDropAdapter mAdapter;
1.684.1.2. Menu mMenu;
private Menu mMenu;
1.684.1.3. View mAddLanguage;
private View mAddLanguage;
1.684.1.4. boolean mRemoveMode;
private boolean mRemoveMode;
1.684.1.5. boolean mShowingRemoveDialog;
private boolean mShowingRemoveDialog;
1.684.1.6. boolean mIsUiRestricted;
private boolean mIsUiRestricted;
1.684.1.7. static final String CFGKEY_REMOVE_MODE
private static final String CFGKEY_REMOVE_MODE = "localeRemoveMode";
1.684.1.8. static final String CFGKEY_REMOVE_DIALOG
private static final String CFGKEY_REMOVE_DIALOG = "showingLocaleRemoveDialog";
1.684.1.9. static final int MENU_ID_REMOVE
private static final int MENU_ID_REMOVE = Menu.FIRST + 1;
1.684.2. LocaleListEditorMethod方法列表
1.684.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.684.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.684.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstState"));
1.684.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.684.2.5. onViewStateRestored(Bundle savedInstanceState)
public void onViewStateRestored(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewStateRestored", "Bundle savedInstanceState"));
1.684.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.684.2.7. onOptionsItemSelected(MenuItem menuItem)
public boolean onOptionsItemSelected(MenuItem menuItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem menuItem"));
1.684.2.8. setRemoveMode(boolean mRemoveMode)
private void setRemoveMode(boolean mRemoveMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRemoveMode", "boolean mRemoveMode"));
1.684.2.9. showRemoveLocaleWarningDialog()
private void showRemoveLocaleWarningDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showRemoveLocaleWarningDialog", ""));
1.684.2.10. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.684.2.11. getUserLocaleList()
private List getUserLocaleList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getUserLocaleList", ""));
1.684.2.12. configureDragAndDrop(View view)
private void configureDragAndDrop(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"configureDragAndDrop", "View view"));
1.684.2.13. onLocaleSelected(LocaleStore.LocaleInfo locale)
public void onLocaleSelected(LocaleStore.LocaleInfo locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocaleSelected", "LocaleStore.LocaleInfo locale"));
1.684.2.14. updateVisibilityOfRemoveMenu()
private void updateVisibilityOfRemoveMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateVisibilityOfRemoveMenu", ""));
1.685. LocalePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/LocalePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.685.1. LocalePreference Field属性列表
1.685.2. LocalePreferenceMethod方法列表
1.685.2.1. init(Context context)
public void init(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "Context context"));
1.686. LocaleRecyclerView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/localepicker/LocaleRecyclerView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.686.1. LocaleRecyclerView Field属性列表
1.686.2. LocaleRecyclerViewMethod方法列表
1.686.2.1. onTouchEvent(MotionEvent e)
public boolean onTouchEvent(MotionEvent e)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onTouchEvent", "MotionEvent e"));
1.687. LocalTerminalPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/LocalTerminalPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.687.1. LocalTerminalPreferenceController Field属性列表
1.687.1.1. PackageManagerWrapper mPackageManager;
private PackageManagerWrapper mPackageManager;
1.687.1.2. UserManager mUserManager;
private UserManager mUserManager;
1.687.1.3. static final String ENABLE_TERMINAL_KEY
private static final String ENABLE_TERMINAL_KEY = "enable_terminal";
1.687.1.4. static final String TERMINAL_APP_PACKAGE
@VisibleForTesting
static final String TERMINAL_APP_PACKAGE = "com.android.terminal";
1.687.2. LocalTerminalPreferenceControllerMethod方法列表
1.687.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.687.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.687.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.687.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.687.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.687.2.6. onDeveloperOptionsSwitchEnabled()
protected void onDeveloperOptionsSwitchEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchEnabled", ""));
1.687.2.7. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.687.2.8. getPackageManagerWrapper()
PackageManagerWrapper getPackageManagerWrapper()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageManagerWrapper" ,"getPackageManagerWrapper", ""));
1.687.2.9. isPackageInstalled(String packageName)
private boolean isPackageInstalled(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPackageInstalled", "String packageName"));
1.687.2.10. isEnabled()
private boolean isEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnabled", ""));
1.688. LocationBasePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationBasePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.688.1. LocationBasePreferenceController Field属性列表
1.688.1.1. final UserManager mUserManager;
protected final UserManager mUserManager;
1.688.1.2. final LocationEnabler mLocationEnabler;
protected final LocationEnabler mLocationEnabler;
1.688.2. LocationBasePreferenceControllerMethod方法列表
1.688.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.689. LocationCheckAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/LocationCheckAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.689.1. LocationCheckAction Field属性列表
1.689.1.1. final RuntimePermissionPresenter mRuntimePermissionPresenter;
private final RuntimePermissionPresenter mRuntimePermissionPresenter;
1.689.1.2. static final String TAG
private static final String TAG = "LocationCheckAction";
1.689.2. LocationCheckActionMethod方法列表
1.689.2.1. handlePositiveAction(Anomaly anomaly,int contextMetricsKey)
public void handlePositiveAction(Anomaly anomaly, int contextMetricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "Anomaly anomaly,int contextMetricsKey"));
1.689.2.2. isActionActive(Anomaly anomaly)
public boolean isActionActive(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActionActive", "Anomaly anomaly"));
1.689.2.3. getActionType()
public int getActionType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getActionType", ""));
1.689.2.4. isPermissionGranted(Anomaly anomaly,String permission)
private boolean isPermissionGranted(Anomaly anomaly, String permission)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPermissionGranted", "Anomaly anomaly,String permission"));
1.690. LocationEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.690.1. LocationEnabler Field属性列表
1.690.1.1. BroadcastReceiver mReceiver;
@VisibleForTesting
BroadcastReceiver mReceiver;
1.690.1.2. final Context mContext;
private final Context mContext;
1.690.1.3. final UserManager mUserManager;
private final UserManager mUserManager;
1.690.1.4. final LocationModeChangeListener mListener;
private final LocationModeChangeListener mListener;
1.690.1.5. static final String TAG
private static final String TAG = "LocationEnabler";
1.690.1.6. static final IntentFilter INTENT_FILTER_LOCATION_MODE_CHANGED
@VisibleForTesting
static final IntentFilter INTENT_FILTER_LOCATION_MODE_CHANGED = new IntentFilter(LocationManager.MODE_CHANGED_ACTION);
1.690.2. LocationEnablerMethod方法列表
1.690.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.690.2.2. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.690.2.3. refreshLocationMode()
void refreshLocationMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshLocationMode", ""));
1.690.2.4. setLocationEnabled(boolean enabled)
void setLocationEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocationEnabled", "boolean enabled"));
1.690.2.5. setLocationMode(int mode)
void setLocationMode(int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocationMode", "int mode"));
1.690.2.6. isEnabled(int mode)
boolean isEnabled(int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnabled", "int mode"));
1.690.2.7. isManagedProfileRestrictedByBase()
boolean isManagedProfileRestrictedByBase()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isManagedProfileRestrictedByBase", ""));
1.690.2.8. getShareLocationEnforcedAdmin(int userId)
RestrictedLockUtils.EnforcedAdmin getShareLocationEnforcedAdmin(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedLockUtils.EnforcedAdmin" ,"getShareLocationEnforcedAdmin", "int userId"));
1.690.2.9. hasShareLocationRestriction(int userId)
boolean hasShareLocationRestriction(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasShareLocationRestriction", "int userId"));
1.690.2.10. isRestricted()
private boolean isRestricted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRestricted", ""));
1.691. LocationFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.691.1. LocationFooterPreferenceController Field属性列表
1.691.1.1. Collection mFooterInjectors;
private Collection mFooterInjectors;
1.691.1.2. final Context mContext;
private final Context mContext;
1.691.1.3. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.691.1.4. static final String TAG
private static final String TAG = "LocationFooter";
1.691.1.5. static final String KEY_LOCATION_FOOTER
private static final String KEY_LOCATION_FOOTER = "location_footer";
1.691.1.6. static final Intent INJECT_INTENT
private static final Intent INJECT_INTENT = new Intent(LocationManager.SETTINGS_FOOTER_DISPLAYED_ACTION);
1.691.2. LocationFooterPreferenceControllerMethod方法列表
1.691.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.691.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.691.2.3. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.691.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.691.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.691.2.6. sendBroadcastFooterDisplayed(ComponentName componentName)
void sendBroadcastFooterDisplayed(ComponentName componentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"sendBroadcastFooterDisplayed", "ComponentName componentName"));
1.691.2.7. getFooterData()
private Collection getFooterData()
methodList.add(new ZMethod(mZAndroidAPPClass,"Collection" ,"getFooterData", ""));
1.692. LocationForWorkPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationForWorkPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.692.1. LocationForWorkPreferenceController Field属性列表
1.692.1.1. RestrictedSwitchPreference mPreference;
private RestrictedSwitchPreference mPreference;
1.692.1.2. static final String KEY_MANAGED_PROFILE_SWITCH
/**
* Key for managed profile location switch preference. Shown only
* if there is a managed profile.
*/
private static final String KEY_MANAGED_PROFILE_SWITCH = "managed_profile_location_switch";
1.692.2. LocationForWorkPreferenceControllerMethod方法列表
1.692.2.1. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.692.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.692.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.692.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.692.2.5. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.693. LocationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.693.1. LocationPreferenceController Field属性列表
1.693.1.1. Context mContext;
private Context mContext;
1.693.1.2. Preference mPreference;
private Preference mPreference;
1.693.1.3. BroadcastReceiver mLocationProvidersChangedReceiver;
@VisibleForTesting
BroadcastReceiver mLocationProvidersChangedReceiver;
1.693.1.4. static final String KEY_LOCATION
private static final String KEY_LOCATION = "location";
1.693.2. LocationPreferenceControllerMethod方法列表
1.693.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.693.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.693.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.693.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.693.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.693.2.6. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.693.2.7. updateSummary()
public void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.693.2.8. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.693.2.9. static getLocationSummary(Context context)
public static String getLocationSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLocationSummary", "Context context"));
1.694. LocationScanningPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationScanningPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.694.1. LocationScanningPreferenceController Field属性列表
1.694.1.1. static final String KEY_LOCATION_SCANNING
@VisibleForTesting
static final String KEY_LOCATION_SCANNING = "location_scanning";
1.694.2. LocationScanningPreferenceControllerMethod方法列表
1.694.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.695. LocationServicePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationServicePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.695.1. LocationServicePreferenceController Field属性列表
1.695.1.1. PreferenceCategory mCategoryLocationServices;
private PreferenceCategory mCategoryLocationServices;
1.695.1.2. BroadcastReceiver mInjectedSettingsReceiver;
/** Receives UPDATE_INTENT */
@VisibleForTesting
BroadcastReceiver mInjectedSettingsReceiver;
1.695.1.3. final LocationSettings mFragment;
private final LocationSettings mFragment;
1.695.1.4. final SettingsInjector mInjector;
private final SettingsInjector mInjector;
1.695.1.5. static final String TAG
private static final String TAG = "LocationServicePrefCtrl";
1.695.1.6. static final String KEY_LOCATION_SERVICES
/** Key for preference category "Location services" */
private static final String KEY_LOCATION_SERVICES = "location_services";
1.695.1.7. static final IntentFilter INTENT_FILTER_INJECTED_SETTING_CHANGED
@VisibleForTesting
static final IntentFilter INTENT_FILTER_INJECTED_SETTING_CHANGED = new IntentFilter(SettingInjectorService.ACTION_INJECTED_SETTING_CHANGED);
1.695.2. LocationServicePreferenceControllerMethod方法列表
1.695.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.695.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.695.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.695.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.695.2.5. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.695.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.695.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.695.2.8. getLocationServices()
private List getLocationServices()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getLocationServices", ""));
1.696. LocationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.696.1. LocationSettings Field属性列表
1.696.1.1. LocationSwitchBarController mSwitchBarController;
private LocationSwitchBarController mSwitchBarController;
1.696.1.2. static final String TAG
private static final String TAG = "LocationSettings";
1.696.1.3. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.696.1.4. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.location_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* fragment */
null);
}
};
1.696.2. LocationSettingsMethod方法列表
1.696.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.696.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.696.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.696.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.696.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.696.2.6. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.696.2.7. static addPreferencesSorted(List prefs,PreferenceGroup container)
static void addPreferencesSorted(List prefs, PreferenceGroup container)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferencesSorted", "List prefs,PreferenceGroup container"));
1.696.2.8. static buildPreferenceControllers(Context context,LocationSettings fragment,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, LocationSettings fragment, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,LocationSettings fragment,Lifecycle lifecycle"));
1.697. LocationSliceBuilder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationSliceBuilder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.697.1. LocationSliceBuilder Field属性列表
1.697.1.1. static final Uri LOCATION_URI
/**
* Backing Uri for the Location Slice.
*/
public static final Uri LOCATION_URI = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(SettingsSlicesContract.AUTHORITY).appendPath(SettingsSlicesContract.PATH_SETTING_ACTION).appendPath(KEY_LOCATION).build();
1.697.2. LocationSliceBuilderMethod方法列表
1.697.2.1. static getSlice(Context context)
public static Slice getSlice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getSlice", "Context context"));
1.697.2.2. static getIntent(Context context)
public static Intent getIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", "Context context"));
1.697.2.3. static getPrimaryAction(Context context)
private static PendingIntent getPrimaryAction(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getPrimaryAction", "Context context"));
1.698. LocationSwitchBarController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/LocationSwitchBarController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.698.1. LocationSwitchBarController Field属性列表
1.698.1.1. boolean mValidListener;
private boolean mValidListener;
1.698.1.2. final SwitchBar mSwitchBar;
private final SwitchBar mSwitchBar;
1.698.1.3. final Switch mSwitch;
private final Switch mSwitch;
1.698.1.4. final LocationEnabler mLocationEnabler;
private final LocationEnabler mLocationEnabler;
1.698.2. LocationSwitchBarControllerMethod方法列表
1.698.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.698.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.698.2.3. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.698.2.4. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.699. LockAfterTimeoutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/screenlock/LockAfterTimeoutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.699.1. LockAfterTimeoutPreferenceController Field属性列表
1.699.1.1. final int mUserId;
private final int mUserId;
1.699.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.699.1.3. final TrustAgentManager mTrustAgentManager;
private final TrustAgentManager mTrustAgentManager;
1.699.1.4. final DevicePolicyManager mDPM;
private final DevicePolicyManager mDPM;
1.699.1.5. static final String KEY_LOCK_AFTER_TIMEOUT
private static final String KEY_LOCK_AFTER_TIMEOUT = "lock_after_timeout";
1.699.2. LockAfterTimeoutPreferenceControllerMethod方法列表
1.699.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.699.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.699.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.699.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.699.2.5. setupLockAfterPreference(TimeoutListPreference preference)
private void setupLockAfterPreference(TimeoutListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupLockAfterPreference", "TimeoutListPreference preference"));
1.699.2.6. updateLockAfterPreferenceSummary(TimeoutListPreference preference)
private void updateLockAfterPreferenceSummary(TimeoutListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLockAfterPreferenceSummary", "TimeoutListPreference preference"));
1.700. LockdownButtonPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/LockdownButtonPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.700.1. LockdownButtonPreferenceController Field属性列表
1.700.1.1. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.700.1.2. static final String KEY_LOCKDOWN_ENALBED
private static final String KEY_LOCKDOWN_ENALBED = "security_setting_lockdown_enabled";
1.700.2. LockdownButtonPreferenceControllerMethod方法列表
1.700.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.700.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.700.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.701. LockscreenDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/LockscreenDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.701.1. LockscreenDashboardFragment Field属性列表
1.701.1.1. OwnerInfoPreferenceController mOwnerInfoPreferenceController;
private OwnerInfoPreferenceController mOwnerInfoPreferenceController;
1.701.1.2. static final String TAG
private static final String TAG = "LockscreenDashboardFragment";
1.701.1.3. static final String KEY_LOCK_SCREEN_NOTIFICATON
@VisibleForTesting
static final String KEY_LOCK_SCREEN_NOTIFICATON = "security_setting_lock_screen_notif";
1.701.1.4. static final String KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE_HEADER
@VisibleForTesting
static final String KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE_HEADER = "security_setting_lock_screen_notif_work_header";
1.701.1.5. static final String KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE
@VisibleForTesting
static final String KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE = "security_setting_lock_screen_notif_work";
1.701.1.6. static final String KEY_ADD_USER_FROM_LOCK_SCREEN
@VisibleForTesting
static final String KEY_ADD_USER_FROM_LOCK_SCREEN = "security_lockscreen_add_users_when_locked";
1.701.1.7. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.security_lockscreen_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
final List controllers = new ArrayList<>();
controllers.add(new LockScreenNotificationPreferenceController(context));
controllers.add(new AddUserWhenLockedPreferenceController(context, KEY_ADD_USER_FROM_LOCK_SCREEN, null));
controllers.add(new OwnerInfoPreferenceController(context, null, /* fragment */
null));
controllers.add(new LockdownButtonPreferenceController(context));
return controllers;
}
@Override
public List getNonIndexableKeys(Context context) {
final List niks = super.getNonIndexableKeys(context);
niks.add(KEY_ADD_USER_FROM_LOCK_SCREEN);
niks.add(KEY_LOCK_SCREEN_NOTIFICATON_WORK_PROFILE);
return niks;
}
};
1.701.2. LockscreenDashboardFragmentMethod方法列表
1.701.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.701.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.701.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.701.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.701.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.701.2.6. onOwnerInfoUpdated()
public void onOwnerInfoUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOwnerInfoUpdated", ""));
1.702. LockScreenNotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/LockScreenNotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.702.1. LockScreenNotificationPreferenceController Field属性列表
1.702.1.1. RestrictedListPreference mLockscreen;
private RestrictedListPreference mLockscreen;
1.702.1.2. RestrictedListPreference mLockscreenProfile;
private RestrictedListPreference mLockscreenProfile;
1.702.1.3. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.702.1.4. int mLockscreenSelectedValue;
private int mLockscreenSelectedValue;
1.702.1.5. int mLockscreenSelectedValueProfile;
private int mLockscreenSelectedValueProfile;
1.702.1.6. final String mSettingKey;
private final String mSettingKey;
1.702.1.7. final String mWorkSettingCategoryKey;
private final String mWorkSettingCategoryKey;
1.702.1.8. final String mWorkSettingKey;
private final String mWorkSettingKey;
1.702.1.9. final int mProfileUserId;
private final int mProfileUserId;
1.702.1.10. final boolean mSecure;
private final boolean mSecure;
1.702.1.11. final boolean mSecureProfile;
private final boolean mSecureProfile;
1.702.1.12. static final String TAG
private static final String TAG = "LockScreenNotifPref";
1.702.2. LockScreenNotificationPreferenceControllerMethod方法列表
1.702.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.702.2.2. initLockScreenNotificationPrefDisplay()
private void initLockScreenNotificationPrefDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initLockScreenNotificationPrefDisplay", ""));
1.702.2.3. initLockscreenNotificationPrefForProfile()
private void initLockscreenNotificationPrefForProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initLockscreenNotificationPrefForProfile", ""));
1.702.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.702.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.702.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.702.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.702.2.8. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.702.2.9. setRestrictedIfNotificationFeaturesDisabled(CharSequence entry,CharSequence entryValue,int keyguardNotificationFeatures)
private void setRestrictedIfNotificationFeaturesDisabled(CharSequence entry, CharSequence entryValue, int keyguardNotificationFeatures)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRestrictedIfNotificationFeaturesDisabled", "CharSequence entry,CharSequence entryValue,int keyguardNotificationFeatures"));
1.702.2.10. updateLockscreenNotifications()
private void updateLockscreenNotifications()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLockscreenNotifications", ""));
1.702.2.11. adminAllowsUnredactedNotifications(int userId)
private boolean adminAllowsUnredactedNotifications(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"adminAllowsUnredactedNotifications", "int userId"));
1.702.2.12. updateLockscreenNotificationsForProfile()
private void updateLockscreenNotificationsForProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLockscreenNotificationsForProfile", ""));
1.702.2.13. static getSummaryResource(Context context)
public static int getSummaryResource(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSummaryResource", "Context context"));
1.702.2.14. static getLockscreenNotificationsEnabled(Context context)
private static boolean getLockscreenNotificationsEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getLockscreenNotificationsEnabled", "Context context"));
1.702.2.15. static getAllowPrivateNotifications(Context context,int userId)
private static boolean getAllowPrivateNotifications(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getAllowPrivateNotifications", "Context context,int userId"));
1.703. LockScreenPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/screenlock/LockScreenPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.703.1. LockScreenPreferenceController Field属性列表
1.703.1.1. Preference mPreference;
private Preference mPreference;
1.703.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.703.1.3. static final String KEY_LOCKSCREEN_PREFERENCES
static final String KEY_LOCKSCREEN_PREFERENCES = "lockscreen_preferences";
1.703.1.4. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.703.2. LockScreenPreferenceControllerMethod方法列表
1.703.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.703.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.703.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.703.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.704. LockUnificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/LockUnificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.704.1. LockUnificationPreferenceController Field属性列表
1.704.1.1. RestrictedSwitchPreference mUnifyProfile;
private RestrictedSwitchPreference mUnifyProfile;
1.704.1.2. String mCurrentDevicePassword;
private String mCurrentDevicePassword;
1.704.1.3. String mCurrentProfilePassword;
private String mCurrentProfilePassword;
1.704.1.4. final UserManager mUm;
private final UserManager mUm;
1.704.1.5. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.704.1.6. final int mProfileChallengeUserId;
private final int mProfileChallengeUserId;
1.704.1.7. final SecuritySettings mHost;
private final SecuritySettings mHost;
1.704.1.8. static final String KEY_UNIFICATION
private static final String KEY_UNIFICATION = "unification";
1.704.1.9. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.704.2. LockUnificationPreferenceControllerMethod方法列表
1.704.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.704.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.704.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.704.2.4. onPreferenceChange(Preference preference,Object value)
public boolean onPreferenceChange(Preference preference, Object value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object value"));
1.704.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.704.2.6. handleActivityResult(int requestCode,int resultCode,Intent data)
public boolean handleActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handleActivityResult", "int requestCode,int resultCode,Intent data"));
1.704.2.7. ununifyLocks()
private void ununifyLocks()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ununifyLocks", ""));
1.704.2.8. launchConfirmDeviceLockForUnification()
void launchConfirmDeviceLockForUnification()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchConfirmDeviceLockForUnification", ""));
1.704.2.9. launchConfirmProfileLockForUnification()
private void launchConfirmProfileLockForUnification()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchConfirmProfileLockForUnification", ""));
1.704.2.10. unifyLocks()
private void unifyLocks()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unifyLocks", ""));
1.704.2.11. unifyUncompliantLocks()
void unifyUncompliantLocks()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unifyUncompliantLocks", ""));
1.705. LogdSizePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/LogdSizePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.705.1. LogdSizePreferenceController Field属性列表
1.705.2. LogdSizePreferenceControllerMethod方法列表
1.705.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.705.2.2. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.706. LogPersistDialogHost.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/LogPersistDialogHost.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.707. LogPersistPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/LogPersistPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.707.1. LogPersistPreferenceController Field属性列表
1.707.1.1. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.707.2. LogPersistPreferenceControllerMethod方法列表
1.707.2.1. showConfirmationDialog(@Nullable Preference preference)
public void showConfirmationDialog(@Nullable Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showConfirmationDialog", "@Nullable Preference preference"));
1.707.2.2. dismissConfirmationDialog()
public void dismissConfirmationDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismissConfirmationDialog", ""));
1.707.2.3. isConfirmationDialogShowing()
public boolean isConfirmationDialogShowing()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConfirmationDialogShowing", ""));
1.707.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.707.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.707.2.6. onDisableLogPersistDialogConfirmed()
public void onDisableLogPersistDialogConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisableLogPersistDialogConfirmed", ""));
1.707.2.7. onDisableLogPersistDialogRejected()
public void onDisableLogPersistDialogRejected()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisableLogPersistDialogRejected", ""));
1.708. LongPressAccessPointPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/LongPressAccessPointPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.708.1. LongPressAccessPointPreference Field属性列表
1.708.1.1. final Fragment mFragment;
private final Fragment mFragment;
1.708.2. LongPressAccessPointPreferenceMethod方法列表
1.708.2.1. onBindViewHolder(final PreferenceViewHolder view)
public void onBindViewHolder(final PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "final PreferenceViewHolder view"));
1.709. LowBatteryDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/LowBatteryDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.709.1. LowBatteryDetector Field属性列表
1.709.1.1. BatteryInfo mBatteryInfo;
private BatteryInfo mBatteryInfo;
1.709.1.2. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.709.1.3. PowerManager mPowerManager;
private PowerManager mPowerManager;
1.709.1.4. int mWarningLevel;
private int mWarningLevel;
1.709.2. LowBatteryDetectorMethod方法列表
1.709.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.710. LowBatteryTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/LowBatteryTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.710.1. LowBatteryTip Field属性列表
1.710.1.1. CharSequence mSummary;
private CharSequence mSummary;
1.710.1.2. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new LowBatteryTip(in);
}
public BatteryTip[] newArray(int size) {
return new LowBatteryTip[size];
}
};
1.710.2. LowBatteryTipMethod方法列表
1.710.2.1. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.710.2.2. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.710.2.3. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.711. MagnificationGesturesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/MagnificationGesturesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.711.1. MagnificationGesturesPreferenceController Field属性列表
1.711.1.1. boolean mIsFromSUW
private boolean mIsFromSUW = false;
1.711.2. MagnificationGesturesPreferenceControllerMethod方法列表
1.711.2.1. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.711.2.2. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.711.2.3. setIsFromSUW(boolean fromSUW)
public void setIsFromSUW(boolean fromSUW)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsFromSUW", "boolean fromSUW"));
1.711.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.711.2.5. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.711.2.6. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.711.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.711.2.8. static populateMagnificationGesturesPreferenceExtras(Bundle extras,Context context)
static void populateMagnificationGesturesPreferenceExtras(Bundle extras, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateMagnificationGesturesPreferenceExtras", "Bundle extras,Context context"));
1.712. MagnificationNavbarPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/MagnificationNavbarPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.712.1. MagnificationNavbarPreferenceController Field属性列表
1.712.1.1. boolean mIsFromSUW
private boolean mIsFromSUW = false;
1.712.2. MagnificationNavbarPreferenceControllerMethod方法列表
1.712.2.1. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.712.2.2. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.712.2.3. setIsFromSUW(boolean fromSUW)
public void setIsFromSUW(boolean fromSUW)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsFromSUW", "boolean fromSUW"));
1.712.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.712.2.5. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.712.2.6. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.712.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.713. MagnificationPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/MagnificationPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.713.1. MagnificationPreferenceFragment Field属性列表
1.713.1.1. boolean mLaunchedFromSuw
private boolean mLaunchedFromSuw = false;
1.713.1.2. static final int ON
@VisibleForTesting
static final int ON = 1;
1.713.1.3. static final int OFF
@VisibleForTesting
static final int OFF = 0;
1.713.1.4. static final String TAG
private static final String TAG = "MagnificationPreferenceFragment";
1.713.1.5. static final String PREFERENCE_TITLE_KEY
// Settings App preference keys
private static final String PREFERENCE_TITLE_KEY = "magnification_preference_screen_title";
1.713.1.6. static final String MAGNIFICATION_COMPONENT_ID
// Pseudo ComponentName used to represent navbar magnification in Settings.Secure.
private static final String MAGNIFICATION_COMPONENT_ID = "com.android.server.accessibility.MagnificationController";
1.713.1.7. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.accessibility_magnification_settings;
return Arrays.asList(sir);
}
@Override
protected boolean isPageSearchEnabled(Context context) {
return isApplicable(context.getResources());
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(PREFERENCE_TITLE_KEY);
return keys;
}
};
1.713.2. MagnificationPreferenceFragmentMethod方法列表
1.713.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.713.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.713.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.713.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.713.2.5. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.713.2.6. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.713.2.7. static getConfigurationWarningStringForSecureSettingsKey(String key,Context context)
static CharSequence getConfigurationWarningStringForSecureSettingsKey(String key, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getConfigurationWarningStringForSecureSettingsKey", "String key,Context context"));
1.713.2.8. static isChecked(ContentResolver contentResolver,String settingsKey)
static boolean isChecked(ContentResolver contentResolver, String settingsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", "ContentResolver contentResolver,String settingsKey"));
1.713.2.9. static setChecked(ContentResolver contentResolver,String settingsKey,boolean isChecked)
static boolean setChecked(ContentResolver contentResolver, String settingsKey, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "ContentResolver contentResolver,String settingsKey,boolean isChecked"));
1.713.2.10. static isApplicable(Resources res)
static boolean isApplicable(Resources res)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isApplicable", "Resources res"));
1.714. ManageablePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/ManageablePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.714.1. ManageablePreference Field属性列表
1.714.1.1. boolean mIsAlwaysOn
boolean mIsAlwaysOn = false;
1.714.1.2. int mState
int mState = STATE_NONE;
1.714.1.3. int mUserId;
int mUserId;
1.714.1.4. static int STATE_NONE
public static int STATE_NONE = -1;
1.714.2. ManageablePreferenceMethod方法列表
1.714.2.1. getUserId()
public int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.714.2.2. setUserId(int userId)
public void setUserId(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserId", "int userId"));
1.714.2.3. isAlwaysOn()
public boolean isAlwaysOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAlwaysOn", ""));
1.714.2.4. getState()
public int getState()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getState", ""));
1.714.2.5. setState(int state)
public void setState(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setState", "int state"));
1.714.2.6. setAlwaysOn(boolean isEnabled)
public void setAlwaysOn(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAlwaysOn", "boolean isEnabled"));
1.714.2.7. updateSummary()
protected void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.715. ManageApplications.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ManageApplications.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.715.1. ManageApplications Field属性列表
1.715.1.1. @VisibleForTesting int mSortOrder
// sort order
@VisibleForTesting
int mSortOrder = R.id.sort_order_alpha;
1.715.1.2. boolean mShowSystem;
// whether showing system apps.
private boolean mShowSystem;
1.715.1.3. ApplicationsState mApplicationsState;
private ApplicationsState mApplicationsState;
1.715.1.4. int mListType;
public int mListType;
1.715.1.5. AppFilterItem mFilter;
private AppFilterItem mFilter;
1.715.1.6. ApplicationsAdapter mApplications;
private ApplicationsAdapter mApplications;
1.715.1.7. View mLoadingContainer;
private View mLoadingContainer;
1.715.1.8. View mListContainer;
private View mListContainer;
1.715.1.9. RecyclerView mRecyclerView;
private RecyclerView mRecyclerView;
1.715.1.10. CharSequence mInvalidSizeStr;
// Size resource used for packages whose size computation failed for some reason
CharSequence mInvalidSizeStr;
1.715.1.11. String mCurrentPkgName;
private String mCurrentPkgName;
1.715.1.12. int mCurrentUid;
private int mCurrentUid;
1.715.1.13. Menu mOptionsMenu;
private Menu mOptionsMenu;
1.715.1.14. View mRootView;
private View mRootView;
1.715.1.15. View mSpinnerHeader;
private View mSpinnerHeader;
1.715.1.16. Spinner mFilterSpinner;
private Spinner mFilterSpinner;
1.715.1.17. FilterSpinnerAdapter mFilterAdapter;
private FilterSpinnerAdapter mFilterAdapter;
1.715.1.18. IUsageStatsManager mUsageStatsManager;
private IUsageStatsManager mUsageStatsManager;
1.715.1.19. UserManager mUserManager;
private UserManager mUserManager;
1.715.1.20. NotificationBackend mNotificationBackend;
private NotificationBackend mNotificationBackend;
1.715.1.21. ResetAppsHelper mResetAppsHelper;
private ResetAppsHelper mResetAppsHelper;
1.715.1.22. String mVolumeUuid;
private String mVolumeUuid;
1.715.1.23. int mStorageType;
private int mStorageType;
1.715.1.24. boolean mIsWorkOnly;
private boolean mIsWorkOnly;
1.715.1.25. int mWorkUserId;
private int mWorkUserId;
1.715.1.26. View mEmptyView;
private View mEmptyView;
1.715.1.27. static final String TAG
static final String TAG = "ManageApplications";
1.715.1.28. static final boolean DEBUG
static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.715.1.29. static final String EXTRA_CLASSNAME
// Intent extras.
public static final String EXTRA_CLASSNAME = "classname";
1.715.1.30. static final String EXTRA_VOLUME_UUID
// Used for storage only.
public static final String EXTRA_VOLUME_UUID = "volumeUuid";
1.715.1.31. static final String EXTRA_VOLUME_NAME
public static final String EXTRA_VOLUME_NAME = "volumeName";
1.715.1.32. static final String EXTRA_STORAGE_TYPE
public static final String EXTRA_STORAGE_TYPE = "storageType";
1.715.1.33. static final String EXTRA_WORK_ONLY
public static final String EXTRA_WORK_ONLY = "workProfileOnly";
1.715.1.34. static final String EXTRA_WORK_ID
public static final String EXTRA_WORK_ID = "workId";
1.715.1.35. static final String EXTRA_SORT_ORDER
private static final String EXTRA_SORT_ORDER = "sortOrder";
1.715.1.36. static final String EXTRA_SHOW_SYSTEM
private static final String EXTRA_SHOW_SYSTEM = "showSystem";
1.715.1.37. static final String EXTRA_HAS_ENTRIES
private static final String EXTRA_HAS_ENTRIES = "hasEntries";
1.715.1.38. static final String EXTRA_HAS_BRIDGE
private static final String EXTRA_HAS_BRIDGE = "hasBridge";
1.715.1.39. static final String APP_CHG
// attributes used as keys when passing values to AppInfoDashboardFragment activity
public static final String APP_CHG = "chg";
1.715.1.40. static final int INSTALLED_APP_DETAILS
// constant value that can be used to check return code from sub activity.
private static final int INSTALLED_APP_DETAILS = 1;
1.715.1.41. static final int ADVANCED_SETTINGS
private static final int ADVANCED_SETTINGS = 2;
1.715.1.42. static final int SIZE_TOTAL
public static final int SIZE_TOTAL = 0;
1.715.1.43. static final int SIZE_INTERNAL
public static final int SIZE_INTERNAL = 1;
1.715.1.44. static final int SIZE_EXTERNAL
public static final int SIZE_EXTERNAL = 2;
1.715.1.45. static final // Show all apps that are not categorized. public int STORAGE_TYPE_DEFAULT
// Storage types. Used to determine what the extra item in the list of preferences is.
// Show all apps that are not categorized.
public static final int STORAGE_TYPE_DEFAULT = 0;
1.715.1.46. static final int STORAGE_TYPE_MUSIC
public static final int STORAGE_TYPE_MUSIC = 1;
1.715.1.47. static final int STORAGE_TYPE_LEGACY
// Show apps even if they can be categorized.
public static final int STORAGE_TYPE_LEGACY = 2;
1.715.1.48. static final int STORAGE_TYPE_PHOTOS_VIDEOS
public static final int STORAGE_TYPE_PHOTOS_VIDEOS = 3;
1.715.1.49. static final int NO_USER_SPECIFIED
private static final int NO_USER_SPECIFIED = -1;
1.715.1.50. static final int LIST_TYPE_MAIN
public static final int LIST_TYPE_MAIN = 0;
1.715.1.51. static final int LIST_TYPE_NOTIFICATION
public static final int LIST_TYPE_NOTIFICATION = 1;
1.715.1.52. static final int LIST_TYPE_STORAGE
public static final int LIST_TYPE_STORAGE = 3;
1.715.1.53. static final int LIST_TYPE_USAGE_ACCESS
public static final int LIST_TYPE_USAGE_ACCESS = 4;
1.715.1.54. static final int LIST_TYPE_HIGH_POWER
public static final int LIST_TYPE_HIGH_POWER = 5;
1.715.1.55. static final int LIST_TYPE_OVERLAY
public static final int LIST_TYPE_OVERLAY = 6;
1.715.1.56. static final int LIST_TYPE_WRITE_SETTINGS
public static final int LIST_TYPE_WRITE_SETTINGS = 7;
1.715.1.57. static final int LIST_TYPE_MANAGE_SOURCES
public static final int LIST_TYPE_MANAGE_SOURCES = 8;
1.715.1.58. static final int LIST_TYPE_GAMES
public static final int LIST_TYPE_GAMES = 9;
1.715.1.59. static final int LIST_TYPE_MOVIES
public static final int LIST_TYPE_MOVIES = 10;
1.715.1.60. static final int LIST_TYPE_PHOTOGRAPHY
public static final int LIST_TYPE_PHOTOGRAPHY = 11;
1.715.1.61. static final int LIST_TYPE_DIRECTORY_ACCESS
public static final int LIST_TYPE_DIRECTORY_ACCESS = 12;
1.715.1.62. static final int LIST_TYPE_WIFI_ACCESS
public static final int LIST_TYPE_WIFI_ACCESS = 13;
1.715.1.63. static final Set LIST_TYPES_WITH_INSTANT
// List types that should show instant apps.
public static final Set LIST_TYPES_WITH_INSTANT = new ArraySet<>(Arrays.asList(LIST_TYPE_MAIN, LIST_TYPE_STORAGE));
1.715.1.64. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.715.2. ManageApplicationsMethod方法列表
1.715.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.715.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.715.2.3. createHeader()
void createHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createHeader", ""));
1.715.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.715.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.715.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.715.2.7. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.715.2.8. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.715.2.9. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.715.2.10. startApplicationDetailsActivity()
private void startApplicationDetailsActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startApplicationDetailsActivity", ""));
1.715.2.11. startAppInfoFragment(Class fragment,int titleRes)
private void startAppInfoFragment(Class fragment, int titleRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAppInfoFragment", "Class fragment,int titleRes"));
1.715.2.12. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.715.2.13. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.715.2.14. onDestroyOptionsMenu()
public void onDestroyOptionsMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyOptionsMenu", ""));
1.715.2.15. getHelpResource()
int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.715.2.16. updateOptionsMenu()
void updateOptionsMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateOptionsMenu", ""));
1.715.2.17. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.715.2.18. onClick(View view)
public void onClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View view"));
1.715.2.19. onItemSelected(AdapterView parent,View view,int position,long id)
public void onItemSelected(AdapterView parent, View view, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemSelected", "AdapterView parent,View view,int position,long id"));
1.715.2.20. onNothingSelected(AdapterView parent)
public void onNothingSelected(AdapterView parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNothingSelected", "AdapterView parent"));
1.715.2.21. updateView()
public void updateView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateView", ""));
1.715.2.22. setHasDisabled(boolean hasDisabledApps)
public void setHasDisabled(boolean hasDisabledApps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHasDisabled", "boolean hasDisabledApps"));
1.715.2.23. setHasInstant(boolean haveInstantApps)
public void setHasInstant(boolean haveInstantApps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHasInstant", "boolean haveInstantApps"));
1.715.2.24. static getCompositeFilter(int listType,int storageType,String volumeUuid)
static AppFilter getCompositeFilter(int listType, int storageType, String volumeUuid)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppFilter" ,"getCompositeFilter", "int listType,int storageType,String volumeUuid"));
1.716. ManageAssist.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/ManageAssist.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.716.1. ManageAssist Field属性列表
1.716.1.1. static final String TAG
private static final String TAG = "ManageAssist";
1.716.1.2. static final String KEY_ASSIST
private static final String KEY_ASSIST = "gesture_assist_application";
1.716.1.3. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.manage_assist;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(KEY_ASSIST);
return keys;
}
};
1.716.2. ManageAssistMethod方法列表
1.716.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.716.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.716.2.3. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.716.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.716.2.5. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.716.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.716.2.7. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.717. ManageDeviceAdminPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/ManageDeviceAdminPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.717.1. ManageDeviceAdminPreferenceController Field属性列表
1.717.1.1. final EnterprisePrivacyFeatureProvider mFeatureProvider;
private final EnterprisePrivacyFeatureProvider mFeatureProvider;
1.717.1.2. static final String KEY_MANAGE_DEVICE_ADMIN
private static final String KEY_MANAGE_DEVICE_ADMIN = "manage_device_admin";
1.717.2. ManageDeviceAdminPreferenceControllerMethod方法列表
1.717.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.717.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.717.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.718. ManagedLockPasswordProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ManagedLockPasswordProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.718.1. ManagedLockPasswordProvider Field属性列表
1.718.2. ManagedLockPasswordProviderMethod方法列表
1.718.2.1. isSettingManagedPasswordSupported()
boolean isSettingManagedPasswordSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSettingManagedPasswordSupported", ""));
1.718.2.2. isManagedPasswordChoosable()
boolean isManagedPasswordChoosable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isManagedPasswordChoosable", ""));
1.718.2.3. getPickerOptionTitle(boolean forFingerprint)
CharSequence getPickerOptionTitle(boolean forFingerprint)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPickerOptionTitle", "boolean forFingerprint"));
1.718.2.4. createIntent(boolean requirePasswordToDecrypt,String password)
Intent createIntent(boolean requirePasswordToDecrypt, String password)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createIntent", "boolean requirePasswordToDecrypt,String password"));
1.718.2.5. static get(Context context,int userId)
public static ManagedLockPasswordProvider get(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ManagedLockPasswordProvider" ,"get", "Context context,int userId"));
1.719. ManageDomainUrls.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ManageDomainUrls.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.719.1. ManageDomainUrls Field属性列表
1.719.1.1. ApplicationsState mApplicationsState;
private ApplicationsState mApplicationsState;
1.719.1.2. ApplicationsState.Session mSession;
private ApplicationsState.Session mSession;
1.719.1.3. PreferenceGroup mDomainAppList;
private PreferenceGroup mDomainAppList;
1.719.1.4. SwitchPreference mWebAction;
private SwitchPreference mWebAction;
1.719.1.5. Preference mInstantAppAccountPreference;
private Preference mInstantAppAccountPreference;
1.719.1.6. static final int INSTALLED_APP_DETAILS
// constant value that can be used to check return code from sub activity.
private static final int INSTALLED_APP_DETAILS = 1;
1.719.2. ManageDomainUrlsMethod方法列表
1.719.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.719.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.719.2.3. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.719.2.4. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.719.2.5. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.719.2.6. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.719.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.719.2.8. rebuild()
private void rebuild()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebuild", ""));
1.719.2.9. rebuildAppList(PreferenceGroup group,ArrayList apps)
private void rebuildAppList(PreferenceGroup group, ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebuildAppList", "PreferenceGroup group,ArrayList apps"));
1.719.2.10. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.719.2.11. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.719.2.12. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.719.2.13. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.719.2.14. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.719.2.15. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.719.2.16. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.720. ManagedProfileSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/ManagedProfileSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.720.1. ManagedProfileSettings Field属性列表
1.720.1.1. SwitchPreference mWorkModePreference;
private SwitchPreference mWorkModePreference;
1.720.1.2. RestrictedSwitchPreference mContactPrefrence;
private RestrictedSwitchPreference mContactPrefrence;
1.720.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.720.1.4. UserHandle mManagedUser;
private UserHandle mManagedUser;
1.720.1.5. Context mContext;
private Context mContext;
1.720.1.6. ManagedProfileBroadcastReceiver mManagedProfileBroadcastReceiver;
private ManagedProfileBroadcastReceiver mManagedProfileBroadcastReceiver;
1.720.1.7. static final String KEY_WORK_MODE
private static final String KEY_WORK_MODE = "work_mode";
1.720.1.8. static final String KEY_CONTACT
private static final String KEY_CONTACT = "contacts_search";
1.720.1.9. static final String TAG
private static final String TAG = "ManagedProfileSettings";
1.720.2. ManagedProfileSettingsMethod方法列表
1.720.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.720.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.720.2.3. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.720.2.4. getManagedUserFromArgument()
private UserHandle getManagedUserFromArgument()
methodList.add(new ZMethod(mZAndroidAPPClass,"UserHandle" ,"getManagedUserFromArgument", ""));
1.720.2.5. loadDataAndPopulateUi()
private void loadDataAndPopulateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadDataAndPopulateUi", ""));
1.720.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.720.2.7. updateWorkModePreference()
private void updateWorkModePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWorkModePreference", ""));
1.720.2.8. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.721. ManagedServiceSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/ManagedServiceSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.721.1. ManagedServiceSettings Field属性列表
1.721.1.1. Context mContext;
protected Context mContext;
1.721.1.2. PackageManager mPm;
private PackageManager mPm;
1.721.1.3. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.721.1.4. ServiceListing mServiceListing;
private ServiceListing mServiceListing;
1.721.1.5. IconDrawableFactory mIconDrawableFactory;
private IconDrawableFactory mIconDrawableFactory;
1.721.1.6. final Config mConfig;
private final Config mConfig;
1.721.1.7. static final String TAG
private static final String TAG = "ManagedServiceSettings";
1.721.2. ManagedServiceSettingsMethod方法列表
1.721.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.721.2.2. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.721.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.721.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.721.2.5. updateList(List services)
private void updateList(List services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateList", "List services"));
1.721.2.6. getCurrentUser(int managedProfileId)
private int getCurrentUser(int managedProfileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentUser", "int managedProfileId"));
1.721.2.7. isServiceEnabled(ComponentName cn)
protected boolean isServiceEnabled(ComponentName cn)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isServiceEnabled", "ComponentName cn"));
1.721.2.8. setEnabled(ComponentName service,String title,boolean enable)
protected boolean setEnabled(ComponentName service, String title, boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEnabled", "ComponentName service,String title,boolean enable"));
1.721.2.9. enable(ComponentName service)
protected void enable(ComponentName service)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enable", "ComponentName service"));
1.721.2.10. abstract getConfig()
protected abstract Config getConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"Config" ,"getConfig", ""));
1.722. ManageTrustAgentsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/trustagent/ManageTrustAgentsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.722.1. ManageTrustAgentsPreferenceController Field属性列表
1.722.1.1. TrustAgentManager mTrustAgentManager;
private TrustAgentManager mTrustAgentManager;
1.722.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.722.1.3. static final String KEY_MANAGE_TRUST_AGENTS
@VisibleForTesting
static final String KEY_MANAGE_TRUST_AGENTS = "manage_trust_agents";
1.722.1.4. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.722.2. ManageTrustAgentsPreferenceControllerMethod方法列表
1.722.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.722.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.722.2.3. getTrustAgentCount()
private int getTrustAgentCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTrustAgentCount", ""));
1.723. ManualDisplayActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ManualDisplayActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.723.1. ManualDisplayActivity Field属性列表
1.723.1.1. static final String TAG
private static final String TAG = "SettingsManualActivity";
1.723.1.2. static final String DEFAULT_MANUAL_PATH
private static final String DEFAULT_MANUAL_PATH = "/system/etc/MANUAL.html.gz";
1.723.1.3. static final String PROPERTY_MANUAL_PATH
private static final String PROPERTY_MANUAL_PATH = "ro.config.manual_path";
1.723.2. ManualDisplayActivityMethod方法列表
1.723.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.723.2.2. showErrorAndFinish()
private void showErrorAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showErrorAndFinish", ""));
1.724. ManualPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/ManualPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.724.1. ManualPreferenceController Field属性列表
1.724.1.1. static final String KEY_MANUAL
private static final String KEY_MANUAL = "manual";
1.724.2. ManualPreferenceControllerMethod方法列表
1.724.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.724.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.725. MasterCheckBoxPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/MasterCheckBoxPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.725.1. MasterCheckBoxPreference Field属性列表
1.725.1.1. CheckBox mCheckBox;
private CheckBox mCheckBox;
1.725.1.2. boolean mChecked;
private boolean mChecked;
1.725.1.3. boolean mEnableCheckBox
private boolean mEnableCheckBox = true;
1.725.2. MasterCheckBoxPreferenceMethod方法列表
1.725.2.1. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.725.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.725.2.3. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.725.2.4. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.725.2.5. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.725.2.6. setCheckBoxEnabled(boolean enabled)
public void setCheckBoxEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCheckBoxEnabled", "boolean enabled"));
1.725.2.7. getCheckBox()
public CheckBox getCheckBox()
methodList.add(new ZMethod(mZAndroidAPPClass,"CheckBox" ,"getCheckBox", ""));
1.726. MasterClear.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/MasterClear.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.726.1. MasterClear Field属性列表
1.726.1.1. View mContentView;
private View mContentView;
1.726.1.2. Button mInitiateButton;
@VisibleForTesting
Button mInitiateButton;
1.726.1.3. View mExternalStorageContainer;
private View mExternalStorageContainer;
1.726.1.4. CheckBox mExternalStorage;
@VisibleForTesting
CheckBox mExternalStorage;
1.726.1.5. View mEsimStorageContainer;
private View mEsimStorageContainer;
1.726.1.6. CheckBox mEsimStorage;
@VisibleForTesting
CheckBox mEsimStorage;
1.726.1.7. ScrollView mScrollView;
@VisibleForTesting
ScrollView mScrollView;
1.726.1.8. final Button.OnClickListener mInitiateListener
/**
* If the user clicks to begin the reset sequence, we next require a
* keyguard confirmation if the user has currently enabled one. If there
* is no keyguard available, we simply go to the final confirmation prompt.
*
* If the user is in demo mode, route to the demo mode app for confirmation.
*/
@VisibleForTesting
protected final Button.OnClickListener mInitiateListener = new Button.OnClickListener() {
public void onClick(View view) {
final Context context = view.getContext();
if (Utils.isDemoUser(context)) {
final ComponentName componentName = Utils.getDeviceOwnerComponent(context);
if (componentName != null) {
final Intent requestFactoryReset = new Intent().setPackage(componentName.getPackageName()).setAction(Intent.ACTION_FACTORY_RESET);
context.startActivity(requestFactoryReset);
}
return;
}
if (runKeyguardConfirmation(KEYGUARD_REQUEST)) {
return;
}
Intent intent = getAccountConfirmationIntent();
if (intent != null) {
showAccountCredentialConfirmation(intent);
} else {
showFinalConfirmation();
}
}
};
1.726.1.9. static final String TAG
private static final String TAG = "MasterClear";
1.726.1.10. static final int KEYGUARD_REQUEST
@VisibleForTesting
static final int KEYGUARD_REQUEST = 55;
1.726.1.11. static final int CREDENTIAL_CONFIRM_REQUEST
@VisibleForTesting
static final int CREDENTIAL_CONFIRM_REQUEST = 56;
1.726.1.12. static final String KEY_SHOW_ESIM_RESET_CHECKBOX
private static final String KEY_SHOW_ESIM_RESET_CHECKBOX = "masterclear.allow_retain_esim_profiles_after_fdr";
1.726.1.13. static final String ERASE_EXTERNAL_EXTRA
static final String ERASE_EXTERNAL_EXTRA = "erase_sd";
1.726.1.14. static final String ERASE_ESIMS_EXTRA
static final String ERASE_ESIMS_EXTRA = "erase_esim";
1.726.2. MasterClearMethod方法列表
1.726.2.1. onGlobalLayout()
public void onGlobalLayout()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onGlobalLayout", ""));
1.726.2.2. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.726.2.3. runKeyguardConfirmation(int request)
private boolean runKeyguardConfirmation(int request)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"runKeyguardConfirmation", "int request"));
1.726.2.4. isValidRequestCode(int requestCode)
boolean isValidRequestCode(int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidRequestCode", "int requestCode"));
1.726.2.5. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.726.2.6. onActivityResultInternal(int requestCode,int resultCode,Intent data)
void onActivityResultInternal(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResultInternal", "int requestCode,int resultCode,Intent data"));
1.726.2.7. showFinalConfirmation()
void showFinalConfirmation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showFinalConfirmation", ""));
1.726.2.8. showAccountCredentialConfirmation(Intent intent)
void showAccountCredentialConfirmation(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showAccountCredentialConfirmation", "Intent intent"));
1.726.2.9. getAccountConfirmationIntent()
Intent getAccountConfirmationIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAccountConfirmationIntent", ""));
1.726.2.10. establishInitialState()
void establishInitialState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"establishInitialState", ""));
1.726.2.11. showWipeEuicc()
boolean showWipeEuicc()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showWipeEuicc", ""));
1.726.2.12. showWipeEuiccCheckbox()
boolean showWipeEuiccCheckbox()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showWipeEuiccCheckbox", ""));
1.726.2.13. isEuiccEnabled(Context context)
protected boolean isEuiccEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEuiccEnabled", "Context context"));
1.726.2.14. hasReachedBottom(final ScrollView scrollView)
boolean hasReachedBottom(final ScrollView scrollView)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasReachedBottom", "final ScrollView scrollView"));
1.726.2.15. getContentDescription(View v,StringBuffer description)
private void getContentDescription(View v, StringBuffer description)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getContentDescription", "View v,StringBuffer description"));
1.726.2.16. isExtStorageEncrypted()
private boolean isExtStorageEncrypted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isExtStorageEncrypted", ""));
1.726.2.17. loadAccountList(final UserManager um)
private void loadAccountList(final UserManager um)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAccountList", "final UserManager um"));
1.726.2.18. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.726.2.19. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.727. MasterClearConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/MasterClearConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.727.1. MasterClearConfirm Field属性列表
1.727.1.1. View mContentView;
private View mContentView;
1.727.1.2. boolean mEraseSdCard;
private boolean mEraseSdCard;
1.727.1.3. boolean mEraseEsims;
private boolean mEraseEsims;
1.727.1.4. Button.OnClickListener mFinalClickListener
/**
* The user has gone through the multiple confirmation, so now we go ahead
* and invoke the Checkin Service to reset the device to its factory-default
* state (rebooting in the process).
*/
private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() {
public void onClick(View v) {
if (Utils.isMonkeyRunning()) {
return;
}
final PersistentDataBlockManager pdbManager = (PersistentDataBlockManager) getActivity().getSystemService(Context.PERSISTENT_DATA_BLOCK_SERVICE);
final OemLockManager oemLockManager = (OemLockManager) getActivity().getSystemService(Context.OEM_LOCK_SERVICE);
if (pdbManager != null && !oemLockManager.isOemUnlockAllowed() && Utils.isDeviceProvisioned(getActivity())) {
// if OEM unlock is allowed, the persistent data block will be wiped during FR
// process. If disabled, it will be wiped here, unless the device is still being
// provisioned, in which case the persistent data block will be preserved.
new AsyncTask() {
int mOldOrientation;
ProgressDialog mProgressDialog;
@Override
protected Void doInBackground(Void... params) {
pdbManager.wipe();
return null;
}
@Override
protected void onPostExecute(Void aVoid) {
mProgressDialog.hide();
if (getActivity() != null) {
getActivity().setRequestedOrientation(mOldOrientation);
doMasterClear();
}
}
@Override
protected void onPreExecute() {
mProgressDialog = getProgressDialog();
mProgressDialog.show();
// need to prevent orientation changes as we're about to go into
// a long IO request, so we won't be able to access inflate resources on flash
mOldOrientation = getActivity().getRequestedOrientation();
getActivity().setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED);
}
}.execute();
} else {
doMasterClear();
}
}
private ProgressDialog getProgressDialog() {
final ProgressDialog progressDialog = new ProgressDialog(getActivity());
progressDialog.setIndeterminate(true);
progressDialog.setCancelable(false);
progressDialog.setTitle(getActivity().getString(R.string.master_clear_progress_title));
progressDialog.setMessage(getActivity().getString(R.string.master_clear_progress_text));
return progressDialog;
}
};
1.727.2. MasterClearConfirmMethod方法列表
1.727.2.1. doMasterClear()
private void doMasterClear()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doMasterClear", ""));
1.727.2.2. establishFinalConfirmationState()
private void establishFinalConfirmationState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"establishFinalConfirmationState", ""));
1.727.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.727.2.4. setAccessibilityTitle()
private void setAccessibilityTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccessibilityTitle", ""));
1.727.2.5. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.727.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.728. MasterSwitchController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/MasterSwitchController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.728.1. MasterSwitchController Field属性列表
1.728.1.1. final MasterSwitchPreference mPreference;
private final MasterSwitchPreference mPreference;
1.728.2. MasterSwitchControllerMethod方法列表
1.728.2.1. updateTitle(boolean isChecked)
public void updateTitle(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTitle", "boolean isChecked"));
1.728.2.2. startListening()
public void startListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListening", ""));
1.728.2.3. stopListening()
public void stopListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListening", ""));
1.728.2.4. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.728.2.5. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.728.2.6. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.728.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.728.2.8. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.729. MasterSwitchPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/MasterSwitchPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.729.1. MasterSwitchPreference Field属性列表
1.729.1.1. Switch mSwitch;
private Switch mSwitch;
1.729.1.2. boolean mChecked;
private boolean mChecked;
1.729.1.3. boolean mEnableSwitch
private boolean mEnableSwitch = true;
1.729.2. MasterSwitchPreferenceMethod方法列表
1.729.2.1. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.729.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.729.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.729.2.4. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.729.2.5. setSwitchEnabled(boolean enabled)
public void setSwitchEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwitchEnabled", "boolean enabled"));
1.729.2.6. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.729.2.7. getSwitch()
public Switch getSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"Switch" ,"getSwitch", ""));
1.730. MatchParentShrinkingLinearLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/MatchParentShrinkingLinearLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.730.1. MatchParentShrinkingLinearLayout Field属性列表
1.730.1.1. @ViewDebug.ExportedProperty(category
/**
* Whether the children of this layout are baseline aligned. Only applicable
* if {@link #mOrientation} is horizontal.
*/
@ViewDebug.ExportedProperty(category = "layout")
private boolean mBaselineAligned = true;
1.730.1.2. @ViewDebug.ExportedProperty(category
/**
* If this layout is part of another layout that is baseline aligned,
* use the child at this index as the baseline.
*
* Note: this is orthogonal to {@link #mBaselineAligned}, which is concerned
* with whether the children of this layout are baseline aligned.
*/
@ViewDebug.ExportedProperty(category = "layout")
private int mBaselineAlignedChildIndex = -1;
1.730.1.3. @ViewDebug.ExportedProperty(category
/**
* The additional offset to the child's baseline.
* We'll calculate the baseline of this layout as we measure vertically; for
* horizontal linear layouts, the offset of 0 is appropriate.
*/
@ViewDebug.ExportedProperty(category = "measurement")
private int mBaselineChildTop = 0;
1.730.1.4. @ViewDebug.ExportedProperty(category
@ViewDebug.ExportedProperty(category = "measurement")
private int mOrientation;
1.730.1.5. @ViewDebug.ExportedProperty(category
@ViewDebug.ExportedProperty(category = "measurement", flagMapping = { @ViewDebug.FlagToString(mask = -1, equals = -1, name = "NONE"), @ViewDebug.FlagToString(mask = Gravity.NO_GRAVITY, equals = Gravity.NO_GRAVITY, name = "NONE"), @ViewDebug.FlagToString(mask = Gravity.TOP, equals = Gravity.TOP, name = "TOP"), @ViewDebug.FlagToString(mask = Gravity.BOTTOM, equals = Gravity.BOTTOM, name = "BOTTOM"), @ViewDebug.FlagToString(mask = Gravity.LEFT, equals = Gravity.LEFT, name = "LEFT"), @ViewDebug.FlagToString(mask = Gravity.RIGHT, equals = Gravity.RIGHT, name = "RIGHT"), @ViewDebug.FlagToString(mask = Gravity.START, equals = Gravity.START, name = "START"), @ViewDebug.FlagToString(mask = Gravity.END, equals = Gravity.END, name = "END"), @ViewDebug.FlagToString(mask = Gravity.CENTER_VERTICAL, equals = Gravity.CENTER_VERTICAL, name = "CENTER_VERTICAL"), @ViewDebug.FlagToString(mask = Gravity.FILL_VERTICAL, equals = Gravity.FILL_VERTICAL, name = "FILL_VERTICAL"), @ViewDebug.FlagToString(mask = Gravity.CENTER_HORIZONTAL, equals = Gravity.CENTER_HORIZONTAL, name = "CENTER_HORIZONTAL"), @ViewDebug.FlagToString(mask = Gravity.FILL_HORIZONTAL, equals = Gravity.FILL_HORIZONTAL, name = "FILL_HORIZONTAL"), @ViewDebug.FlagToString(mask = Gravity.CENTER, equals = Gravity.CENTER, name = "CENTER"), @ViewDebug.FlagToString(mask = Gravity.FILL, equals = Gravity.FILL, name = "FILL"), @ViewDebug.FlagToString(mask = Gravity.RELATIVE_LAYOUT_DIRECTION, equals = Gravity.RELATIVE_LAYOUT_DIRECTION, name = "RELATIVE") }, formatToHexString = true)
private int mGravity = Gravity.START | Gravity.TOP;
1.730.1.6. @ViewDebug.ExportedProperty(category
@ViewDebug.ExportedProperty(category = "measurement")
private int mTotalLength;
1.730.1.7. @ViewDebug.ExportedProperty(category
@ViewDebug.ExportedProperty(category = "layout")
private float mWeightSum;
1.730.1.8. @ViewDebug.ExportedProperty(category
@ViewDebug.ExportedProperty(category = "layout")
private boolean mUseLargestChild;
1.730.1.9. int[] mMaxAscent;
private int[] mMaxAscent;
1.730.1.10. int[] mMaxDescent;
private int[] mMaxDescent;
1.730.1.11. Drawable mDivider;
private Drawable mDivider;
1.730.1.12. int mDividerWidth;
private int mDividerWidth;
1.730.1.13. int mDividerHeight;
private int mDividerHeight;
1.730.1.14. int mShowDividers;
private int mShowDividers;
1.730.1.15. int mDividerPadding;
private int mDividerPadding;
1.730.1.16. int mLayoutDirection
private int mLayoutDirection = View.LAYOUT_DIRECTION_UNDEFINED;
1.730.1.17. static final int HORIZONTAL
public static final int HORIZONTAL = 0;
1.730.1.18. static final int VERTICAL
public static final int VERTICAL = 1;
1.730.1.19. static final int SHOW_DIVIDER_NONE
/**
* Don't show any dividers.
*/
public static final int SHOW_DIVIDER_NONE = 0;
1.730.1.20. static final int SHOW_DIVIDER_BEGINNING
/**
* Show a divider at the beginning of the group.
*/
public static final int SHOW_DIVIDER_BEGINNING = 1;
1.730.1.21. static final int SHOW_DIVIDER_MIDDLE
/**
* Show dividers between each item in the group.
*/
public static final int SHOW_DIVIDER_MIDDLE = 2;
1.730.1.22. static final int SHOW_DIVIDER_END
/**
* Show a divider at the end of the group.
*/
public static final int SHOW_DIVIDER_END = 4;
1.730.1.23. static final int VERTICAL_GRAVITY_COUNT
private static final int VERTICAL_GRAVITY_COUNT = 4;
1.730.1.24. static final int INDEX_CENTER_VERTICAL
private static final int INDEX_CENTER_VERTICAL = 0;
1.730.1.25. static final int INDEX_TOP
private static final int INDEX_TOP = 1;
1.730.1.26. static final int INDEX_BOTTOM
private static final int INDEX_BOTTOM = 2;
1.730.1.27. static final int INDEX_FILL
private static final int INDEX_FILL = 3;
1.730.2. MatchParentShrinkingLinearLayoutMethod方法列表
1.730.2.1. setShowDividers(@DividerMode int showDividers)
public void setShowDividers(@DividerMode int showDividers)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowDividers", "@DividerMode int showDividers"));
1.730.2.2. shouldDelayChildPressedState()
public boolean shouldDelayChildPressedState()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldDelayChildPressedState", ""));
1.730.2.3. getShowDividers()
public int getShowDividers()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getShowDividers", ""));
1.730.2.4. getDividerDrawable()
public Drawable getDividerDrawable()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getDividerDrawable", ""));
1.730.2.5. setDividerDrawable(Drawable divider)
public void setDividerDrawable(Drawable divider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerDrawable", "Drawable divider"));
1.730.2.6. setDividerPadding(int padding)
public void setDividerPadding(int padding)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerPadding", "int padding"));
1.730.2.7. getDividerPadding()
public int getDividerPadding()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDividerPadding", ""));
1.730.2.8. getDividerWidth()
public int getDividerWidth()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDividerWidth", ""));
1.730.2.9. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.730.2.10. drawDividersVertical(Canvas canvas)
void drawDividersVertical(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawDividersVertical", "Canvas canvas"));
1.730.2.11. drawDividersHorizontal(Canvas canvas)
void drawDividersHorizontal(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawDividersHorizontal", "Canvas canvas"));
1.730.2.12. drawHorizontalDivider(Canvas canvas,int top)
void drawHorizontalDivider(Canvas canvas, int top)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawHorizontalDivider", "Canvas canvas,int top"));
1.730.2.13. drawVerticalDivider(Canvas canvas,int left)
void drawVerticalDivider(Canvas canvas, int left)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawVerticalDivider", "Canvas canvas,int left"));
1.730.2.14. isBaselineAligned()
public boolean isBaselineAligned()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBaselineAligned", ""));
1.730.2.15. setBaselineAligned(boolean baselineAligned)
public void setBaselineAligned(boolean baselineAligned)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBaselineAligned", "boolean baselineAligned"));
1.730.2.16. isMeasureWithLargestChildEnabled()
public boolean isMeasureWithLargestChildEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isMeasureWithLargestChildEnabled", ""));
1.730.2.17. setMeasureWithLargestChildEnabled(boolean enabled)
public void setMeasureWithLargestChildEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMeasureWithLargestChildEnabled", "boolean enabled"));
1.730.2.18. getBaseline()
public int getBaseline()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBaseline", ""));
1.730.2.19. getBaselineAlignedChildIndex()
public int getBaselineAlignedChildIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBaselineAlignedChildIndex", ""));
1.730.2.20. setBaselineAlignedChildIndex(int i)
public void setBaselineAlignedChildIndex(int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBaselineAlignedChildIndex", "int i"));
1.730.2.21. getVirtualChildAt(int index)
View getVirtualChildAt(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"getVirtualChildAt", "int index"));
1.730.2.22. getVirtualChildCount()
int getVirtualChildCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getVirtualChildCount", ""));
1.730.2.23. getWeightSum()
public float getWeightSum()
methodList.add(new ZMethod(mZAndroidAPPClass,"float" ,"getWeightSum", ""));
1.730.2.24. setWeightSum(float weightSum)
public void setWeightSum(float weightSum)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWeightSum", "float weightSum"));
1.730.2.25. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.730.2.26. hasDividerBeforeChildAt(int childIndex)
protected boolean hasDividerBeforeChildAt(int childIndex)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasDividerBeforeChildAt", "int childIndex"));
1.730.2.27. measureVertical(int widthMeasureSpec,int heightMeasureSpec)
void measureVertical(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"measureVertical", "int widthMeasureSpec,int heightMeasureSpec"));
1.730.2.28. forceUniformWidth(int count,int heightMeasureSpec)
private void forceUniformWidth(int count, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceUniformWidth", "int count,int heightMeasureSpec"));
1.730.2.29. measureHorizontal(int widthMeasureSpec,int heightMeasureSpec)
void measureHorizontal(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"measureHorizontal", "int widthMeasureSpec,int heightMeasureSpec"));
1.730.2.30. forceUniformHeight(int count,int widthMeasureSpec)
private void forceUniformHeight(int count, int widthMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceUniformHeight", "int count,int widthMeasureSpec"));
1.730.2.31. getChildrenSkipCount(View child,int index)
int getChildrenSkipCount(View child, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getChildrenSkipCount", "View child,int index"));
1.730.2.32. measureNullChild(int childIndex)
int measureNullChild(int childIndex)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"measureNullChild", "int childIndex"));
1.730.2.33. measureChildBeforeLayout(View child,int childIndex,int widthMeasureSpec,int totalWidth,int heightMeasureSpec,int totalHeight)
void measureChildBeforeLayout(View child, int childIndex, int widthMeasureSpec, int totalWidth, int heightMeasureSpec, int totalHeight)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"measureChildBeforeLayout", "View child,int childIndex,int widthMeasureSpec,int totalWidth,int heightMeasureSpec,int totalHeight"));
1.730.2.34. getLocationOffset(View child)
int getLocationOffset(View child)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getLocationOffset", "View child"));
1.730.2.35. getNextLocationOffset(View child)
int getNextLocationOffset(View child)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNextLocationOffset", "View child"));
1.730.2.36. onLayout(boolean changed,int l,int t,int r,int b)
protected void onLayout(boolean changed, int l, int t, int r, int b)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLayout", "boolean changed,int l,int t,int r,int b"));
1.730.2.37. layoutVertical(int left,int top,int right,int bottom)
void layoutVertical(int left, int top, int right, int bottom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"layoutVertical", "int left,int top,int right,int bottom"));
1.730.2.38. onRtlPropertiesChanged(int layoutDirection)
public void onRtlPropertiesChanged(int layoutDirection)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRtlPropertiesChanged", "int layoutDirection"));
1.730.2.39. layoutHorizontal(int left,int top,int right,int bottom)
void layoutHorizontal(int left, int top, int right, int bottom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"layoutHorizontal", "int left,int top,int right,int bottom"));
1.730.2.40. setChildFrame(View child,int left,int top,int width,int height)
private void setChildFrame(View child, int left, int top, int width, int height)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChildFrame", "View child,int left,int top,int width,int height"));
1.730.2.41. setOrientation(@OrientationMode int orientation)
public void setOrientation(@OrientationMode int orientation)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOrientation", "@OrientationMode int orientation"));
1.730.2.42. getOrientation()
public int getOrientation()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getOrientation", ""));
1.730.2.43. setGravity(int gravity)
public void setGravity(int gravity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setGravity", "int gravity"));
1.730.2.44. setHorizontalGravity(int horizontalGravity)
public void setHorizontalGravity(int horizontalGravity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHorizontalGravity", "int horizontalGravity"));
1.730.2.45. setVerticalGravity(int verticalGravity)
public void setVerticalGravity(int verticalGravity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVerticalGravity", "int verticalGravity"));
1.730.2.46. generateLayoutParams(AttributeSet attrs)
public LayoutParams generateLayoutParams(AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"LayoutParams" ,"generateLayoutParams", "AttributeSet attrs"));
1.730.2.47. generateDefaultLayoutParams()
protected LayoutParams generateDefaultLayoutParams()
methodList.add(new ZMethod(mZAndroidAPPClass,"LayoutParams" ,"generateDefaultLayoutParams", ""));
1.730.2.48. generateLayoutParams(ViewGroup.LayoutParams p)
protected LayoutParams generateLayoutParams(ViewGroup.LayoutParams p)
methodList.add(new ZMethod(mZAndroidAPPClass,"LayoutParams" ,"generateLayoutParams", "ViewGroup.LayoutParams p"));
1.730.2.49. checkLayoutParams(ViewGroup.LayoutParams p)
protected boolean checkLayoutParams(ViewGroup.LayoutParams p)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkLayoutParams", "ViewGroup.LayoutParams p"));
1.730.2.50. getAccessibilityClassName()
public CharSequence getAccessibilityClassName()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getAccessibilityClassName", ""));
1.730.2.51. encodeProperties(@NonNull ViewHierarchyEncoder encoder)
protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"encodeProperties", "@NonNull ViewHierarchyEncoder encoder"));
1.731. MeasurableLinearLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/MeasurableLinearLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.731.1. MeasurableLinearLayout Field属性列表
1.731.1.1. View mFixedView;
private View mFixedView;
1.731.1.2. View mDisposableView;
private View mDisposableView;
1.731.2. MeasurableLinearLayoutMethod方法列表
1.731.2.1. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.731.2.2. setChildren(View fixedView,View disposableView)
public void setChildren(View fixedView, View disposableView)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChildren", "View fixedView,View disposableView"));
1.732. MediaOutputPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sound/MediaOutputPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.732.1. MediaOutputPreferenceController Field属性列表
1.732.2. MediaOutputPreferenceControllerMethod方法列表
1.732.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.732.2.2. setActiveBluetoothDevice(BluetoothDevice device)
public void setActiveBluetoothDevice(BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActiveBluetoothDevice", "BluetoothDevice device"));
1.733. MediaVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/MediaVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.733.1. MediaVolumePreferenceController Field属性列表
1.733.1.1. static final String KEY_MEDIA_VOLUME
private static final String KEY_MEDIA_VOLUME = "media_volume";
1.733.2. MediaVolumePreferenceControllerMethod方法列表
1.733.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.733.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.733.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.733.2.4. getAudioStream()
public int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.733.2.5. getMuteIcon()
public int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.734. MemoryUsagePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/MemoryUsagePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.734.1. MemoryUsagePreferenceController Field属性列表
1.734.1.1. ProcStatsData mProcStatsData;
private ProcStatsData mProcStatsData;
1.734.1.2. static final String MEMORY_USAGE_KEY
private static final String MEMORY_USAGE_KEY = "memory";
1.734.2. MemoryUsagePreferenceControllerMethod方法列表
1.734.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.734.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.734.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.734.2.4. setDuration()
void setDuration()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDuration", ""));
1.734.2.5. getProcStatsData()
ProcStatsData getProcStatsData()
methodList.add(new ZMethod(mZAndroidAPPClass,"ProcStatsData" ,"getProcStatsData", ""));
1.735. MessageBubbleBackground.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/MessageBubbleBackground.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.735.1. MessageBubbleBackground Field属性列表
1.735.1.1. final int mSnapWidthPixels;
private final int mSnapWidthPixels;
1.735.2. MessageBubbleBackgroundMethod方法列表
1.735.2.1. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.736. MigrateEstimateTask.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/MigrateEstimateTask.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.736.1. MigrateEstimateTask Field属性列表
1.736.1.1. long mSizeBytes
private long mSizeBytes = -1;
1.736.1.2. final Context mContext;
private final Context mContext;
1.736.1.3. static final String EXTRA_SIZE_BYTES
private static final String EXTRA_SIZE_BYTES = "size_bytes";
1.736.1.4. static final long SPEED_ESTIMATE_BPS
/**
* Assume roughly a Class 10 card.
*/
private static final long SPEED_ESTIMATE_BPS = 10 * TrafficStats.MB_IN_BYTES;
1.736.2. MigrateEstimateTaskMethod方法列表
1.736.2.1. copyFrom(Intent intent)
public void copyFrom(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyFrom", "Intent intent"));
1.736.2.2. copyTo(Intent intent)
public void copyTo(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyTo", "Intent intent"));
1.736.2.3. doInBackground(Void... params)
protected Long doInBackground(Void... params)
methodList.add(new ZMethod(mZAndroidAPPClass,"Long" ,"doInBackground", "Void... params"));
1.736.2.4. onPostExecute(Long result)
protected void onPostExecute(Long result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPostExecute", "Long result"));
1.736.2.5. abstract onPostExecute(String size,String time)
public abstract void onPostExecute(String size, String time)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPostExecute", "String size,String time"));
1.737. MobileDataAlwaysOnPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/MobileDataAlwaysOnPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.737.1. MobileDataAlwaysOnPreferenceController Field属性列表
1.737.1.1. static final String MOBILE_DATA_ALWAYS_ON
private static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on";
1.737.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.737.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.737.2. MobileDataAlwaysOnPreferenceControllerMethod方法列表
1.737.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.737.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.737.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.737.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.738. MobileNetworkPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/MobileNetworkPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.738.1. MobileNetworkPreferenceController Field属性列表
1.738.1.1. Preference mPreference;
private Preference mPreference;
1.738.1.2. PhoneStateListener mPhoneStateListener;
@VisibleForTesting
PhoneStateListener mPhoneStateListener;
1.738.1.3. BroadcastReceiver mAirplanModeChangedReceiver;
private BroadcastReceiver mAirplanModeChangedReceiver;
1.738.1.4. final boolean mIsSecondaryUser;
private final boolean mIsSecondaryUser;
1.738.1.5. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.738.1.6. final UserManager mUserManager;
private final UserManager mUserManager;
1.738.1.7. static final String KEY_MOBILE_NETWORK_SETTINGS
private static final String KEY_MOBILE_NETWORK_SETTINGS = "mobile_network_settings";
1.738.2. MobileNetworkPreferenceControllerMethod方法列表
1.738.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.738.2.2. isUserRestricted()
public boolean isUserRestricted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUserRestricted", ""));
1.738.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.738.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.738.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.738.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.738.2.7. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.738.2.8. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.739. MobilePlanPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/MobilePlanPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.739.1. MobilePlanPreferenceController Field属性列表
1.739.1.1. ConnectivityManager mCm;
private ConnectivityManager mCm;
1.739.1.2. TelephonyManager mTm;
private TelephonyManager mTm;
1.739.1.3. String mMobilePlanDialogMessage;
private String mMobilePlanDialogMessage;
1.739.1.4. final UserManager mUserManager;
private final UserManager mUserManager;
1.739.1.5. final boolean mIsSecondaryUser;
private final boolean mIsSecondaryUser;
1.739.1.6. final MobilePlanPreferenceHost mHost;
private final MobilePlanPreferenceHost mHost;
1.739.1.7. static final int MANAGE_MOBILE_PLAN_DIALOG_ID
public static final int MANAGE_MOBILE_PLAN_DIALOG_ID = 1;
1.739.1.8. static final String TAG
private static final String TAG = "MobilePlanPrefContr";
1.739.1.9. static final String KEY_MANAGE_MOBILE_PLAN
private static final String KEY_MANAGE_MOBILE_PLAN = "manage_mobile_plan";
1.739.1.10. static final String SAVED_MANAGE_MOBILE_PLAN_MSG
private static final String SAVED_MANAGE_MOBILE_PLAN_MSG = "mManageMobilePlanMessage";
1.739.2. MobilePlanPreferenceControllerMethod方法列表
1.739.2.1. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.739.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.739.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.739.2.4. getMobilePlanDialogMessage()
public String getMobilePlanDialogMessage()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getMobilePlanDialogMessage", ""));
1.739.2.5. setMobilePlanDialogMessage(String messasge)
public void setMobilePlanDialogMessage(String messasge)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMobilePlanDialogMessage", "String messasge"));
1.739.2.6. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.739.2.7. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.739.2.8. onManageMobilePlanClick()
private void onManageMobilePlanClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onManageMobilePlanClick", ""));
1.740. MockLocationAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/MockLocationAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.740.1. MockLocationAppPreferenceController Field属性列表
1.740.1.1. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.740.1.2. final AppOpsManager mAppsOpsManager;
private final AppOpsManager mAppsOpsManager;
1.740.1.3. final PackageManagerWrapper mPackageManager;
private final PackageManagerWrapper mPackageManager;
1.740.1.4. static final String MOCK_LOCATION_APP_KEY
private static final String MOCK_LOCATION_APP_KEY = "mock_location_app";
1.740.1.5. static final int[] MOCK_LOCATION_APP_OPS
private static final int[] MOCK_LOCATION_APP_OPS = new int[] { AppOpsManager.OP_MOCK_LOCATION };
1.740.2. MockLocationAppPreferenceControllerMethod方法列表
1.740.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.740.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.740.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.740.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.740.2.5. updateMockLocation()
private void updateMockLocation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMockLocation", ""));
1.740.2.6. writeMockLocation(String mockLocationAppName)
private void writeMockLocation(String mockLocationAppName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeMockLocation", "String mockLocationAppName"));
1.740.2.7. getAppLabel(String mockLocationApp)
private String getAppLabel(String mockLocationApp)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAppLabel", "String mockLocationApp"));
1.740.2.8. removeAllMockLocations()
private void removeAllMockLocations()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeAllMockLocations", ""));
1.740.2.9. removeMockLocationForApp(String appName)
private void removeMockLocationForApp(String appName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeMockLocationForApp", "String appName"));
1.740.2.10. getCurrentMockLocationApp()
private String getCurrentMockLocationApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCurrentMockLocationApp", ""));
1.741. MonitoringCertInfoActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/MonitoringCertInfoActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.741.1. MonitoringCertInfoActivity Field属性列表
1.741.1.1. int mUserId;
private int mUserId;
1.741.2. MonitoringCertInfoActivityMethod方法列表
1.741.2.1. onCreate(Bundle savedStates)
protected void onCreate(Bundle savedStates)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedStates"));
1.741.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.741.2.3. onDismiss(DialogInterface dialogInterface)
public void onDismiss(DialogInterface dialogInterface)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialogInterface"));
1.742. MusicViewHolderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/MusicViewHolderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.742.1. MusicViewHolderController Field属性列表
1.742.1.1. Context mContext;
private Context mContext;
1.742.1.2. StorageStatsSource mSource;
private StorageStatsSource mSource;
1.742.1.3. String mVolumeUuid;
private String mVolumeUuid;
1.742.1.4. long mMusicSize;
private long mMusicSize;
1.742.1.5. UserHandle mUser;
private UserHandle mUser;
1.742.1.6. static final String TAG
private static final String TAG = "MusicViewHolderCtrl";
1.742.1.7. static final String AUTHORITY_MEDIA
private static final String AUTHORITY_MEDIA = "com.android.providers.media.documents";
1.742.2. MusicViewHolderControllerMethod方法列表
1.742.2.1. queryStats()
public void queryStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"queryStats", ""));
1.742.2.2. shouldShow()
public boolean shouldShow()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShow", ""));
1.742.2.3. setupView(ApplicationViewHolder holder)
public void setupView(ApplicationViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupView", "ApplicationViewHolder holder"));
1.742.2.4. onClick(Fragment fragment)
public void onClick(Fragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "Fragment fragment"));
1.743. MyDeviceInfoFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/aboutphone/MyDeviceInfoFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.743.1. MyDeviceInfoFragment Field属性列表
1.743.1.1. static final String LOG_TAG
private static final String LOG_TAG = "MyDeviceInfoFragment";
1.743.1.2. static final String KEY_MY_DEVICE_INFO_HEADER
private static final String KEY_MY_DEVICE_INFO_HEADER = "my_device_info_header";
1.743.1.3. static final String KEY_LEGAL_CONTAINER
private static final String KEY_LEGAL_CONTAINER = "legal_container";
1.743.1.4. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = (activity, summaryLoader) -> new SummaryProvider(summaryLoader);
1.743.1.5. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.my_device_info;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /*activity */
null, /* fragment */
null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// The legal container is duplicated, so we ignore it here.
keys.add(KEY_LEGAL_CONTAINER);
return keys;
}
};
1.743.2. MyDeviceInfoFragmentMethod方法列表
1.743.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.743.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.743.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.743.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.743.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.743.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.743.2.7. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.743.2.8. initHeader()
private void initHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initHeader", ""));
1.743.2.9. showDeviceNameWarningDialog(String deviceName)
public void showDeviceNameWarningDialog(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDeviceNameWarningDialog", "String deviceName"));
1.743.2.10. onSetDeviceNameConfirm()
public void onSetDeviceNameConfirm()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetDeviceNameConfirm", ""));
1.743.2.11. static buildPreferenceControllers(Context context,Activity activity,MyDeviceInfoFragment fragment,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Activity activity, MyDeviceInfoFragment fragment, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Activity activity,MyDeviceInfoFragment fragment,Lifecycle lifecycle"));
1.744. NetworkDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/NetworkDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.744.1. NetworkDashboardFragment Field属性列表
1.744.1.1. static final String TAG
private static final String TAG = "NetworkDashboardFrag";
1.744.1.2. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.744.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.network_and_internet;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* lifecycle */
null, /* metricsFeatureProvider */
null, /* fragment */
null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Remove master switch as a result
keys.add(WifiMasterSwitchPreferenceController.KEY_TOGGLE_WIFI);
return keys;
}
};
1.744.2. NetworkDashboardFragmentMethod方法列表
1.744.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.744.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.744.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.744.2.4. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.744.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.744.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.744.2.7. showMobilePlanMessageDialog()
public void showMobilePlanMessageDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showMobilePlanMessageDialog", ""));
1.744.2.8. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.744.2.9. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.744.2.10. static buildPreferenceControllers(Context context,Lifecycle lifecycle,MetricsFeatureProvider metricsFeatureProvider,Fragment fragment,MobilePlanPreferenceHost mobilePlanHost)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle, MetricsFeatureProvider metricsFeatureProvider, Fragment fragment, MobilePlanPreferenceHost mobilePlanHost)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle,MetricsFeatureProvider metricsFeatureProvider,Fragment fragment,MobilePlanPreferenceHost mobilePlanHost"));
1.745. NetworkLogsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/NetworkLogsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.745.1. NetworkLogsPreferenceController Field属性列表
1.745.1.1. static final String KEY_NETWORK_LOGS
private static final String KEY_NETWORK_LOGS = "network_logs";
1.745.2. NetworkLogsPreferenceControllerMethod方法列表
1.745.2.1. getAdminActionTimestamp()
protected Date getAdminActionTimestamp()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getAdminActionTimestamp", ""));
1.745.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.745.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.746. NetworkResetPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/NetworkResetPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.746.1. NetworkResetPreferenceController Field属性列表
1.746.1.1. final NetworkResetRestrictionChecker mRestrictionChecker;
private final NetworkResetRestrictionChecker mRestrictionChecker;
1.746.2. NetworkResetPreferenceControllerMethod方法列表
1.746.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.746.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.747. NetworkResetRestrictionChecker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/NetworkResetRestrictionChecker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.747.1. NetworkResetRestrictionChecker Field属性列表
1.747.1.1. final Context mContext;
private final Context mContext;
1.747.1.2. final UserManager mUserManager;
private final UserManager mUserManager;
1.747.2. NetworkResetRestrictionCheckerMethod方法列表
1.747.2.1. hasUserBaseRestriction()
boolean hasUserBaseRestriction()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasUserBaseRestriction", ""));
1.747.2.2. isRestrictionEnforcedByAdmin()
boolean isRestrictionEnforcedByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRestrictionEnforcedByAdmin", ""));
1.747.2.3. hasUserRestriction()
boolean hasUserRestriction()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasUserRestriction", ""));
1.747.2.4. hasRestriction()
boolean hasRestriction()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasRestriction", ""));
1.748. NetworkRestrictionsPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/NetworkRestrictionsPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.748.1. NetworkRestrictionsPreference Field属性列表
1.748.2. NetworkRestrictionsPreferenceMethod方法列表
1.748.2.1. setTemplate(NetworkTemplate template,int subId,NetworkServices services)
public void setTemplate(NetworkTemplate template, int subId, NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTemplate", "NetworkTemplate template,int subId,NetworkServices services"));
1.749. NetworkScorerPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/NetworkScorerPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.749.1. NetworkScorerPicker Field属性列表
1.749.1.1. NetworkScoreManager mNetworkScoreManager;
private NetworkScoreManager mNetworkScoreManager;
1.749.2. NetworkScorerPickerMethod方法列表
1.749.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.749.2.2. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.749.2.3. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.749.2.4. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.749.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.749.2.6. updateCandidates()
public void updateCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCandidates", ""));
1.749.2.7. getActiveScorerPackage()
private String getActiveScorerPackage()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getActiveScorerPackage", ""));
1.749.2.8. setActiveScorer(String key)
private boolean setActiveScorer(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setActiveScorer", "String key"));
1.749.2.9. onRadioButtonClicked(RadioButtonPreference selected)
public void onRadioButtonClicked(RadioButtonPreference selected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference selected"));
1.749.2.10. updateCheckedState(String selectedKey)
private void updateCheckedState(String selectedKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCheckedState", "String selectedKey"));
1.749.2.11. createNetworkScorerManager(Context context)
NetworkScoreManager createNetworkScorerManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"NetworkScoreManager" ,"createNetworkScorerManager", "Context context"));
1.750. NetworkScorerPickerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/NetworkScorerPickerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.750.1. NetworkScorerPickerPreferenceController Field属性列表
1.750.1.1. final NetworkScoreManager mNetworkScoreManager;
private final NetworkScoreManager mNetworkScoreManager;
1.750.2. NetworkScorerPickerPreferenceControllerMethod方法列表
1.750.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.750.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.751. NewDeviceIntroSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/support/NewDeviceIntroSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.751.1. NewDeviceIntroSuggestionActivity Field属性列表
1.751.1.1. static final String TAG
private static final String TAG = "NewDeviceIntroSugg";
1.751.1.2. static final String PREF_KEY_SUGGGESTION_FIRST_DISPLAY_TIME
@VisibleForTesting
static final String PREF_KEY_SUGGGESTION_FIRST_DISPLAY_TIME = "pref_new_device_intro_suggestion_first_display_time_ms";
1.751.1.3. static final String PREF_KEY_SUGGGESTION_COMPLETE
@VisibleForTesting
static final String PREF_KEY_SUGGGESTION_COMPLETE = "pref_new_device_intro_suggestion_complete";
1.751.1.4. static final long PERMANENT_DISMISS_THRESHOLD
@VisibleForTesting
static final long PERMANENT_DISMISS_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
1.751.1.5. static final String TIPS_PACKAGE_NAME
public static final String TIPS_PACKAGE_NAME = "com.google.android.apps.tips";
1.751.2. NewDeviceIntroSuggestionActivityMethod方法列表
1.751.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.751.2.2. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.751.2.3. static isSupported(Context context)
private static boolean isSupported(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSupported", "Context context"));
1.751.2.4. static isExpired(Context context)
private static boolean isExpired(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isExpired", "Context context"));
1.751.2.5. static canOpenUrlInBrowser(Context context)
private static boolean canOpenUrlInBrowser(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canOpenUrlInBrowser", "Context context"));
1.751.2.6. static hasLaunchedBefore(Context context)
private static boolean hasLaunchedBefore(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasLaunchedBefore", "Context context"));
1.751.2.7. static getLaunchIntent(Context context)
static Intent getLaunchIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getLaunchIntent", "Context context"));
1.751.2.8. static isTipsInstalledAsSystemApp(@NonNull Context context)
private static boolean isTipsInstalledAsSystemApp(@NonNull Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTipsInstalledAsSystemApp", "@NonNull Context context"));
1.752. NfcAirplaneModeObserver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/NfcAirplaneModeObserver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.752.1. NfcAirplaneModeObserver Field属性列表
1.752.1.1. int mAirplaneMode;
private int mAirplaneMode;
1.752.1.2. final Context mContext;
private final Context mContext;
1.752.1.3. final NfcAdapter mNfcAdapter;
private final NfcAdapter mNfcAdapter;
1.752.1.4. final Preference mPreference;
private final Preference mPreference;
1.752.1.5. static final Uri AIRPLANE_MODE_URI
@VisibleForTesting
static final Uri AIRPLANE_MODE_URI = Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON);
1.752.2. NfcAirplaneModeObserverMethod方法列表
1.752.2.1. register()
public void register()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", ""));
1.752.2.2. unregister()
public void unregister()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregister", ""));
1.752.2.3. onChange(boolean selfChange,Uri uri)
public void onChange(boolean selfChange, Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onChange", "boolean selfChange,Uri uri"));
1.752.2.4. updateNfcPreference()
private void updateNfcPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNfcPreference", ""));
1.753. NfcEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/NfcEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.753.1. NfcEnabler Field属性列表
1.753.1.1. final SwitchPreference mPreference;
private final SwitchPreference mPreference;
1.753.2. NfcEnablerMethod方法列表
1.753.2.1. handleNfcStateChanged(int newState)
protected void handleNfcStateChanged(int newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleNfcStateChanged", "int newState"));
1.754. NfcForegroundPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/NfcForegroundPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.754.1. NfcForegroundPreference Field属性列表
1.754.1.1. final PaymentBackend mPaymentBackend;
private final PaymentBackend mPaymentBackend;
1.754.2. NfcForegroundPreferenceMethod方法列表
1.754.2.1. onPaymentAppsChanged()
public void onPaymentAppsChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPaymentAppsChanged", ""));
1.754.2.2. refresh()
void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.754.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.755. NfcPaymentPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/NfcPaymentPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.755.1. NfcPaymentPreference Field属性列表
1.755.1.1. ImageView mSettingsButtonView;
// Fields below only modified on UI thread
private ImageView mSettingsButtonView;
1.755.1.2. final NfcPaymentAdapter mAdapter;
private final NfcPaymentAdapter mAdapter;
1.755.1.3. final Context mContext;
private final Context mContext;
1.755.1.4. final LayoutInflater mLayoutInflater;
private final LayoutInflater mLayoutInflater;
1.755.1.5. final PaymentBackend mPaymentBackend;
private final PaymentBackend mPaymentBackend;
1.755.1.6. static final String TAG
private static final String TAG = "NfcPaymentPreference";
1.755.2. NfcPaymentPreferenceMethod方法列表
1.755.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.755.2.2. refresh()
public void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.755.2.3. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.755.2.4. onPaymentAppsChanged()
public void onPaymentAppsChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPaymentAppsChanged", ""));
1.755.2.5. onClick(View view)
public void onClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View view"));
1.755.2.6. updateSettingsVisibility()
void updateSettingsVisibility()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSettingsVisibility", ""));
1.756. NfcPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/NfcPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.756.1. NfcPreferenceController Field属性列表
1.756.1.1. NfcEnabler mNfcEnabler;
private NfcEnabler mNfcEnabler;
1.756.1.2. NfcAirplaneModeObserver mAirplaneModeObserver;
private NfcAirplaneModeObserver mAirplaneModeObserver;
1.756.1.3. final NfcAdapter mNfcAdapter;
private final NfcAdapter mNfcAdapter;
1.756.1.4. static final String KEY_TOGGLE_NFC
public static final String KEY_TOGGLE_NFC = "toggle_nfc";
1.756.2. NfcPreferenceControllerMethod方法列表
1.756.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.756.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.756.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.756.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.756.2.5. getIntentFilter()
public IntentFilter getIntentFilter()
methodList.add(new ZMethod(mZAndroidAPPClass,"IntentFilter" ,"getIntentFilter", ""));
1.756.2.6. hasAsyncUpdate()
public boolean hasAsyncUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAsyncUpdate", ""));
1.756.2.7. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.756.2.8. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.756.2.9. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.756.2.10. static isToggleableInAirplaneMode(Context context)
public static boolean isToggleableInAirplaneMode(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isToggleableInAirplaneMode", "Context context"));
1.757. NightDisplayActivationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayActivationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.757.1. NightDisplayActivationPreferenceController Field属性列表
1.757.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.757.1.2. NightDisplayTimeFormatter mTimeFormatter;
private NightDisplayTimeFormatter mTimeFormatter;
1.757.1.3. Button mTurnOffButton;
private Button mTurnOffButton;
1.757.1.4. Button mTurnOnButton;
private Button mTurnOnButton;
1.757.1.5. final OnClickListener mListener
private final OnClickListener mListener = new OnClickListener() {
@Override
public void onClick(View v) {
mController.setActivated(!mController.isActivated());
updateStateInternal();
}
};
1.757.2. NightDisplayActivationPreferenceControllerMethod方法列表
1.757.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.757.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.757.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.757.2.4. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.757.2.5. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.757.2.6. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.757.2.7. updateStateInternal()
private void updateStateInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateStateInternal", ""));
1.757.2.8. final updateState(Preference preference)
public final void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.758. NightDisplayAutoModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayAutoModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.758.1. NightDisplayAutoModePreferenceController Field属性列表
1.758.1.1. DropDownPreference mPreference;
private DropDownPreference mPreference;
1.758.1.2. ColorDisplayController mController;
private ColorDisplayController mController;
1.758.2. NightDisplayAutoModePreferenceControllerMethod方法列表
1.758.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.758.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.758.2.3. final updateState(Preference preference)
public final void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.758.2.4. final onPreferenceChange(Preference preference,Object newValue)
public final boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.759. NightDisplayCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/NightDisplayCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.759.1. NightDisplayCondition Field属性列表
1.759.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.759.2. NightDisplayConditionMethod方法列表
1.759.2.1. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.759.2.2. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.759.2.3. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.759.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.759.2.5. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.759.2.6. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.759.2.7. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.759.2.8. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.759.2.9. onActivated(boolean activated)
public void onActivated(boolean activated)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivated", "boolean activated"));
1.760. NightDisplayCustomEndTimePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayCustomEndTimePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.760.1. NightDisplayCustomEndTimePreferenceController Field属性列表
1.760.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.760.1.2. NightDisplayTimeFormatter mTimeFormatter;
private NightDisplayTimeFormatter mTimeFormatter;
1.760.2. NightDisplayCustomEndTimePreferenceControllerMethod方法列表
1.760.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.760.2.2. final updateState(Preference preference)
public final void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.761. NightDisplayCustomStartTimePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayCustomStartTimePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.761.1. NightDisplayCustomStartTimePreferenceController Field属性列表
1.761.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.761.1.2. NightDisplayTimeFormatter mTimeFormatter;
private NightDisplayTimeFormatter mTimeFormatter;
1.761.2. NightDisplayCustomStartTimePreferenceControllerMethod方法列表
1.761.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.761.2.2. final updateState(Preference preference)
public final void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.762. NightDisplayFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.762.1. NightDisplayFooterPreferenceController Field属性列表
1.762.2. NightDisplayFooterPreferenceControllerMethod方法列表
1.762.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.762.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.763. NightDisplayIntensityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayIntensityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.763.1. NightDisplayIntensityPreferenceController Field属性列表
1.763.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.763.2. NightDisplayIntensityPreferenceControllerMethod方法列表
1.763.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.763.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.763.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.763.2.4. getSliderPosition()
public int getSliderPosition()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliderPosition", ""));
1.763.2.5. setSliderPosition(int position)
public boolean setSliderPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSliderPosition", "int position"));
1.763.2.6. getMaxSteps()
public int getMaxSteps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaxSteps", ""));
1.763.2.7. convertTemperature(int temperature)
private int convertTemperature(int temperature)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"convertTemperature", "int temperature"));
1.763.2.8. final updateState(Preference preference)
public final void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.764. NightDisplayPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.764.1. NightDisplayPreference Field属性列表
1.764.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.764.1.2. NightDisplayTimeFormatter mTimeFormatter;
private NightDisplayTimeFormatter mTimeFormatter;
1.764.2. NightDisplayPreferenceMethod方法列表
1.764.2.1. onAttached()
public void onAttached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttached", ""));
1.764.2.2. onDetached()
public void onDetached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetached", ""));
1.764.2.3. onActivated(boolean activated)
public void onActivated(boolean activated)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivated", "boolean activated"));
1.764.2.4. onAutoModeChanged(int autoMode)
public void onAutoModeChanged(int autoMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAutoModeChanged", "int autoMode"));
1.764.2.5. onCustomStartTimeChanged(LocalTime startTime)
public void onCustomStartTimeChanged(LocalTime startTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCustomStartTimeChanged", "LocalTime startTime"));
1.764.2.6. onCustomEndTimeChanged(LocalTime endTime)
public void onCustomEndTimeChanged(LocalTime endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCustomEndTimeChanged", "LocalTime endTime"));
1.764.2.7. updateSummary()
private void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.765. NightDisplayPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.765.1. NightDisplayPreferenceController Field属性列表
1.765.1.1. static final String KEY_NIGHT_DISPLAY
private static final String KEY_NIGHT_DISPLAY = "night_display";
1.765.2. NightDisplayPreferenceControllerMethod方法列表
1.765.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.765.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.765.2.3. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.766. NightDisplaySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplaySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.766.1. NightDisplaySettings Field属性列表
1.766.1.1. ColorDisplayController mController;
private ColorDisplayController mController;
1.766.1.2. static final String TAG
private static final String TAG = "NightDisplaySettings";
1.766.1.3. static final int DIALOG_START_TIME
private static final int DIALOG_START_TIME = 0;
1.766.1.4. static final int DIALOG_END_TIME
private static final int DIALOG_END_TIME = 1;
1.766.1.5. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.night_display_settings;
result.add(sir);
return result;
}
@Override
protected boolean isPageSearchEnabled(Context context) {
return ColorDisplayController.isAvailable(context);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.766.2. NightDisplaySettingsMethod方法列表
1.766.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.766.2.2. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.766.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.766.2.4. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.766.2.5. onCreateDialog(final int dialogId)
public Dialog onCreateDialog(final int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "final int dialogId"));
1.766.2.6. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.766.2.7. onActivated(boolean activated)
public void onActivated(boolean activated)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivated", "boolean activated"));
1.766.2.8. onAutoModeChanged(int autoMode)
public void onAutoModeChanged(int autoMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAutoModeChanged", "int autoMode"));
1.766.2.9. onColorTemperatureChanged(int colorTemperature)
public void onColorTemperatureChanged(int colorTemperature)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onColorTemperatureChanged", "int colorTemperature"));
1.766.2.10. onCustomStartTimeChanged(LocalTime startTime)
public void onCustomStartTimeChanged(LocalTime startTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCustomStartTimeChanged", "LocalTime startTime"));
1.766.2.11. onCustomEndTimeChanged(LocalTime endTime)
public void onCustomEndTimeChanged(LocalTime endTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCustomEndTimeChanged", "LocalTime endTime"));
1.766.2.12. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.766.2.13. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.766.2.14. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.766.2.15. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.766.2.16. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.766.2.17. static buildPreferenceControllers(Context context)
private static List buildPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context"));
1.767. NightDisplayTimeFormatter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightDisplayTimeFormatter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.767.1. NightDisplayTimeFormatter Field属性列表
1.767.1.1. DateFormat mTimeFormatter;
private DateFormat mTimeFormatter;
1.767.2. NightDisplayTimeFormatterMethod方法列表
1.767.2.1. getFormattedTimeString(LocalTime localTime)
public String getFormattedTimeString(LocalTime localTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getFormattedTimeString", "LocalTime localTime"));
1.767.2.2. getAutoModeTimeSummary(Context context,ColorDisplayController controller)
public String getAutoModeTimeSummary(Context context, ColorDisplayController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAutoModeTimeSummary", "Context context,ColorDisplayController controller"));
1.767.2.3. getAutoModeSummary(Context context,ColorDisplayController controller)
private String getAutoModeSummary(Context context, ColorDisplayController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAutoModeSummary", "Context context,ColorDisplayController controller"));
1.768. NightModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/NightModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.768.1. NightModePreferenceController Field属性列表
1.768.1.1. static final String TAG
private static final String TAG = "NightModePrefContr";
1.768.1.2. static final String KEY_NIGHT_MODE
private static final String KEY_NIGHT_MODE = "night_mode";
1.768.2. NightModePreferenceControllerMethod方法列表
1.768.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.768.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.768.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.768.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.769. NoOpOnStartTetheringCallback.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/NoOpOnStartTetheringCallback.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.769.1. NoOpOnStartTetheringCallback Field属性列表
1.769.2. NoOpOnStartTetheringCallbackMethod方法列表
1.769.2.1. static newInstance()
public static ConnectivityManager.OnStartTetheringCallback newInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"ConnectivityManager.OnStartTetheringCallback" ,"newInstance", ""));
1.770. NotificationAccessConfirmationActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationAccessConfirmationActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.770.1. NotificationAccessConfirmationActivity Field属性列表
1.770.1.1. int mUserId;
private int mUserId;
1.770.1.2. ComponentName mComponentName;
private ComponentName mComponentName;
1.770.1.3. NotificationManager mNm;
private NotificationManager mNm;
1.770.1.4. static final boolean DEBUG
private static final boolean DEBUG = false;
1.770.1.5. static final String LOG_TAG
private static final String LOG_TAG = "NotificationAccessConfirmationActivity";
1.770.2. NotificationAccessConfirmationActivityMethod方法列表
1.770.2.1. onCreate(@Nullable Bundle savedInstanceState)
protected void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.770.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.770.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.770.2.4. onAllow()
private void onAllow()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllow", ""));
1.770.2.5. dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"dispatchPopulateAccessibilityEvent", "AccessibilityEvent event"));
1.770.2.6. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.770.2.7. cancel()
public void cancel()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancel", ""));
1.770.2.8. dismiss()
public void dismiss()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismiss", ""));
1.771. NotificationAccessSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationAccessSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.771.1. NotificationAccessSettings Field属性列表
1.771.1.1. NotificationManager mNm;
private NotificationManager mNm;
1.771.1.2. static final String TAG
private static final String TAG = NotificationAccessSettings.class.getSimpleName();
1.771.1.3. static final Config CONFIG
private static final Config CONFIG = new Config.Builder().setTag(TAG).setSetting(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS).setIntentAction(NotificationListenerService.SERVICE_INTERFACE).setPermission(android.Manifest.permission.BIND_NOTIFICATION_LISTENER_SERVICE).setNoun("notification listener").setWarningDialogTitle(R.string.notification_listener_security_warning_title).setWarningDialogSummary(R.string.notification_listener_security_warning_summary).setEmptyText(R.string.no_notification_listeners).build();
1.771.2. NotificationAccessSettingsMethod方法列表
1.771.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.771.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.771.2.3. getConfig()
protected Config getConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"Config" ,"getConfig", ""));
1.771.2.4. setEnabled(ComponentName service,String title,boolean enable)
protected boolean setEnabled(ComponentName service, String title, boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEnabled", "ComponentName service,String title,boolean enable"));
1.771.2.5. isServiceEnabled(ComponentName cn)
protected boolean isServiceEnabled(ComponentName cn)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isServiceEnabled", "ComponentName cn"));
1.771.2.6. enable(ComponentName service)
protected void enable(ComponentName service)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enable", "ComponentName service"));
1.771.2.7. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.771.2.8. logSpecialPermissionChange(boolean enable,String packageName)
void logSpecialPermissionChange(boolean enable, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean enable,String packageName"));
1.771.2.9. static disable(final NotificationAccessSettings parent,final ComponentName cn)
private static void disable(final NotificationAccessSettings parent, final ComponentName cn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disable", "final NotificationAccessSettings parent,final ComponentName cn"));
1.772. NotificationAppPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationAppPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.772.1. NotificationAppPreference Field属性列表
1.772.1.1. Switch mSwitch;
private Switch mSwitch;
1.772.1.2. boolean mChecked;
private boolean mChecked;
1.772.1.3. boolean mEnableSwitch
private boolean mEnableSwitch = true;
1.772.2. NotificationAppPreferenceMethod方法列表
1.772.2.1. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.772.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.772.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.772.2.4. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.772.2.5. setSwitchEnabled(boolean enabled)
public void setSwitchEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwitchEnabled", "boolean enabled"));
1.772.2.6. setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "RestrictedLockUtils.EnforcedAdmin admin"));
1.772.2.7. getSwitch()
public Switch getSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"Switch" ,"getSwitch", ""));
1.773. NotificationBackend.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationBackend.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.773.1. NotificationBackend Field属性列表
1.773.1.1. static INotificationManager sINM
static INotificationManager sINM = INotificationManager.Stub.asInterface(ServiceManager.getService(Context.NOTIFICATION_SERVICE));
1.773.1.2. static final String TAG
private static final String TAG = "NotificationBackend";
1.773.2. NotificationBackendMethod方法列表
1.773.2.1. loadAppRow(Context context,PackageManager pm,ApplicationInfo app)
public AppRow loadAppRow(Context context, PackageManager pm, ApplicationInfo app)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppRow" ,"loadAppRow", "Context context,PackageManager pm,ApplicationInfo app"));
1.773.2.2. loadAppRow(Context context,PackageManager pm,PackageInfo app)
public AppRow loadAppRow(Context context, PackageManager pm, PackageInfo app)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppRow" ,"loadAppRow", "Context context,PackageManager pm,PackageInfo app"));
1.773.2.3. recordCanBeBlocked(Context context,PackageManager pm,PackageInfo app,AppRow row)
void recordCanBeBlocked(Context context, PackageManager pm, PackageInfo app, AppRow row)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"recordCanBeBlocked", "Context context,PackageManager pm,PackageInfo app,AppRow row"));
1.773.2.4. isSystemApp(Context context,ApplicationInfo app)
public boolean isSystemApp(Context context, ApplicationInfo app)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemApp", "Context context,ApplicationInfo app"));
1.773.2.5. getNotificationsBanned(String pkg,int uid)
public boolean getNotificationsBanned(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getNotificationsBanned", "String pkg,int uid"));
1.773.2.6. setNotificationsEnabledForPackage(String pkg,int uid,boolean enabled)
public boolean setNotificationsEnabledForPackage(String pkg, int uid, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setNotificationsEnabledForPackage", "String pkg,int uid,boolean enabled"));
1.773.2.7. canShowBadge(String pkg,int uid)
public boolean canShowBadge(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canShowBadge", "String pkg,int uid"));
1.773.2.8. setShowBadge(String pkg,int uid,boolean showBadge)
public boolean setShowBadge(String pkg, int uid, boolean showBadge)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setShowBadge", "String pkg,int uid,boolean showBadge"));
1.773.2.9. getChannel(String pkg,int uid,String channelId)
public NotificationChannel getChannel(String pkg, int uid, String channelId)
methodList.add(new ZMethod(mZAndroidAPPClass,"NotificationChannel" ,"getChannel", "String pkg,int uid,String channelId"));
1.773.2.10. getGroup(String pkg,int uid,String groupId)
public NotificationChannelGroup getGroup(String pkg, int uid, String groupId)
methodList.add(new ZMethod(mZAndroidAPPClass,"NotificationChannelGroup" ,"getGroup", "String pkg,int uid,String groupId"));
1.773.2.11. getGroups(String pkg,int uid)
public ParceledListSlice getGroups(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"ParceledListSlice" ,"getGroups", "String pkg,int uid"));
1.773.2.12. updateChannel(String pkg,int uid,NotificationChannel channel)
public void updateChannel(String pkg, int uid, NotificationChannel channel)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateChannel", "String pkg,int uid,NotificationChannel channel"));
1.773.2.13. updateChannelGroup(String pkg,int uid,NotificationChannelGroup group)
public void updateChannelGroup(String pkg, int uid, NotificationChannelGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateChannelGroup", "String pkg,int uid,NotificationChannelGroup group"));
1.773.2.14. getDeletedChannelCount(String pkg,int uid)
public int getDeletedChannelCount(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDeletedChannelCount", "String pkg,int uid"));
1.773.2.15. getBlockedChannelCount(String pkg,int uid)
public int getBlockedChannelCount(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBlockedChannelCount", "String pkg,int uid"));
1.773.2.16. onlyHasDefaultChannel(String pkg,int uid)
public boolean onlyHasDefaultChannel(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onlyHasDefaultChannel", "String pkg,int uid"));
1.773.2.17. getChannelCount(String pkg,int uid)
public int getChannelCount(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getChannelCount", "String pkg,int uid"));
1.773.2.18. getRecentApps()
public List getRecentApps()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getRecentApps", ""));
1.773.2.19. getBlockedAppCount()
public int getBlockedAppCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBlockedAppCount", ""));
1.773.2.20. static markAppRowWithBlockables(String[] nonBlockablePkgs,AppRow row,String packageName)
static void markAppRowWithBlockables(String[] nonBlockablePkgs, AppRow row, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"markAppRowWithBlockables", "String[] nonBlockablePkgs,AppRow row,String packageName"));
1.774. NotificationChannelWarningsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/NotificationChannelWarningsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.774.1. NotificationChannelWarningsPreferenceController Field属性列表
1.774.1.1. static final String SHOW_NOTIFICATION_CHANNEL_WARNINGS_KEY
private static final String SHOW_NOTIFICATION_CHANNEL_WARNINGS_KEY = "show_notification_channel_warnings";
1.774.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.774.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.774.1.4. static final int DEBUGGING_ENABLED
@VisibleForTesting
static final int DEBUGGING_ENABLED = 1;
1.774.1.5. static final int DEBUGGING_DISABLED
@VisibleForTesting
static final int DEBUGGING_DISABLED = 0;
1.774.2. NotificationChannelWarningsPreferenceControllerMethod方法列表
1.774.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.774.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.774.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.774.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.774.2.5. isDebuggable()
boolean isDebuggable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDebuggable", ""));
1.775. NotificationFooterPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationFooterPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.775.1. NotificationFooterPreference Field属性列表
1.775.2. NotificationFooterPreferenceMethod方法列表
1.775.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.775.2.2. init()
private void init()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", ""));
1.776. NotificationLockscreenPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationLockscreenPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.776.1. NotificationLockscreenPreference Field属性列表
1.776.1.1. boolean mAllowRemoteInput;
private boolean mAllowRemoteInput;
1.776.1.2. Listener mListener;
private Listener mListener;
1.776.1.3. boolean mShowRemoteInput;
private boolean mShowRemoteInput;
1.776.1.4. boolean mRemoteInputCheckBoxEnabled
private boolean mRemoteInputCheckBoxEnabled = true;
1.776.1.5. int mUserId
private int mUserId = UserHandle.myUserId();
1.776.1.6. RestrictedLockUtils.EnforcedAdmin mAdminRestrictingRemoteInput;
private RestrictedLockUtils.EnforcedAdmin mAdminRestrictingRemoteInput;
1.776.2. NotificationLockscreenPreferenceMethod方法列表
1.776.2.1. setRemoteInputCheckBoxEnabled(boolean enabled)
public void setRemoteInputCheckBoxEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRemoteInputCheckBoxEnabled", "boolean enabled"));
1.776.2.2. setRemoteInputRestricted(RestrictedLockUtils.EnforcedAdmin admin)
public void setRemoteInputRestricted(RestrictedLockUtils.EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRemoteInputRestricted", "RestrictedLockUtils.EnforcedAdmin admin"));
1.776.2.3. onClick()
protected void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.776.2.4. setUserId(int userId)
public void setUserId(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserId", "int userId"));
1.776.2.5. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener innerListener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener innerListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener innerListener"));
1.776.2.6. onDialogCreated(Dialog dialog)
protected void onDialogCreated(Dialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogCreated", "Dialog dialog"));
1.776.2.7. onDialogStateRestored(Dialog dialog,Bundle savedInstanceState)
protected void onDialogStateRestored(Dialog dialog, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogStateRestored", "Dialog dialog,Bundle savedInstanceState"));
1.776.2.8. createListAdapter()
protected ListAdapter createListAdapter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ListAdapter" ,"createListAdapter", ""));
1.776.2.9. onDialogClosed(boolean positiveResult)
protected void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.776.2.10. isAutoClosePreference()
protected boolean isAutoClosePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAutoClosePreference", ""));
1.776.2.11. checkboxVisibilityForSelectedIndex(int selected,boolean showRemoteAtAll)
private int checkboxVisibilityForSelectedIndex(int selected, boolean showRemoteAtAll)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"checkboxVisibilityForSelectedIndex", "int selected,boolean showRemoteAtAll"));
1.777. NotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.777.1. NotificationPreferenceController Field属性列表
1.777.1.1. NotificationChannel mChannel;
@Nullable
protected NotificationChannel mChannel;
1.777.1.2. NotificationChannelGroup mChannelGroup;
@Nullable
protected NotificationChannelGroup mChannelGroup;
1.777.1.3. RestrictedLockUtils.EnforcedAdmin mAdmin;
protected RestrictedLockUtils.EnforcedAdmin mAdmin;
1.777.1.4. NotificationBackend.AppRow mAppRow;
protected NotificationBackend.AppRow mAppRow;
1.777.1.5. Preference mPreference;
protected Preference mPreference;
1.777.1.6. final NotificationManager mNm;
protected final NotificationManager mNm;
1.777.1.7. final NotificationBackend mBackend;
protected final NotificationBackend mBackend;
1.777.1.8. final Context mContext;
protected final Context mContext;
1.777.1.9. final UserManager mUm;
protected final UserManager mUm;
1.777.1.10. final PackageManager mPm;
protected final PackageManager mPm;
1.777.1.11. static final String TAG
private static final String TAG = "ChannelPrefContr";
1.777.2. NotificationPreferenceControllerMethod方法列表
1.777.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.777.2.2. findAndRemovePreference(PreferenceGroup prefGroup,String key)
private void findAndRemovePreference(PreferenceGroup prefGroup, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"findAndRemovePreference", "PreferenceGroup prefGroup,String key"));
1.777.2.3. onResume(NotificationBackend.AppRow appRow,@Nullable NotificationChannel channel,@Nullable NotificationChannelGroup group,RestrictedLockUtils.EnforcedAdmin admin)
protected void onResume(NotificationBackend.AppRow appRow, @Nullable NotificationChannel channel, @Nullable NotificationChannelGroup group, RestrictedLockUtils.EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", "NotificationBackend.AppRow appRow,@Nullable NotificationChannel channel,@Nullable NotificationChannelGroup group,RestrictedLockUtils.EnforcedAdmin admin"));
1.777.2.4. checkCanBeVisible(int minImportanceVisible)
protected boolean checkCanBeVisible(int minImportanceVisible)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkCanBeVisible", "int minImportanceVisible"));
1.777.2.5. saveChannel()
protected void saveChannel()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveChannel", ""));
1.777.2.6. isChannelConfigurable()
protected boolean isChannelConfigurable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelConfigurable", ""));
1.777.2.7. isChannelBlockable()
protected boolean isChannelBlockable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelBlockable", ""));
1.777.2.8. isChannelGroupBlockable()
protected boolean isChannelGroupBlockable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelGroupBlockable", ""));
1.777.2.9. hasValidGroup()
protected boolean hasValidGroup()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasValidGroup", ""));
1.777.2.10. final isDefaultChannel()
protected final boolean isDefaultChannel()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDefaultChannel", ""));
1.778. NotificationRingtonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationRingtonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.778.1. NotificationRingtonePreferenceController Field属性列表
1.778.1.1. static final String KEY_NOTIFICATION_RINGTONE
private static final String KEY_NOTIFICATION_RINGTONE = "notification_ringtone";
1.778.2. NotificationRingtonePreferenceControllerMethod方法列表
1.778.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.778.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.778.2.3. getRingtoneType()
public int getRingtoneType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingtoneType", ""));
1.779. NotificationSettingsBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationSettingsBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.779.1. NotificationSettingsBase Field属性列表
1.779.1.1. PackageManager mPm;
protected PackageManager mPm;
1.779.1.2. NotificationBackend mBackend
protected NotificationBackend mBackend = new NotificationBackend();
1.779.1.3. NotificationManager mNm;
protected NotificationManager mNm;
1.779.1.4. Context mContext;
protected Context mContext;
1.779.1.5. int mUid;
protected int mUid;
1.779.1.6. int mUserId;
protected int mUserId;
1.779.1.7. String mPkg;
protected String mPkg;
1.779.1.8. PackageInfo mPkgInfo;
protected PackageInfo mPkgInfo;
1.779.1.9. EnforcedAdmin mSuspendedAppsAdmin;
protected EnforcedAdmin mSuspendedAppsAdmin;
1.779.1.10. NotificationChannelGroup mChannelGroup;
protected NotificationChannelGroup mChannelGroup;
1.779.1.11. NotificationChannel mChannel;
protected NotificationChannel mChannel;
1.779.1.12. NotificationBackend.AppRow mAppRow;
protected NotificationBackend.AppRow mAppRow;
1.779.1.13. boolean mShowLegacyChannelConfig
protected boolean mShowLegacyChannelConfig = false;
1.779.1.14. boolean mListeningToPackageRemove;
protected boolean mListeningToPackageRemove;
1.779.1.15. List mControllers
protected List mControllers = new ArrayList<>();
1.779.1.16. List mDynamicPreferences
protected List mDynamicPreferences = new ArrayList<>();
1.779.1.17. ImportanceListener mImportanceListener
protected ImportanceListener mImportanceListener = new ImportanceListener();
1.779.1.18. Intent mIntent;
protected Intent mIntent;
1.779.1.19. Bundle mArgs;
protected Bundle mArgs;
1.779.1.20. Comparator mChannelComparator
protected Comparator mChannelComparator = (left, right) -> {
if (left.isDeleted() != right.isDeleted()) {
return Boolean.compare(left.isDeleted(), right.isDeleted());
} else if (left.getId().equals(NotificationChannel.DEFAULT_CHANNEL_ID)) {
// Uncategorized/miscellaneous legacy channel goes last
return 1;
} else if (right.getId().equals(NotificationChannel.DEFAULT_CHANNEL_ID)) {
return -1;
}
return left.getId().compareTo(right.getId());
};
1.779.1.21. final BroadcastReceiver mPackageRemovedReceiver
protected final BroadcastReceiver mPackageRemovedReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String packageName = intent.getData().getSchemeSpecificPart();
if (mPkgInfo == null || TextUtils.equals(mPkgInfo.packageName, packageName)) {
if (DEBUG) {
Log.d(TAG, "Package (" + packageName + ") removed. Removing" + "NotificationSettingsBase.");
}
onPackageRemoved();
}
}
};
1.779.1.22. static final String TAG
private static final String TAG = "NotifiSettingsBase";
1.779.1.23. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.779.1.24. static final String ARG_FROM_SETTINGS
protected static final String ARG_FROM_SETTINGS = "fromSettings";
1.779.2. NotificationSettingsBaseMethod方法列表
1.779.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.779.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.779.2.3. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.779.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.779.2.5. loadChannel()
private void loadChannel()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadChannel", ""));
1.779.2.6. loadAppRow()
private void loadAppRow()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadAppRow", ""));
1.779.2.7. loadChannelGroup()
private void loadChannelGroup()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadChannelGroup", ""));
1.779.2.8. toastAndFinish()
protected void toastAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toastAndFinish", ""));
1.779.2.9. collectConfigActivities()
protected void collectConfigActivities()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"collectConfigActivities", ""));
1.779.2.10. findPackageInfo(String pkg,int uid)
private PackageInfo findPackageInfo(String pkg, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"findPackageInfo", "String pkg,int uid"));
1.779.2.11. populateSingleChannelPrefs(PreferenceGroup parent,final NotificationChannel channel,final boolean groupBlocked)
protected Preference populateSingleChannelPrefs(PreferenceGroup parent, final NotificationChannel channel, final boolean groupBlocked)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"populateSingleChannelPrefs", "PreferenceGroup parent,final NotificationChannel channel,final boolean groupBlocked"));
1.779.2.12. isChannelConfigurable(NotificationChannel channel)
protected boolean isChannelConfigurable(NotificationChannel channel)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelConfigurable", "NotificationChannel channel"));
1.779.2.13. isChannelBlockable(NotificationChannel channel)
protected boolean isChannelBlockable(NotificationChannel channel)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelBlockable", "NotificationChannel channel"));
1.779.2.14. isChannelGroupBlockable(NotificationChannelGroup group)
protected boolean isChannelGroupBlockable(NotificationChannelGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChannelGroupBlockable", "NotificationChannelGroup group"));
1.779.2.15. setVisible(Preference p,boolean visible)
protected void setVisible(Preference p, boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisible", "Preference p,boolean visible"));
1.779.2.16. setVisible(PreferenceGroup parent,Preference p,boolean visible)
protected void setVisible(PreferenceGroup parent, Preference p, boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisible", "PreferenceGroup parent,Preference p,boolean visible"));
1.779.2.17. startListeningToPackageRemove()
protected void startListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListeningToPackageRemove", ""));
1.779.2.18. stopListeningToPackageRemove()
protected void stopListeningToPackageRemove()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListeningToPackageRemove", ""));
1.779.2.19. onPackageRemoved()
protected void onPackageRemoved()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageRemoved", ""));
1.780. NotificationsOffPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationsOffPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.780.1. NotificationsOffPreferenceController Field属性列表
1.780.1.1. static final String KEY_BLOCKED_DESC
private static final String KEY_BLOCKED_DESC = "block_desc";
1.780.2. NotificationsOffPreferenceControllerMethod方法列表
1.780.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.780.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.780.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.781. NotificationSoundPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationSoundPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.781.1. NotificationSoundPreference Field属性列表
1.781.1.1. Uri mRingtone;
private Uri mRingtone;
1.781.2. NotificationSoundPreferenceMethod方法列表
1.781.2.1. onRestoreRingtone()
protected Uri onRestoreRingtone()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"onRestoreRingtone", ""));
1.781.2.2. setRingtone(Uri ringtone)
public void setRingtone(Uri ringtone)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRingtone", "Uri ringtone"));
1.781.2.3. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.781.2.4. updateRingtoneName(final Uri uri)
private void updateRingtoneName(final Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRingtoneName", "final Uri uri"));
1.782. NotificationStation.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationStation.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.782.1. NotificationStation Field属性列表
1.782.1.1. Handler mHandler;
private Handler mHandler;
1.782.1.2. PackageManager mPm;
private PackageManager mPm;
1.782.1.3. INotificationManager mNoMan;
private INotificationManager mNoMan;
1.782.1.4. RankingMap mRanking;
private RankingMap mRanking;
1.782.1.5. Runnable mRefreshListRunnable
private Runnable mRefreshListRunnable = new Runnable() {
@Override
public void run() {
refreshList();
}
};
1.782.1.6. Context mContext;
private Context mContext;
1.782.1.7. final NotificationListenerService mListener
private final NotificationListenerService mListener = new NotificationListenerService() {
@Override
public void onNotificationPosted(StatusBarNotification sbn, RankingMap ranking) {
logd("onNotificationPosted: %s, with update for %d", sbn.getNotification(), ranking == null ? 0 : ranking.getOrderedKeys().length);
mRanking = ranking;
scheduleRefreshList();
}
@Override
public void onNotificationRemoved(StatusBarNotification notification, RankingMap ranking) {
logd("onNotificationRankingUpdate with update for %d", ranking == null ? 0 : ranking.getOrderedKeys().length);
mRanking = ranking;
scheduleRefreshList();
}
@Override
public void onNotificationRankingUpdate(RankingMap ranking) {
logd("onNotificationRankingUpdate with update for %d", ranking == null ? 0 : ranking.getOrderedKeys().length);
mRanking = ranking;
scheduleRefreshList();
}
@Override
public void onListenerConnected() {
mRanking = getCurrentRanking();
logd("onListenerConnected with update for %d", mRanking == null ? 0 : mRanking.getOrderedKeys().length);
scheduleRefreshList();
}
};
1.782.1.8. final Comparator mNotificationSorter
private final Comparator mNotificationSorter = new Comparator() {
@Override
public int compare(HistoricalNotificationInfo lhs, HistoricalNotificationInfo rhs) {
return Long.compare(rhs.timestamp, lhs.timestamp);
}
};
1.782.1.9. static final String TAG
private static final String TAG = NotificationStation.class.getSimpleName();
1.782.1.10. static final boolean DEBUG
private static final boolean DEBUG = true;
1.782.1.11. static final boolean DUMP_EXTRAS
private static final boolean DUMP_EXTRAS = true;
1.782.1.12. static final boolean DUMP_PARCEL
private static final boolean DUMP_PARCEL = true;
1.782.2. NotificationStationMethod方法列表
1.782.2.1. scheduleRefreshList()
private void scheduleRefreshList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleRefreshList", ""));
1.782.2.2. onAttach(Activity activity)
public void onAttach(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Activity activity"));
1.782.2.3. onDetach()
public void onDetach()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetach", ""));
1.782.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.782.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.782.2.6. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.782.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.782.2.8. refreshList()
private void refreshList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshList", ""));
1.782.2.9. loadNotifications()
private List loadNotifications()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadNotifications", ""));
1.782.2.10. generateExtraText(StatusBarNotification sbn,HistoricalNotificationInfo info)
private CharSequence generateExtraText(StatusBarNotification sbn, HistoricalNotificationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"generateExtraText", "StatusBarNotification sbn,HistoricalNotificationInfo info"));
1.782.2.11. getResourcesForUserPackage(String pkg,int userId)
private Resources getResourcesForUserPackage(String pkg, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Resources" ,"getResourcesForUserPackage", "String pkg,int userId"));
1.782.2.12. loadPackageIconDrawable(String pkg,int userId)
private Drawable loadPackageIconDrawable(String pkg, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"loadPackageIconDrawable", "String pkg,int userId"));
1.782.2.13. loadPackageName(String pkg)
private CharSequence loadPackageName(String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"loadPackageName", "String pkg"));
1.782.2.14. loadIconDrawable(String pkg,int userId,int resId)
private Drawable loadIconDrawable(String pkg, int userId, int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"loadIconDrawable", "String pkg,int userId,int resId"));
1.782.2.15. static logd(String msg,Object... args)
private static void logd(String msg, Object... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logd", "String msg,Object... args"));
1.782.2.16. static bold(CharSequence cs)
private static CharSequence bold(CharSequence cs)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"bold", "CharSequence cs"));
1.782.2.17. static getTitleString(Notification n)
private static String getTitleString(Notification n)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTitleString", "Notification n"));
1.782.2.18. static formatPendingIntent(PendingIntent pi)
private static String formatPendingIntent(PendingIntent pi)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatPendingIntent", "PendingIntent pi"));
1.783. NotificationSwitchBarPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationSwitchBarPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.783.1. NotificationSwitchBarPreference Field属性列表
1.783.1.1. ToggleSwitch mSwitch;
private ToggleSwitch mSwitch;
1.783.1.2. boolean mChecked;
private boolean mChecked;
1.783.1.3. boolean mEnableSwitch
private boolean mEnableSwitch = true;
1.783.2. NotificationSwitchBarPreferenceMethod方法列表
1.783.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.783.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.783.2.3. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.783.2.4. setSwitchEnabled(boolean enabled)
public void setSwitchEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwitchEnabled", "boolean enabled"));
1.783.2.5. setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "RestrictedLockUtils.EnforcedAdmin admin"));
1.784. NotificationVibrationIntensityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/NotificationVibrationIntensityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.784.1. NotificationVibrationIntensityPreferenceController Field属性列表
1.784.1.1. static final String PREF_KEY
@VisibleForTesting
static final String PREF_KEY = "notification_vibration_preference_screen";
1.784.2. NotificationVibrationIntensityPreferenceControllerMethod方法列表
1.784.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.784.2.2. getDefaultIntensity()
protected int getDefaultIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIntensity", ""));
1.785. NotificationVibrationPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/NotificationVibrationPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.785.1. NotificationVibrationPreferenceFragment Field属性列表
1.785.2. NotificationVibrationPreferenceFragmentMethod方法列表
1.785.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.785.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.785.2.3. getVibrationIntensitySetting()
protected String getVibrationIntensitySetting()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVibrationIntensitySetting", ""));
1.785.2.4. getPreviewVibrationAudioAttributesUsage()
protected int getPreviewVibrationAudioAttributesUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreviewVibrationAudioAttributesUsage", ""));
1.785.2.5. getDefaultVibrationIntensity()
protected int getDefaultVibrationIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultVibrationIntensity", ""));
1.786. NotificationVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/NotificationVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.786.1. NotificationVolumePreferenceController Field属性列表
1.786.1.1. static final String KEY_NOTIFICATION_VOLUME
private static final String KEY_NOTIFICATION_VOLUME = "notification_volume";
1.786.2. NotificationVolumePreferenceControllerMethod方法列表
1.786.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.786.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.786.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.786.2.4. getAudioStream()
public int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.786.2.5. getMuteIcon()
public int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.787. NotifyOpenNetworksPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/NotifyOpenNetworksPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.787.1. NotifyOpenNetworksPreferenceController Field属性列表
1.787.1.1. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.787.1.2. static final String KEY_NOTIFY_OPEN_NETWORKS
private static final String KEY_NOTIFY_OPEN_NETWORKS = "notify_open_networks";
1.787.2. NotifyOpenNetworksPreferenceControllerMethod方法列表
1.787.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.787.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.787.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.787.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.787.2.5. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.787.2.6. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.787.2.7. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.788. OemLockInfoDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/OemLockInfoDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.788.1. OemLockInfoDialog Field属性列表
1.788.1.1. static final String TAG
private static final String TAG = "OemLockInfoDialog";
1.788.2. OemLockInfoDialogMethod方法列表
1.788.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.788.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.788.2.3. static show(Fragment host)
public static void show(Fragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host"));
1.789. OemUnlockDialogHost.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/OemUnlockDialogHost.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.790. OemUnlockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/OemUnlockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.790.1. OemUnlockPreferenceController Field属性列表
1.790.1.1. RestrictedSwitchPreference mPreference;
private RestrictedSwitchPreference mPreference;
1.790.1.2. final OemLockManager mOemLockManager;
private final OemLockManager mOemLockManager;
1.790.1.3. final UserManager mUserManager;
private final UserManager mUserManager;
1.790.1.4. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.790.1.5. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.790.1.6. final ChooseLockSettingsHelper mChooseLockSettingsHelper;
private final ChooseLockSettingsHelper mChooseLockSettingsHelper;
1.790.1.7. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "oem_unlock_enable";
1.790.2. OemUnlockPreferenceControllerMethod方法列表
1.790.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.790.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.790.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.790.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.790.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.790.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.790.2.7. onDeveloperOptionsSwitchEnabled()
protected void onDeveloperOptionsSwitchEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchEnabled", ""));
1.790.2.8. onOemUnlockConfirmed()
public void onOemUnlockConfirmed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOemUnlockConfirmed", ""));
1.790.2.9. onOemUnlockDismissed()
public void onOemUnlockDismissed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOemUnlockDismissed", ""));
1.790.2.10. handleDeveloperOptionsToggled()
private void handleDeveloperOptionsToggled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleDeveloperOptionsToggled", ""));
1.790.2.11. updateOemUnlockSettingDescription()
private void updateOemUnlockSettingDescription()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateOemUnlockSettingDescription", ""));
1.790.2.12. isSimLockedDevice()
private boolean isSimLockedDevice()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSimLockedDevice", ""));
1.790.2.13. isBootloaderUnlocked()
boolean isBootloaderUnlocked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBootloaderUnlocked", ""));
1.790.2.14. enableOemUnlockPreference()
private boolean enableOemUnlockPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"enableOemUnlockPreference", ""));
1.790.2.15. showKeyguardConfirmation(Resources resources,int requestCode)
boolean showKeyguardConfirmation(Resources resources, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showKeyguardConfirmation", "Resources resources,int requestCode"));
1.790.2.16. confirmEnableOemUnlock()
void confirmEnableOemUnlock()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"confirmEnableOemUnlock", ""));
1.790.2.17. isOemUnlockAllowedByUserAndCarrier()
boolean isOemUnlockAllowedByUserAndCarrier()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isOemUnlockAllowedByUserAndCarrier", ""));
1.790.2.18. isOemUnlockedAllowed()
boolean isOemUnlockedAllowed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isOemUnlockedAllowed", ""));
1.791. OnActivityResultListener.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/OnActivityResultListener.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.792. OnPreferenceClickListener.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/OnPreferenceClickListener.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.793. OpenBatterySaverAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/OpenBatterySaverAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.793.1. OpenBatterySaverAction Field属性列表
1.793.2. OpenBatterySaverActionMethod方法列表
1.793.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.794. OpenRestrictAppFragmentAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/OpenRestrictAppFragmentAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.794.1. OpenRestrictAppFragmentAction Field属性列表
1.794.1.1. BatteryDatabaseManager mBatteryDatabaseManager;
@VisibleForTesting
BatteryDatabaseManager mBatteryDatabaseManager;
1.794.1.2. final RestrictAppTip mRestrictAppTip;
private final RestrictAppTip mRestrictAppTip;
1.794.1.3. final InstrumentedPreferenceFragment mFragment;
private final InstrumentedPreferenceFragment mFragment;
1.794.2. OpenRestrictAppFragmentActionMethod方法列表
1.794.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.795. OverlayManagerWrapper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wrapper/OverlayManagerWrapper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.795.1. OverlayManagerWrapper Field属性列表
1.795.1.1. final IOverlayManager mOverlayManager;
private final IOverlayManager mOverlayManager;
1.795.2. OverlayManagerWrapperMethod方法列表
1.795.2.1. getOverlayInfosForTarget(String overlay,int userId)
public List getOverlayInfosForTarget(String overlay, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getOverlayInfosForTarget", "String overlay,int userId"));
1.795.2.2. setEnabled(String overlay,boolean enabled,int userId)
public boolean setEnabled(String overlay, boolean enabled, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEnabled", "String overlay,boolean enabled,int userId"));
1.795.2.3. setEnabledExclusiveInCategory(String overlay,int userId)
public boolean setEnabledExclusiveInCategory(String overlay, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEnabledExclusiveInCategory", "String overlay,int userId"));
1.796. OwnerInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/OwnerInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.796.1. OwnerInfoPreferenceController Field属性列表
1.796.1.1. RestrictedPreference mOwnerInfoPref;
private RestrictedPreference mOwnerInfoPref;
1.796.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.796.1.3. final Fragment mParent;
private final Fragment mParent;
1.796.1.4. static final String KEY_OWNER_INFO
private static final String KEY_OWNER_INFO = "owner_info_settings";
1.796.1.5. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.796.2. OwnerInfoPreferenceControllerMethod方法列表
1.796.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.796.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.796.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.796.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.796.2.5. updateEnableState()
public void updateEnableState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEnableState", ""));
1.796.2.6. updateSummary()
public void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.796.2.7. isDeviceOwnerInfoEnabled()
boolean isDeviceOwnerInfoEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceOwnerInfoEnabled", ""));
1.796.2.8. getDeviceOwnerInfo()
String getDeviceOwnerInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceOwnerInfo", ""));
1.796.2.9. isOwnerInfoEnabled()
boolean isOwnerInfoEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isOwnerInfoEnabled", ""));
1.796.2.10. getOwnerInfo()
String getOwnerInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getOwnerInfo", ""));
1.796.2.11. getDeviceOwner()
EnforcedAdmin getDeviceOwner()
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getDeviceOwner", ""));
1.797. OwnerInfoSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/OwnerInfoSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.797.1. OwnerInfoSettings Field属性列表
1.797.1.1. View mView;
private View mView;
1.797.1.2. int mUserId;
private int mUserId;
1.797.1.3. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.797.1.4. EditText mOwnerInfo;
private EditText mOwnerInfo;
1.797.1.5. static final String TAG_OWNER_INFO
private static final String TAG_OWNER_INFO = "ownerInfo";
1.797.2. OwnerInfoSettingsMethod方法列表
1.797.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.797.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.797.2.3. initView()
private void initView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initView", ""));
1.797.2.4. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.797.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.797.2.6. static show(Fragment parent)
public static void show(Fragment parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent"));
1.798. P2pCategoryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/P2pCategoryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.798.1. P2pCategoryPreferenceController Field属性列表
1.798.1.1. PreferenceGroup mCategory;
protected PreferenceGroup mCategory;
1.798.2. P2pCategoryPreferenceControllerMethod方法列表
1.798.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.798.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.798.2.3. removeAllChildren()
public void removeAllChildren()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeAllChildren", ""));
1.798.2.4. addChild(Preference child)
public void addChild(Preference child)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addChild", "Preference child"));
1.798.2.5. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.799. P2pPeerCategoryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/P2pPeerCategoryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.799.1. P2pPeerCategoryPreferenceController Field属性列表
1.799.2. P2pPeerCategoryPreferenceControllerMethod方法列表
1.799.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.800. P2pPersistentCategoryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/P2pPersistentCategoryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.800.1. P2pPersistentCategoryPreferenceController Field属性列表
1.800.2. P2pPersistentCategoryPreferenceControllerMethod方法列表
1.800.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.801. P2pThisDevicePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/P2pThisDevicePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.801.1. P2pThisDevicePreferenceController Field属性列表
1.801.1.1. Preference mPreference;
private Preference mPreference;
1.801.2. P2pThisDevicePreferenceControllerMethod方法列表
1.801.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.801.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.801.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.801.2.4. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.801.2.5. updateDeviceName(WifiP2pDevice thisDevice)
public void updateDeviceName(WifiP2pDevice thisDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDeviceName", "WifiP2pDevice thisDevice"));
1.802. PasswordRequirementAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/PasswordRequirementAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.802.1. PasswordRequirementAdapter Field属性列表
1.802.1.1. String[] mRequirements;
private String[] mRequirements;
1.802.2. PasswordRequirementAdapterMethod方法列表
1.802.2.1. onCreateViewHolder(ViewGroup parent,int viewType)
public PasswordRequirementViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"PasswordRequirementViewHolder" ,"onCreateViewHolder", "ViewGroup parent,int viewType"));
1.802.2.2. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.802.2.3. setRequirements(String[] requirements)
public void setRequirements(String[] requirements)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRequirements", "String[] requirements"));
1.802.2.4. getItemId(int position)
public long getItemId(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getItemId", "int position"));
1.802.2.5. onBindViewHolder(PasswordRequirementViewHolder holder,int position)
public void onBindViewHolder(PasswordRequirementViewHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PasswordRequirementViewHolder holder,int position"));
1.803. PatternVisiblePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/screenlock/PatternVisiblePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.803.1. PatternVisiblePreferenceController Field属性列表
1.803.1.1. final int mUserId;
private final int mUserId;
1.803.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.803.1.3. static final String PREF_KEY
private static final String PREF_KEY = "visiblepattern";
1.803.2. PatternVisiblePreferenceControllerMethod方法列表
1.803.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.803.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.803.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.803.2.4. isPatternLock()
private boolean isPatternLock()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPatternLock", ""));
1.803.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.804. PaymentBackend.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/PaymentBackend.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.804.1. PaymentBackend Field属性列表
1.804.1.1. ArrayList mAppInfos;
// Fields below only modified on UI thread
private ArrayList mAppInfos;
1.804.1.2. PaymentAppInfo mDefaultAppInfo;
private PaymentAppInfo mDefaultAppInfo;
1.804.1.3. ArrayList mCallbacks
private ArrayList mCallbacks = new ArrayList();
1.804.1.4. final Context mContext;
private final Context mContext;
1.804.1.5. final NfcAdapter mAdapter;
private final NfcAdapter mAdapter;
1.804.1.6. final CardEmulation mCardEmuManager;
private final CardEmulation mCardEmuManager;
1.804.1.7. final PackageMonitor mSettingsPackageMonitor
private final PackageMonitor mSettingsPackageMonitor = new SettingsPackageMonitor();
1.804.1.8. final Handler mHandler
private final Handler mHandler = new Handler() {
@Override
public void dispatchMessage(Message msg) {
refresh();
}
};
1.804.1.9. static final String TAG
public static final String TAG = "Settings.PaymentBackend";
1.804.2. PaymentBackendMethod方法列表
1.804.2.1. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.804.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.804.2.3. refresh()
public void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.804.2.4. registerCallback(Callback callback)
public void registerCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerCallback", "Callback callback"));
1.804.2.5. unregisterCallback(Callback callback)
public void unregisterCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterCallback", "Callback callback"));
1.804.2.6. getPaymentAppInfos()
public List getPaymentAppInfos()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getPaymentAppInfos", ""));
1.804.2.7. getDefaultApp()
public PaymentAppInfo getDefaultApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"PaymentAppInfo" ,"getDefaultApp", ""));
1.804.2.8. makeCallbacks()
void makeCallbacks()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"makeCallbacks", ""));
1.804.2.9. loadDrawableForPackage(String pkgName,int drawableResId)
Drawable loadDrawableForPackage(String pkgName, int drawableResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"loadDrawableForPackage", "String pkgName,int drawableResId"));
1.804.2.10. isForegroundMode()
boolean isForegroundMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isForegroundMode", ""));
1.804.2.11. setForegroundMode(boolean foreground)
void setForegroundMode(boolean foreground)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setForegroundMode", "boolean foreground"));
1.804.2.12. getDefaultPaymentApp()
ComponentName getDefaultPaymentApp()
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getDefaultPaymentApp", ""));
1.804.2.13. setDefaultPaymentApp(ComponentName app)
public void setDefaultPaymentApp(ComponentName app)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultPaymentApp", "ComponentName app"));
1.805. PaymentDefaultDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/PaymentDefaultDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.805.1. PaymentDefaultDialog Field属性列表
1.805.1.1. PaymentBackend mBackend;
private PaymentBackend mBackend;
1.805.1.2. ComponentName mNewDefault;
private ComponentName mNewDefault;
1.805.1.3. static final String TAG
public static final String TAG = "PaymentDefaultDialog";
1.805.1.4. static final int PAYMENT_APP_MAX_CAPTION_LENGTH
private static final int PAYMENT_APP_MAX_CAPTION_LENGTH = 40;
1.805.2. PaymentDefaultDialogMethod方法列表
1.805.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.805.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.805.2.3. buildDialog(ComponentName component,String category)
private boolean buildDialog(ComponentName component, String category)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"buildDialog", "ComponentName component,String category"));
1.805.2.4. sanitizePaymentAppCaption(String input)
private String sanitizePaymentAppCaption(String input)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"sanitizePaymentAppCaption", "String input"));
1.806. PaymentSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/nfc/PaymentSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.806.1. PaymentSettings Field属性列表
1.806.1.1. PaymentBackend mPaymentBackend;
private PaymentBackend mPaymentBackend;
1.806.1.2. static final String TAG
public static final String TAG = "PaymentSettings";
1.806.1.3. static final String PAYMENT_KEY
static final String PAYMENT_KEY = "payment";
1.806.1.4. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList();
final Resources res = context.getResources();
// Add fragment title
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.key = PAYMENT_KEY;
data.title = res.getString(R.string.nfc_payment_settings_title);
data.screenTitle = res.getString(R.string.nfc_payment_settings_title);
data.keywords = res.getString(R.string.keywords_payment_settings);
result.add(data);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List nonVisibleKeys = super.getNonIndexableKeys(context);
final PackageManager pm = context.getPackageManager();
if (pm.hasSystemFeature(PackageManager.FEATURE_NFC)) {
return nonVisibleKeys;
}
nonVisibleKeys.add(PAYMENT_KEY);
return nonVisibleKeys;
}
};
1.806.2. PaymentSettingsMethod方法列表
1.806.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.806.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.806.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.806.2.4. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.806.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.806.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.806.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.807. PercentageBarChart.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PercentageBarChart.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.807.1. PercentageBarChart Field属性列表
1.807.1.1. Collection mEntries;
private Collection mEntries;
1.807.1.2. int mMinTickWidth
private int mMinTickWidth = 1;
1.807.1.3. final Paint mEmptyPaint
private final Paint mEmptyPaint = new Paint();
1.807.2. PercentageBarChartMethod方法列表
1.807.2.1. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.807.2.2. setBackgroundColor(int color)
public void setBackgroundColor(int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBackgroundColor", "int color"));
1.807.2.3. setEntries(Collection entries)
public void setEntries(Collection entries)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEntries", "Collection entries"));
1.807.2.4. static createEntry(int order,float percentage,int color)
public static Entry createEntry(int order, float percentage, int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"Entry" ,"createEntry", "int order,float percentage,int color"));
1.808. PhoneLanguagePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/language/PhoneLanguagePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.808.1. PhoneLanguagePreferenceController Field属性列表
1.808.1.1. static final String KEY_PHONE_LANGUAGE
private static final String KEY_PHONE_LANGUAGE = "phone_language";
1.808.2. PhoneLanguagePreferenceControllerMethod方法列表
1.808.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.808.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.808.2.3. updateNonIndexableKeys(List keys)
public void updateNonIndexableKeys(List keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNonIndexableKeys", "List keys"));
1.808.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.808.2.5. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.809. PhoneNumberPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PhoneNumberPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.809.1. PhoneNumberPreferenceController Field属性列表
1.809.1.1. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.809.1.2. final SubscriptionManager mSubscriptionManager;
private final SubscriptionManager mSubscriptionManager;
1.809.1.3. final List mPreferenceList
private final List mPreferenceList = new ArrayList<>();
1.809.1.4. static final String KEY_PHONE_NUMBER
private static final String KEY_PHONE_NUMBER = "phone_number";
1.809.2. PhoneNumberPreferenceControllerMethod方法列表
1.809.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.809.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.809.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.809.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.809.2.5. getPhoneNumber(int simSlot)
private CharSequence getPhoneNumber(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPhoneNumber", "int simSlot"));
1.809.2.6. getPreferenceTitle(int simSlot)
private CharSequence getPreferenceTitle(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getPreferenceTitle", "int simSlot"));
1.809.2.7. getSubscriptionInfo(int simSlot)
SubscriptionInfo getSubscriptionInfo(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubscriptionInfo" ,"getSubscriptionInfo", "int simSlot"));
1.809.2.8. getFormattedPhoneNumber(SubscriptionInfo subscriptionInfo)
CharSequence getFormattedPhoneNumber(SubscriptionInfo subscriptionInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getFormattedPhoneNumber", "SubscriptionInfo subscriptionInfo"));
1.809.2.9. createNewPreference(Context context)
Preference createNewPreference(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createNewPreference", "Context context"));
1.810. PhoneRingtonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/PhoneRingtonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.810.1. PhoneRingtonePreferenceController Field属性列表
1.810.1.1. static final String KEY_PHONE_RINGTONE
private static final String KEY_PHONE_RINGTONE = "ringtone";
1.810.2. PhoneRingtonePreferenceControllerMethod方法列表
1.810.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.810.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.810.2.3. getRingtoneType()
public int getRingtoneType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingtoneType", ""));
1.811. PhotosViewHolderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/PhotosViewHolderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.811.1. PhotosViewHolderController Field属性列表
1.811.1.1. Context mContext;
private Context mContext;
1.811.1.2. StorageStatsSource mSource;
private StorageStatsSource mSource;
1.811.1.3. String mVolumeUuid;
private String mVolumeUuid;
1.811.1.4. long mFilesSize;
private long mFilesSize;
1.811.1.5. UserHandle mUser;
private UserHandle mUser;
1.811.1.6. static final String TAG
private static final String TAG = "PhotosViewHolderCtrl";
1.811.1.7. static final String IMAGE_MIME_TYPE
private static final String IMAGE_MIME_TYPE = "image/*";
1.811.2. PhotosViewHolderControllerMethod方法列表
1.811.2.1. queryStats()
public void queryStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"queryStats", ""));
1.811.2.2. shouldShow()
public boolean shouldShow()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShow", ""));
1.811.2.3. setupView(ApplicationViewHolder holder)
public void setupView(ApplicationViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupView", "ApplicationViewHolder holder"));
1.811.2.4. onClick(Fragment fragment)
public void onClick(Fragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "Fragment fragment"));
1.812. PhysicalKeyboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/PhysicalKeyboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.812.1. PhysicalKeyboardFragment Field属性列表
1.812.1.1. InputManager mIm;
private InputManager mIm;
1.812.1.2. PreferenceCategory mKeyboardAssistanceCategory;
@NonNull
private PreferenceCategory mKeyboardAssistanceCategory;
1.812.1.3. SwitchPreference mShowVirtualKeyboardSwitch;
@NonNull
private SwitchPreference mShowVirtualKeyboardSwitch;
1.812.1.4. InputMethodUtils.InputMethodSettings mSettings;
@NonNull
private InputMethodUtils.InputMethodSettings mSettings;
1.812.1.5. Intent mIntentWaitingForResult;
private Intent mIntentWaitingForResult;
1.812.1.6. final ArrayList mLastHardKeyboards
@NonNull
private final ArrayList mLastHardKeyboards = new ArrayList<>();
1.812.1.7. final OnPreferenceChangeListener mShowVirtualKeyboardSwitchPreferenceChangeListener
private final OnPreferenceChangeListener mShowVirtualKeyboardSwitchPreferenceChangeListener = new OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
mSettings.setShowImeWithHardKeyboard((Boolean) newValue);
return true;
}
};
1.812.1.8. final ContentObserver mContentObserver
private final ContentObserver mContentObserver = new ContentObserver(new Handler(true)) {
@Override
public void onChange(boolean selfChange) {
updateShowVirtualKeyboardSwitch();
}
};
1.812.1.9. static final String KEYBOARD_ASSISTANCE_CATEGORY
private static final String KEYBOARD_ASSISTANCE_CATEGORY = "keyboard_assistance_category";
1.812.1.10. static final String SHOW_VIRTUAL_KEYBOARD_SWITCH
private static final String SHOW_VIRTUAL_KEYBOARD_SWITCH = "show_virtual_keyboard_switch";
1.812.1.11. static final String KEYBOARD_SHORTCUTS_HELPER
private static final String KEYBOARD_SHORTCUTS_HELPER = "keyboard_shortcuts_helper";
1.812.1.12. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.physical_keyboard_settings;
return Arrays.asList(sir);
}
};
1.812.2. PhysicalKeyboardFragmentMethod方法列表
1.812.2.1. onCreatePreferences(Bundle bundle,String s)
public void onCreatePreferences(Bundle bundle, String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle bundle,String s"));
1.812.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.812.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.812.2.4. onInputDeviceAdded(int deviceId)
public void onInputDeviceAdded(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceAdded", "int deviceId"));
1.812.2.5. onInputDeviceRemoved(int deviceId)
public void onInputDeviceRemoved(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceRemoved", "int deviceId"));
1.812.2.6. onInputDeviceChanged(int deviceId)
public void onInputDeviceChanged(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceChanged", "int deviceId"));
1.812.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.812.2.8. scheduleUpdateHardKeyboards()
private void scheduleUpdateHardKeyboards()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleUpdateHardKeyboards", ""));
1.812.2.9. updateHardKeyboards(@NonNull List newHardKeyboards)
private void updateHardKeyboards(@NonNull List newHardKeyboards)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHardKeyboards", "@NonNull List newHardKeyboards"));
1.812.2.10. showKeyboardLayoutDialog(InputDeviceIdentifier inputDeviceIdentifier)
private void showKeyboardLayoutDialog(InputDeviceIdentifier inputDeviceIdentifier)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showKeyboardLayoutDialog", "InputDeviceIdentifier inputDeviceIdentifier"));
1.812.2.11. registerShowVirtualKeyboardSettingsObserver()
private void registerShowVirtualKeyboardSettingsObserver()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerShowVirtualKeyboardSettingsObserver", ""));
1.812.2.12. unregisterShowVirtualKeyboardSettingsObserver()
private void unregisterShowVirtualKeyboardSettingsObserver()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterShowVirtualKeyboardSettingsObserver", ""));
1.812.2.13. updateShowVirtualKeyboardSwitch()
private void updateShowVirtualKeyboardSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateShowVirtualKeyboardSwitch", ""));
1.812.2.14. toggleKeyboardShortcutsMenu()
private void toggleKeyboardShortcutsMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toggleKeyboardShortcutsMenu", ""));
1.812.2.15. onSetupKeyboardLayouts(InputDeviceIdentifier inputDeviceIdentifier)
public void onSetupKeyboardLayouts(InputDeviceIdentifier inputDeviceIdentifier)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetupKeyboardLayouts", "InputDeviceIdentifier inputDeviceIdentifier"));
1.812.2.16. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.812.2.17. static getLayoutLabel(@NonNull InputDevice device,@NonNull Context context,@NonNull InputManager im)
private static String getLayoutLabel(@NonNull InputDevice device, @NonNull Context context, @NonNull InputManager im)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLayoutLabel", "@NonNull InputDevice device,@NonNull Context context,@NonNull InputManager im"));
1.812.2.18. static getHardKeyboards(@NonNull Context context)
static List getHardKeyboards(@NonNull Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getHardKeyboards", "@NonNull Context context"));
1.813. PhysicalKeyboardPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/PhysicalKeyboardPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.813.1. PhysicalKeyboardPreferenceController Field属性列表
1.813.1.1. Preference mPreference;
private Preference mPreference;
1.813.1.2. final InputManager mIm;
private final InputManager mIm;
1.813.2. PhysicalKeyboardPreferenceControllerMethod方法列表
1.813.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.813.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.813.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.813.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.813.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.813.2.6. onInputDeviceAdded(int deviceId)
public void onInputDeviceAdded(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceAdded", "int deviceId"));
1.813.2.7. onInputDeviceRemoved(int deviceId)
public void onInputDeviceRemoved(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceRemoved", "int deviceId"));
1.813.2.8. onInputDeviceChanged(int deviceId)
public void onInputDeviceChanged(int deviceId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInputDeviceChanged", "int deviceId"));
1.813.2.9. updateSummary()
private void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.814. PickupGesturePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/PickupGesturePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.814.1. PickupGesturePreferenceController Field属性列表
1.814.1.1. AmbientDisplayConfiguration mAmbientConfig;
private AmbientDisplayConfiguration mAmbientConfig;
1.814.1.2. final int ON
private final int ON = 1;
1.814.1.3. final int OFF
private final int OFF = 0;
1.814.1.4. final String mPickUpPrefKey;
private final String mPickUpPrefKey;
1.814.1.5. final String SECURE_KEY
private final String SECURE_KEY = DOZE_PULSE_ON_PICK_UP;
1.814.1.6. final int mUserId;
@UserIdInt
private final int mUserId;
1.814.1.7. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_pick_up_video";
1.814.2. PickupGesturePreferenceControllerMethod方法列表
1.814.2.1. setConfig(AmbientDisplayConfiguration config)
public PickupGesturePreferenceController setConfig(AmbientDisplayConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"PickupGesturePreferenceController" ,"setConfig", "AmbientDisplayConfiguration config"));
1.814.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.814.2.3. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.814.2.4. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.814.2.5. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.814.2.6. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.814.2.7. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.814.2.8. canHandleClicks()
public boolean canHandleClicks()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canHandleClicks", ""));
1.814.2.9. getResultPayload()
public ResultPayload getResultPayload()
methodList.add(new ZMethod(mZAndroidAPPClass,"ResultPayload" ,"getResultPayload", ""));
1.814.2.10. pulseOnPickupCanBeModified()
boolean pulseOnPickupCanBeModified()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"pulseOnPickupCanBeModified", ""));
1.814.2.11. static isSuggestionComplete(Context context,SharedPreferences prefs)
public static boolean isSuggestionComplete(Context context, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,SharedPreferences prefs"));
1.815. PickupGestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/PickupGestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.815.1. PickupGestureSettings Field属性列表
1.815.1.1. static final String TAG
private static final String TAG = "PickupGestureSettings";
1.815.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_pickup_gesture_suggestion_complete";
1.815.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.pick_up_gesture_settings;
return Arrays.asList(sir);
}
};
1.815.2. PickupGestureSettingsMethod方法列表
1.815.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.815.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.815.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.815.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.815.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.816. PictureColorModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/PictureColorModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.816.1. PictureColorModePreferenceController Field属性列表
1.816.1.1. ColorModePreference mPreference;
private ColorModePreference mPreference;
1.816.1.2. static final String KEY_COLOR_MODE
private static final String KEY_COLOR_MODE = "picture_color_mode";
1.816.2. PictureColorModePreferenceControllerMethod方法列表
1.816.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.816.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.816.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.816.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.816.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.816.2.6. isWideColorGamut()
boolean isWideColorGamut()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWideColorGamut", ""));
1.816.2.7. getColorModeDescriptionsSize()
int getColorModeDescriptionsSize()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getColorModeDescriptionsSize", ""));
1.817. PictureInPictureDetailPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/PictureInPictureDetailPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.817.1. PictureInPictureDetailPreferenceController Field属性列表
1.817.1.1. String mPackageName;
private String mPackageName;
1.817.1.2. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.817.1.3. static final String TAG
private static final String TAG = "PicInPicDetailControl";
1.817.2. PictureInPictureDetailPreferenceControllerMethod方法列表
1.817.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.817.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.817.2.3. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.817.2.4. hasPictureInPictureActivites()
boolean hasPictureInPictureActivites()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasPictureInPictureActivites", ""));
1.817.2.5. getPreferenceSummary()
int getPreferenceSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceSummary", ""));
1.817.2.6. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.818. PictureInPictureDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/PictureInPictureDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.818.1. PictureInPictureDetails Field属性列表
1.818.1.1. SwitchPreference mSwitchPref;
private SwitchPreference mSwitchPref;
1.818.1.2. static final String KEY_APP_OPS_SETTINGS_SWITCH
private static final String KEY_APP_OPS_SETTINGS_SWITCH = "app_ops_settings_switch";
1.818.1.3. static final String LOG_TAG
private static final String LOG_TAG = "PictureInPictureDetails";
1.818.2. PictureInPictureDetailsMethod方法列表
1.818.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.818.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.818.2.3. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.818.2.4. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.818.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.818.2.6. logSpecialPermissionChange(boolean newState,String packageName)
void logSpecialPermissionChange(boolean newState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean newState,String packageName"));
1.818.2.7. static setEnterPipStateForPackage(Context context,int uid,String packageName,boolean value)
static void setEnterPipStateForPackage(Context context, int uid, String packageName, boolean value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnterPipStateForPackage", "Context context,int uid,String packageName,boolean value"));
1.818.2.8. static getEnterPipStateForPackage(Context context,int uid,String packageName)
static boolean getEnterPipStateForPackage(Context context, int uid, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getEnterPipStateForPackage", "Context context,int uid,String packageName"));
1.818.2.9. static getPreferenceSummary(Context context,int uid,String packageName)
public static int getPreferenceSummary(Context context, int uid, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceSummary", "Context context,int uid,String packageName"));
1.819. PictureInPictureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/PictureInPictureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.819.1. PictureInPictureSettings Field属性列表
1.819.1.1. Context mContext;
private Context mContext;
1.819.1.2. PackageManagerWrapper mPackageManager;
private PackageManagerWrapper mPackageManager;
1.819.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.819.1.4. IconDrawableFactory mIconDrawableFactory;
private IconDrawableFactory mIconDrawableFactory;
1.819.1.5. static final String TAG
private static final String TAG = PictureInPictureSettings.class.getSimpleName();
1.819.1.6. static final List IGNORE_PACKAGE_LIST
@VisibleForTesting
static final List IGNORE_PACKAGE_LIST = new ArrayList<>();
1.819.2. PictureInPictureSettingsMethod方法列表
1.819.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.819.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.819.2.3. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.819.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.819.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.819.2.6. collectPipApps(int userId)
ArrayList> collectPipApps(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList>" ,"collectPipApps", "int userId"));
1.819.2.7. static checkPackageHasPictureInPictureActivities(String packageName,ActivityInfo[] activities)
public static boolean checkPackageHasPictureInPictureActivities(String packageName, ActivityInfo[] activities)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"checkPackageHasPictureInPictureActivities", "String packageName,ActivityInfo[] activities"));
1.820. PointerLocationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/PointerLocationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.820.1. PointerLocationPreferenceController Field属性列表
1.820.1.1. static final String POINTER_LOCATION_KEY
private static final String POINTER_LOCATION_KEY = "pointer_location";
1.820.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.820.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.820.2. PointerLocationPreferenceControllerMethod方法列表
1.820.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.820.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.820.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.820.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.821. PointerSpeedController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/language/PointerSpeedController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.821.1. PointerSpeedController Field属性列表
1.821.1.1. static final String KEY_POINTER_SPEED
@VisibleForTesting
static final String KEY_POINTER_SPEED = "pointer_speed";
1.821.2. PointerSpeedControllerMethod方法列表
1.821.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.822. PointerSpeedPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/PointerSpeedPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.822.1. PointerSpeedPreference Field属性列表
1.822.1.1. SeekBar mSeekBar;
private SeekBar mSeekBar;
1.822.1.2. int mOldSpeed;
private int mOldSpeed;
1.822.1.3. boolean mRestoredOldState;
private boolean mRestoredOldState;
1.822.1.4. boolean mTouchInProgress;
private boolean mTouchInProgress;
1.822.1.5. ContentObserver mSpeedObserver
private ContentObserver mSpeedObserver = new ContentObserver(new Handler()) {
@Override
public void onChange(boolean selfChange) {
onSpeedChanged();
}
};
1.822.1.6. final InputManager mIm;
private final InputManager mIm;
1.822.2. PointerSpeedPreferenceMethod方法列表
1.822.2.1. onClick()
protected void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.822.2.2. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.822.2.3. onProgressChanged(SeekBar seekBar,int progress,boolean fromTouch)
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProgressChanged", "SeekBar seekBar,int progress,boolean fromTouch"));
1.822.2.4. onStartTrackingTouch(SeekBar seekBar)
public void onStartTrackingTouch(SeekBar seekBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStartTrackingTouch", "SeekBar seekBar"));
1.822.2.5. onStopTrackingTouch(SeekBar seekBar)
public void onStopTrackingTouch(SeekBar seekBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStopTrackingTouch", "SeekBar seekBar"));
1.822.2.6. onSpeedChanged()
private void onSpeedChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSpeedChanged", ""));
1.822.2.7. onDialogClosed(boolean positiveResult)
protected void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.822.2.8. restoreOldState()
private void restoreOldState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreOldState", ""));
1.822.2.9. onSaveInstanceState()
protected Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.822.2.10. onRestoreInstanceState(Parcelable state)
protected void onRestoreInstanceState(Parcelable state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable state"));
1.823. PowerButtonInstantLockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/screenlock/PowerButtonInstantLockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.823.1. PowerButtonInstantLockPreferenceController Field属性列表
1.823.1.1. final int mUserId;
private final int mUserId;
1.823.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.823.1.3. final TrustAgentManager mTrustAgentManager;
private final TrustAgentManager mTrustAgentManager;
1.823.1.4. static final String KEY_POWER_INSTANTLY_LOCKS
private static final String KEY_POWER_INSTANTLY_LOCKS = "power_button_instantly_locks";
1.823.2. PowerButtonInstantLockPreferenceControllerMethod方法列表
1.823.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.823.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.823.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.823.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.824. PowerGaugePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerGaugePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.824.1. PowerGaugePreference Field属性列表
1.824.1.1. BatteryEntry mInfo;
private BatteryEntry mInfo;
1.824.1.2. CharSequence mContentDescription;
private CharSequence mContentDescription;
1.824.1.3. CharSequence mProgress;
private CharSequence mProgress;
1.824.1.4. boolean mShowAnomalyIcon;
private boolean mShowAnomalyIcon;
1.824.2. PowerGaugePreferenceMethod方法列表
1.824.2.1. setContentDescription(String name)
public void setContentDescription(String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setContentDescription", "String name"));
1.824.2.2. setPercent(double percentOfTotal)
public void setPercent(double percentOfTotal)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPercent", "double percentOfTotal"));
1.824.2.3. getPercent()
public String getPercent()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPercent", ""));
1.824.2.4. setSubtitle(CharSequence subtitle)
public void setSubtitle(CharSequence subtitle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSubtitle", "CharSequence subtitle"));
1.824.2.5. getSubtitle()
public CharSequence getSubtitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSubtitle", ""));
1.824.2.6. shouldShowAnomalyIcon(boolean showAnomalyIcon)
public void shouldShowAnomalyIcon(boolean showAnomalyIcon)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"shouldShowAnomalyIcon", "boolean showAnomalyIcon"));
1.824.2.7. showAnomalyIcon()
public boolean showAnomalyIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showAnomalyIcon", ""));
1.824.2.8. getInfo()
BatteryEntry getInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryEntry" ,"getInfo", ""));
1.824.2.9. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.825. PowerUsageAdvanced.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageAdvanced.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.825.1. PowerUsageAdvanced Field属性列表
1.825.1.1. BatteryHistoryPreference mHistPref;
@VisibleForTesting
BatteryHistoryPreference mHistPref;
1.825.1.2. BatteryUtils mBatteryUtils;
private BatteryUtils mBatteryUtils;
1.825.1.3. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.825.1.4. BatteryAppListPreferenceController mBatteryAppListPreferenceController;
private BatteryAppListPreferenceController mBatteryAppListPreferenceController;
1.825.1.5. boolean mShowAllApps
@VisibleForTesting
boolean mShowAllApps = false;
1.825.1.6. static final String TAG
private static final String TAG = "AdvancedBatteryUsage";
1.825.1.7. static final String KEY_BATTERY_GRAPH
private static final String KEY_BATTERY_GRAPH = "battery_graph";
1.825.1.8. static final String KEY_APP_LIST
private static final String KEY_APP_LIST = "app_list";
1.825.1.9. static final String KEY_SHOW_ALL_APPS
private static final String KEY_SHOW_ALL_APPS = "show_all_apps";
1.825.1.10. static final int MENU_TOGGLE_APPS
@VisibleForTesting
static final int MENU_TOGGLE_APPS = Menu.FIRST + 1;
1.825.1.11. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.power_usage_advanced;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
final List controllers = new ArrayList<>();
controllers.add(new BatteryAppListPreferenceController(context, KEY_APP_LIST, null, /* lifecycle */
null, /* activity */
null));
return controllers;
}
};
1.825.2. PowerUsageAdvancedMethod方法列表
1.825.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.825.2.2. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.825.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.825.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.825.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.825.2.6. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.825.2.7. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.825.2.8. restoreSavedInstance(Bundle savedInstance)
void restoreSavedInstance(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreSavedInstance", "Bundle savedInstance"));
1.825.2.9. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.825.2.10. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.825.2.11. refreshUi(@BatteryUpdateType int refreshType)
protected void refreshUi(@BatteryUpdateType int refreshType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "@BatteryUpdateType int refreshType"));
1.825.2.12. updateHistPrefSummary(Context context)
private void updateHistPrefSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHistPrefSummary", "Context context"));
1.826. PowerUsageAnomalyDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageAnomalyDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.826.1. PowerUsageAnomalyDetails Field属性列表
1.826.1.1. List mAnomalies;
@VisibleForTesting
List mAnomalies;
1.826.1.2. PreferenceGroup mAbnormalListGroup;
@VisibleForTesting
PreferenceGroup mAbnormalListGroup;
1.826.1.3. PackageManager mPackageManager;
@VisibleForTesting
PackageManager mPackageManager;
1.826.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.826.1.5. IconDrawableFactory mIconDrawableFactory;
@VisibleForTesting
IconDrawableFactory mIconDrawableFactory;
1.826.1.6. static final String TAG
public static final String TAG = "PowerAbnormalUsageDetail";
1.826.1.7. static final String EXTRA_ANOMALY_LIST
@VisibleForTesting
static final String EXTRA_ANOMALY_LIST = "anomaly_list";
1.826.1.8. static final int REQUEST_ANOMALY_ACTION
private static final int REQUEST_ANOMALY_ACTION = 0;
1.826.1.9. static final String KEY_PREF_ANOMALY_LIST
private static final String KEY_PREF_ANOMALY_LIST = "app_abnormal_list";
1.826.2. PowerUsageAnomalyDetailsMethod方法列表
1.826.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.826.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.826.2.3. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.826.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.826.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.826.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.826.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.826.2.8. refreshUi()
void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.826.2.9. onAnomalyHandled(Anomaly anomaly)
public void onAnomalyHandled(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAnomalyHandled", "Anomaly anomaly"));
1.826.2.10. getBadgedIcon(String packageName,int userId)
Drawable getBadgedIcon(String packageName, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getBadgedIcon", "String packageName,int userId"));
1.826.2.11. static startBatteryAbnormalPage(SettingsActivity caller,InstrumentedPreferenceFragment fragment,List anomalies)
public static void startBatteryAbnormalPage(SettingsActivity caller, InstrumentedPreferenceFragment fragment, List anomalies)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startBatteryAbnormalPage", "SettingsActivity caller,InstrumentedPreferenceFragment fragment,List anomalies"));
1.827. PowerUsageBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.827.1. PowerUsageBase Field属性列表
1.827.1.1. BatteryStatsHelper mStatsHelper;
protected BatteryStatsHelper mStatsHelper;
1.827.1.2. UserManager mUm;
protected UserManager mUm;
1.827.1.3. BatteryBroadcastReceiver mBatteryBroadcastReceiver;
private BatteryBroadcastReceiver mBatteryBroadcastReceiver;
1.827.1.4. static final @VisibleForTesting static int MENU_STATS_REFRESH
// +1 to allow ordering for PowerUsageSummary.
@VisibleForTesting
static final int MENU_STATS_REFRESH = Menu.FIRST + 1;
1.827.1.5. static final String TAG
private static final String TAG = "PowerUsageBase";
1.827.1.6. static final String KEY_REFRESH_TYPE
private static final String KEY_REFRESH_TYPE = "refresh_type";
1.827.2. PowerUsageBaseMethod方法列表
1.827.2.1. onAttach(Activity activity)
public void onAttach(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Activity activity"));
1.827.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.827.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.827.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.827.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.827.2.6. restartBatteryStatsLoader(int refreshType)
protected void restartBatteryStatsLoader(int refreshType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restartBatteryStatsLoader", "int refreshType"));
1.827.2.7. updatePreference(BatteryHistoryPreference historyPref)
protected void updatePreference(BatteryHistoryPreference historyPref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "BatteryHistoryPreference historyPref"));
1.827.2.8. abstract refreshUi(@BatteryUpdateType int refreshType)
protected abstract void refreshUi(@BatteryUpdateType int refreshType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "@BatteryUpdateType int refreshType"));
1.828. PowerUsageFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.829. PowerUsageFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.829.1. PowerUsageFeatureProviderImpl Field属性列表
1.829.1.1. PackageManager mPackageManager;
protected PackageManager mPackageManager;
1.829.1.2. Context mContext;
protected Context mContext;
1.829.1.3. static final String PACKAGE_CALENDAR_PROVIDER
private static final String PACKAGE_CALENDAR_PROVIDER = "com.android.providers.calendar";
1.829.1.4. static final String PACKAGE_MEDIA_PROVIDER
private static final String PACKAGE_MEDIA_PROVIDER = "com.android.providers.media";
1.829.1.5. static final String PACKAGE_SYSTEMUI
private static final String PACKAGE_SYSTEMUI = "com.android.systemui";
1.829.1.6. static final String[] PACKAGES_SYSTEM
private static final String[] PACKAGES_SYSTEM = { PACKAGE_MEDIA_PROVIDER, PACKAGE_CALENDAR_PROVIDER, PACKAGE_SYSTEMUI };
1.829.2. PowerUsageFeatureProviderImplMethod方法列表
1.829.2.1. isTypeService(BatterySipper sipper)
public boolean isTypeService(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTypeService", "BatterySipper sipper"));
1.829.2.2. isTypeSystem(BatterySipper sipper)
public boolean isTypeSystem(BatterySipper sipper)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTypeSystem", "BatterySipper sipper"));
1.829.2.3. isLocationSettingEnabled(String[] packages)
public boolean isLocationSettingEnabled(String[] packages)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLocationSettingEnabled", "String[] packages"));
1.829.2.4. isAdditionalBatteryInfoEnabled()
public boolean isAdditionalBatteryInfoEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdditionalBatteryInfoEnabled", ""));
1.829.2.5. getAdditionalBatteryInfoIntent()
public Intent getAdditionalBatteryInfoIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAdditionalBatteryInfoIntent", ""));
1.829.2.6. isAdvancedUiEnabled()
public boolean isAdvancedUiEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdvancedUiEnabled", ""));
1.829.2.7. isPowerAccountingToggleEnabled()
public boolean isPowerAccountingToggleEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPowerAccountingToggleEnabled", ""));
1.829.2.8. getEnhancedBatteryPrediction(Context context)
public Estimate getEnhancedBatteryPrediction(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Estimate" ,"getEnhancedBatteryPrediction", "Context context"));
1.829.2.9. getEnhancedBatteryPredictionCurve(Context context,long zeroTime)
public SparseIntArray getEnhancedBatteryPredictionCurve(Context context, long zeroTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseIntArray" ,"getEnhancedBatteryPredictionCurve", "Context context,long zeroTime"));
1.829.2.10. isEnhancedBatteryPredictionEnabled(Context context)
public boolean isEnhancedBatteryPredictionEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEnhancedBatteryPredictionEnabled", "Context context"));
1.829.2.11. getEnhancedEstimateDebugString(String timeRemaining)
public String getEnhancedEstimateDebugString(String timeRemaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getEnhancedEstimateDebugString", "String timeRemaining"));
1.829.2.12. isEstimateDebugEnabled()
public boolean isEstimateDebugEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEstimateDebugEnabled", ""));
1.829.2.13. getOldEstimateDebugString(String timeRemaining)
public String getOldEstimateDebugString(String timeRemaining)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getOldEstimateDebugString", "String timeRemaining"));
1.829.2.14. getAdvancedUsageScreenInfoString()
public String getAdvancedUsageScreenInfoString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAdvancedUsageScreenInfoString", ""));
1.829.2.15. getEarlyWarningSignal(Context context,String id)
public boolean getEarlyWarningSignal(Context context, String id)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getEarlyWarningSignal", "Context context,String id"));
1.829.2.16. isSmartBatterySupported()
public boolean isSmartBatterySupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSmartBatterySupported", ""));
1.830. PowerUsageSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/PowerUsageSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.830.1. PowerUsageSummary Field属性列表
1.830.1.1. PowerGaugePreference mScreenUsagePref;
@VisibleForTesting
PowerGaugePreference mScreenUsagePref;
1.830.1.2. PowerGaugePreference mLastFullChargePref;
@VisibleForTesting
PowerGaugePreference mLastFullChargePref;
1.830.1.3. PowerUsageFeatureProvider mPowerFeatureProvider;
@VisibleForTesting
PowerUsageFeatureProvider mPowerFeatureProvider;
1.830.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.830.1.5. LayoutPreference mBatteryLayoutPref;
@VisibleForTesting
LayoutPreference mBatteryLayoutPref;
1.830.1.6. BatteryInfo mBatteryInfo;
@VisibleForTesting
BatteryInfo mBatteryInfo;
1.830.1.7. SparseArray> mAnomalySparseArray;
/**
* SparseArray that maps uid to {@link Anomaly}, so we could find {@link Anomaly} by uid
*/
@VisibleForTesting
SparseArray> mAnomalySparseArray;
1.830.1.8. BatteryHeaderPreferenceController mBatteryHeaderPreferenceController;
@VisibleForTesting
BatteryHeaderPreferenceController mBatteryHeaderPreferenceController;
1.830.1.9. boolean mNeedUpdateBatteryTip;
@VisibleForTesting
boolean mNeedUpdateBatteryTip;
1.830.1.10. BatteryTipPreferenceController mBatteryTipPreferenceController;
@VisibleForTesting
BatteryTipPreferenceController mBatteryTipPreferenceController;
1.830.1.11. int mStatsType
private int mStatsType = BatteryStats.STATS_SINCE_CHARGED;
1.830.1.12. LoaderManager.LoaderCallbacks mBatteryInfoLoaderCallbacks
@VisibleForTesting
LoaderManager.LoaderCallbacks mBatteryInfoLoaderCallbacks = new LoaderManager.LoaderCallbacks() {
@Override
public Loader onCreateLoader(int i, Bundle bundle) {
return new BatteryInfoLoader(getContext(), mStatsHelper);
}
@Override
public void onLoadFinished(Loader loader, BatteryInfo batteryInfo) {
mBatteryHeaderPreferenceController.updateHeaderPreference(batteryInfo);
mBatteryInfo = batteryInfo;
updateLastFullChargePreference();
}
@Override
public void onLoaderReset(Loader loader) {
// do nothing
}
};
1.830.1.13. LoaderManager.LoaderCallbacks> mBatteryInfoDebugLoaderCallbacks
LoaderManager.LoaderCallbacks> mBatteryInfoDebugLoaderCallbacks = new LoaderCallbacks>() {
@Override
public Loader> onCreateLoader(int i, Bundle bundle) {
return new DebugEstimatesLoader(getContext(), mStatsHelper);
}
@Override
public void onLoadFinished(Loader> loader, List batteryInfos) {
updateViews(batteryInfos);
}
@Override
public void onLoaderReset(Loader> loader) {
}
};
1.830.1.14. LoaderManager.LoaderCallbacks> mBatteryTipsCallbacks
private LoaderManager.LoaderCallbacks> mBatteryTipsCallbacks = new LoaderManager.LoaderCallbacks>() {
@Override
public Loader> onCreateLoader(int id, Bundle args) {
return new BatteryTipLoader(getContext(), mStatsHelper);
}
@Override
public void onLoadFinished(Loader> loader, List data) {
mBatteryTipPreferenceController.updateBatteryTips(data);
}
@Override
public void onLoaderReset(Loader> loader) {
}
};
1.830.1.15. static final String TAG
static final String TAG = "PowerUsageSummary";
1.830.1.16. static final boolean DEBUG
private static final boolean DEBUG = false;
1.830.1.17. static final String KEY_BATTERY_HEADER
private static final String KEY_BATTERY_HEADER = "battery_header";
1.830.1.18. static final String KEY_BATTERY_TIP
private static final String KEY_BATTERY_TIP = "battery_tip";
1.830.1.19. static final String KEY_SCREEN_USAGE
private static final String KEY_SCREEN_USAGE = "screen_usage";
1.830.1.20. static final String KEY_TIME_SINCE_LAST_FULL_CHARGE
private static final String KEY_TIME_SINCE_LAST_FULL_CHARGE = "last_full_charge";
1.830.1.21. static final String KEY_BATTERY_SAVER_SUMMARY
private static final String KEY_BATTERY_SAVER_SUMMARY = "battery_saver_summary";
1.830.1.22. static final int BATTERY_INFO_LOADER
@VisibleForTesting
static final int BATTERY_INFO_LOADER = 1;
1.830.1.23. static final int BATTERY_TIP_LOADER
@VisibleForTesting
static final int BATTERY_TIP_LOADER = 2;
1.830.1.24. static final int MENU_STATS_TYPE
@VisibleForTesting
static final int MENU_STATS_TYPE = Menu.FIRST;
1.830.1.25. static final int MENU_ADVANCED_BATTERY
@VisibleForTesting
static final int MENU_ADVANCED_BATTERY = Menu.FIRST + 1;
1.830.1.26. static final int DEBUG_INFO_LOADER
public static final int DEBUG_INFO_LOADER = 3;
1.830.1.27. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.power_usage_summary;
return Collections.singletonList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List niks = super.getNonIndexableKeys(context);
final BatteryPercentagePreferenceController controller = new BatteryPercentagePreferenceController(context);
if (!controller.isAvailable()) {
niks.add(controller.getPreferenceKey());
}
niks.add(KEY_BATTERY_SAVER_SUMMARY);
return niks;
}
};
1.830.1.28. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.830.2. PowerUsageSummaryMethod方法列表
1.830.2.1. updateViews(List batteryInfos)
protected void updateViews(List batteryInfos)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateViews", "List batteryInfos"));
1.830.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.830.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.830.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.830.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.830.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.830.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.830.2.8. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.830.2.9. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.830.2.10. refreshUi(@BatteryUpdateType int refreshType)
protected void refreshUi(@BatteryUpdateType int refreshType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "@BatteryUpdateType int refreshType"));
1.830.2.11. restartBatteryTipLoader()
void restartBatteryTipLoader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restartBatteryTipLoader", ""));
1.830.2.12. setBatteryLayoutPreference(LayoutPreference layoutPreference)
void setBatteryLayoutPreference(LayoutPreference layoutPreference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBatteryLayoutPreference", "LayoutPreference layoutPreference"));
1.830.2.13. getAnomalyDetectionPolicy()
AnomalyDetectionPolicy getAnomalyDetectionPolicy()
methodList.add(new ZMethod(mZAndroidAPPClass,"AnomalyDetectionPolicy" ,"getAnomalyDetectionPolicy", ""));
1.830.2.14. updateLastFullChargePreference()
void updateLastFullChargePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLastFullChargePreference", ""));
1.830.2.15. showBothEstimates()
void showBothEstimates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showBothEstimates", ""));
1.830.2.16. initFeatureProvider()
void initFeatureProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initFeatureProvider", ""));
1.830.2.17. updateAnomalySparseArray(List anomalies)
void updateAnomalySparseArray(List anomalies)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnomalySparseArray", "List anomalies"));
1.830.2.18. restartBatteryInfoLoader()
void restartBatteryInfoLoader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restartBatteryInfoLoader", ""));
1.830.2.19. updateBatteryTipFlag(Bundle icicle)
void updateBatteryTipFlag(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBatteryTipFlag", "Bundle icicle"));
1.830.2.20. onLongClick(View view)
public boolean onLongClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onLongClick", "View view"));
1.830.2.21. restartBatteryStatsLoader(@BatteryUpdateType int refreshType)
protected void restartBatteryStatsLoader(@BatteryUpdateType int refreshType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restartBatteryStatsLoader", "@BatteryUpdateType int refreshType"));
1.830.2.22. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.830.2.23. onBatteryTipHandled(BatteryTip batteryTip)
public void onBatteryTipHandled(BatteryTip batteryTip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryTipHandled", "BatteryTip batteryTip"));
1.830.2.24. static getDashboardLabel(Context context,BatteryInfo info)
static CharSequence getDashboardLabel(Context context, BatteryInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDashboardLabel", "Context context,BatteryInfo info"));
1.831. PreferenceCategoryController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/PreferenceCategoryController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.831.1. PreferenceCategoryController Field属性列表
1.831.1.1. final String mKey;
private final String mKey;
1.831.1.2. final List mChildren;
private final List mChildren;
1.831.2. PreferenceCategoryControllerMethod方法列表
1.831.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.831.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.831.2.3. setChildren(List childrenController)
public PreferenceCategoryController setChildren(List childrenController)
methodList.add(new ZMethod(mZAndroidAPPClass,"PreferenceCategoryController" ,"setChildren", "List childrenController"));
1.832. PreferenceControllerListHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/PreferenceControllerListHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.832.1. PreferenceControllerListHelper Field属性列表
1.832.1.1. static final String TAG
private static final String TAG = "PrefCtrlListHelper";
1.832.2. PreferenceControllerListHelperMethod方法列表
1.832.2.1. static getPreferenceControllersFromXml(Context context,@XmlRes int xmlResId)
public static List getPreferenceControllersFromXml(Context context, @XmlRes int xmlResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getPreferenceControllersFromXml", "Context context,@XmlRes int xmlResId"));
1.832.2.2. static filterControllers(@NonNull List input,List filter)
public static List filterControllers(@NonNull List input, List filter)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"filterControllers", "@NonNull List input,List filter"));
1.833. PreferenceControllerMixin.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/PreferenceControllerMixin.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.834. PreferenceXmlParserUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/PreferenceXmlParserUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.834.1. PreferenceXmlParserUtils Field属性列表
1.834.1.1. static final String TAG
private static final String TAG = "PreferenceXmlParserUtil";
1.834.1.2. static final String PREF_SCREEN_TAG
@VisibleForTesting
static final String PREF_SCREEN_TAG = "PreferenceScreen";
1.834.1.3. static final List SUPPORTED_PREF_TYPES
private static final List SUPPORTED_PREF_TYPES = Arrays.asList("Preference", "PreferenceCategory", "PreferenceScreen");
1.834.1.4. static final String METADATA_PREF_TYPE
public static final String METADATA_PREF_TYPE = "type";
1.834.1.5. static final String METADATA_KEY
public static final String METADATA_KEY = "key";
1.834.1.6. static final String METADATA_CONTROLLER
public static final String METADATA_CONTROLLER = "controller";
1.834.1.7. static final String METADATA_TITLE
public static final String METADATA_TITLE = "title";
1.834.1.8. static final String METADATA_SUMMARY
public static final String METADATA_SUMMARY = "summary";
1.834.1.9. static final String METADATA_ICON
public static final String METADATA_ICON = "icon";
1.834.1.10. static final String METADATA_PLATFORM_SLICE_FLAG
public static final String METADATA_PLATFORM_SLICE_FLAG = "platform_slice";
1.834.1.11. static final String METADATA_KEYWORDS
public static final String METADATA_KEYWORDS = "keywords";
1.834.1.12. static final String ENTRIES_SEPARATOR
private static final String ENTRIES_SEPARATOR = "|";
1.834.2. PreferenceXmlParserUtilsMethod方法列表
1.834.2.1. static getDataKey(Context context,AttributeSet attrs)
public static String getDataKey(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataKey", "Context context,AttributeSet attrs"));
1.834.2.2. static getDataTitle(Context context,AttributeSet attrs)
public static String getDataTitle(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataTitle", "Context context,AttributeSet attrs"));
1.834.2.3. static getDataSummary(Context context,AttributeSet attrs)
public static String getDataSummary(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataSummary", "Context context,AttributeSet attrs"));
1.834.2.4. static getDataSummaryOn(Context context,AttributeSet attrs)
public static String getDataSummaryOn(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataSummaryOn", "Context context,AttributeSet attrs"));
1.834.2.5. static getDataSummaryOff(Context context,AttributeSet attrs)
public static String getDataSummaryOff(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataSummaryOff", "Context context,AttributeSet attrs"));
1.834.2.6. static getDataEntries(Context context,AttributeSet attrs)
public static String getDataEntries(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataEntries", "Context context,AttributeSet attrs"));
1.834.2.7. static getDataKeywords(Context context,AttributeSet attrs)
public static String getDataKeywords(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataKeywords", "Context context,AttributeSet attrs"));
1.834.2.8. static getController(Context context,AttributeSet attrs)
public static String getController(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getController", "Context context,AttributeSet attrs"));
1.834.2.9. static getDataIcon(Context context,AttributeSet attrs)
public static int getDataIcon(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDataIcon", "Context context,AttributeSet attrs"));
1.834.2.10. static extractMetadata(Context context,@XmlRes int xmlResId,int flags)
public static List extractMetadata(Context context, @XmlRes int xmlResId, int flags) throws IOException, XmlPullParserException
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"extractMetadata", "Context context,@XmlRes int xmlResId,int flags"));
1.834.2.11. static getDataChildFragment(Context context,AttributeSet attrs)
public static String getDataChildFragment(Context context, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataChildFragment", "Context context,AttributeSet attrs"));
1.834.2.12. static getStringData(Context context,AttributeSet set,int[] attrs,int resId)
private static String getStringData(Context context, AttributeSet set, int[] attrs, int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getStringData", "Context context,AttributeSet set,int[] attrs,int resId"));
1.834.2.13. static hasFlag(int flags,@MetadataFlag int flag)
private static boolean hasFlag(int flags, @MetadataFlag int flag)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasFlag", "int flags,@MetadataFlag int flag"));
1.834.2.14. static getDataEntries(Context context,AttributeSet set,int[] attrs,int resId)
private static String getDataEntries(Context context, AttributeSet set, int[] attrs, int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDataEntries", "Context context,AttributeSet set,int[] attrs,int resId"));
1.834.2.15. static getKey(TypedArray styledAttributes)
private static String getKey(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", "TypedArray styledAttributes"));
1.834.2.16. static getTitle(TypedArray styledAttributes)
private static String getTitle(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTitle", "TypedArray styledAttributes"));
1.834.2.17. static getSummary(TypedArray styledAttributes)
private static String getSummary(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", "TypedArray styledAttributes"));
1.834.2.18. static getController(TypedArray styledAttributes)
private static String getController(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getController", "TypedArray styledAttributes"));
1.834.2.19. static getIcon(TypedArray styledAttributes)
private static int getIcon(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIcon", "TypedArray styledAttributes"));
1.834.2.20. static getPlatformSlice(TypedArray styledAttributes)
private static boolean getPlatformSlice(TypedArray styledAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getPlatformSlice", "TypedArray styledAttributes"));
1.834.2.21. static getKeywords(TypedArray styleAttributes)
private static String getKeywords(TypedArray styleAttributes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeywords", "TypedArray styleAttributes"));
1.835. PreIndexData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/indexing/PreIndexData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.835.1. PreIndexData Field属性列表
1.835.1.1. List dataToUpdate;
public List dataToUpdate;
1.835.1.2. Map> nonIndexableKeys;
public Map> nonIndexableKeys;
1.835.2. PreIndexDataMethod方法列表
1.835.2.1. copy()
public PreIndexData copy()
methodList.add(new ZMethod(mZAndroidAPPClass,"PreIndexData" ,"copy", ""));
1.835.2.2. clear()
public void clear()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clear", ""));
1.836. PreIndexDataCollector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/indexing/PreIndexDataCollector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.836.1. PreIndexDataCollector Field属性列表
1.836.1.1. Context mContext;
private Context mContext;
1.836.1.2. PreIndexData mIndexData;
private PreIndexData mIndexData;
1.836.1.3. final String BASE_AUTHORITY
// TODO (b/64938328) update to new search package.
private final String BASE_AUTHORITY = "com.android.settings";
1.836.1.4. static final String TAG
private static final String TAG = "IndexableDataCollector";
1.836.1.5. static final List EMPTY_LIST
private static final List EMPTY_LIST = Collections.emptyList();
1.836.2. PreIndexDataCollectorMethod方法列表
1.836.2.1. collectIndexableData(List providers,boolean isFullIndex)
public PreIndexData collectIndexableData(List providers, boolean isFullIndex)
methodList.add(new ZMethod(mZAndroidAPPClass,"PreIndexData" ,"collectIndexableData", "List providers,boolean isFullIndex"));
1.836.2.2. addIndexablesFromRemoteProvider(String packageName,String authority)
private boolean addIndexablesFromRemoteProvider(String packageName, String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"addIndexablesFromRemoteProvider", "String packageName,String authority"));
1.836.2.3. getIndexablesForXmlResourceUri(Context packageContext,String packageName,Uri uri,String[] projection)
List getIndexablesForXmlResourceUri(Context packageContext, String packageName, Uri uri, String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getIndexablesForXmlResourceUri", "Context packageContext,String packageName,Uri uri,String[] projection"));
1.836.2.4. addNonIndexablesKeysFromRemoteProvider(String packageName,String authority)
private void addNonIndexablesKeysFromRemoteProvider(String packageName, String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addNonIndexablesKeysFromRemoteProvider", "String packageName,String authority"));
1.836.2.5. getNonIndexablesKeysFromRemoteProvider(String packageName,String authority)
List getNonIndexablesKeysFromRemoteProvider(String packageName, String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexablesKeysFromRemoteProvider", "String packageName,String authority"));
1.836.2.6. buildUriForXmlResources(String authority)
Uri buildUriForXmlResources(String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"buildUriForXmlResources", "String authority"));
1.836.2.7. buildUriForRawData(String authority)
Uri buildUriForRawData(String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"buildUriForRawData", "String authority"));
1.836.2.8. buildUriForNonIndexableKeys(String authority)
Uri buildUriForNonIndexableKeys(String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"buildUriForNonIndexableKeys", "String authority"));
1.836.2.9. getIndexablesForRawDataUri(Context packageContext,String packageName,Uri uri,String[] projection)
List getIndexablesForRawDataUri(Context packageContext, String packageName, Uri uri, String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getIndexablesForRawDataUri", "Context packageContext,String packageName,Uri uri,String[] projection"));
1.836.2.10. getNonIndexablesKeys(Context packageContext,Uri uri,String[] projection)
private List getNonIndexablesKeys(Context packageContext, Uri uri, String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexablesKeys", "Context packageContext,Uri uri,String[] projection"));
1.836.2.11. isWellKnownProvider(ResolveInfo info)
boolean isWellKnownProvider(ResolveInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWellKnownProvider", "ResolveInfo info"));
1.836.2.12. isPrivilegedPackage(String packageName,Context context)
private boolean isPrivilegedPackage(String packageName, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPrivilegedPackage", "String packageName,Context context"));
1.837. PremiumSmsAccess.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/PremiumSmsAccess.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.837.1. PremiumSmsAccess Field属性列表
1.837.1.1. ApplicationsState mApplicationsState;
private ApplicationsState mApplicationsState;
1.837.1.2. AppStateSmsPremBridge mSmsBackend;
private AppStateSmsPremBridge mSmsBackend;
1.837.1.3. Session mSession;
private Session mSession;
1.837.2. PremiumSmsAccessMethod方法列表
1.837.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.837.2.2. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.837.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.837.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.837.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.837.2.6. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.837.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.837.2.8. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.837.2.9. logSpecialPermissionChange(int smsState,String packageName)
void logSpecialPermissionChange(int smsState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "int smsState,String packageName"));
1.837.2.10. updatePrefs(ArrayList apps)
private void updatePrefs(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePrefs", "ArrayList apps"));
1.837.2.11. update()
private void update()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", ""));
1.837.2.12. onExtraInfoUpdated()
public void onExtraInfoUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onExtraInfoUpdated", ""));
1.837.2.13. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.837.2.14. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.837.2.15. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.837.2.16. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.837.2.17. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.837.2.18. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.837.2.19. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.837.2.20. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.838. PremiumSmsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/PremiumSmsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.838.1. PremiumSmsController Field属性列表
1.838.1.1. static final String KEY_PREMIUM_SMS
@VisibleForTesting
static final String KEY_PREMIUM_SMS = "premium_sms";
1.838.2. PremiumSmsControllerMethod方法列表
1.838.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.839. PresetPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/PresetPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.839.1. PresetPreference Field属性列表
1.839.1.1. final CaptioningManager mCaptioningManager;
private final CaptioningManager mCaptioningManager;
1.839.1.2. static final float DEFAULT_FONT_SIZE
private static final float DEFAULT_FONT_SIZE = 32f;
1.839.2. PresetPreferenceMethod方法列表
1.839.2.1. shouldDisableDependents()
public boolean shouldDisableDependents()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldDisableDependents", ""));
1.839.2.2. onBindListItem(View view,int index)
protected void onBindListItem(View view, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindListItem", "View view,int index"));
1.840. PreventRingingGestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/PreventRingingGestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.840.1. PreventRingingGestureSettings Field属性列表
1.840.1.1. static final String TAG
private static final String TAG = "RingingGestureSettings";
1.840.1.2. static final String KEY_PREVENT_RINGING
private static final String KEY_PREVENT_RINGING = "gesture_prevent_ringing";
1.840.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.prevent_ringing_gesture_settings;
return Arrays.asList(sir);
}
};
1.840.2. PreventRingingGestureSettingsMethod方法列表
1.840.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.840.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.840.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.840.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.840.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.841. PreventRingingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/PreventRingingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.841.1. PreventRingingPreferenceController Field属性列表
1.841.1.1. VideoPreference mVideoPreference;
private VideoPreference mVideoPreference;
1.841.1.2. boolean mVideoPaused;
@VisibleForTesting
boolean mVideoPaused;
1.841.1.3. final String SECURE_KEY
private final String SECURE_KEY = VOLUME_HUSH_GESTURE;
1.841.1.4. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_prevent_ringing_video";
1.841.1.5. static final String KEY_VIDEO_PAUSED
@VisibleForTesting
static final String KEY_VIDEO_PAUSED = "key_video_paused";
1.841.2. PreventRingingPreferenceControllerMethod方法列表
1.841.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.841.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.841.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.841.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.841.2.5. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.841.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.841.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.841.2.8. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.841.2.9. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.841.2.10. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.842. PreviewPagerAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/PreviewPagerAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.842.1. PreviewPagerAdapter Field属性列表
1.842.1.1. FrameLayout[] mPreviewFrames;
private FrameLayout[] mPreviewFrames;
1.842.1.2. boolean mIsLayoutRtl;
private boolean mIsLayoutRtl;
1.842.1.3. Runnable mAnimationEndAction;
private Runnable mAnimationEndAction;
1.842.1.4. int mAnimationCounter;
private int mAnimationCounter;
1.842.1.5. boolean[][] mViewStubInflated;
private boolean[][] mViewStubInflated;
1.842.1.6. static final long CROSS_FADE_DURATION_MS
/** Duration to use when cross-fading between previews. */
private static final long CROSS_FADE_DURATION_MS = 400;
1.842.1.7. static final Interpolator FADE_IN_INTERPOLATOR
/** Interpolator to use when cross-fading between previews. */
private static final Interpolator FADE_IN_INTERPOLATOR = new DecelerateInterpolator();
1.842.1.8. static final Interpolator FADE_OUT_INTERPOLATOR
/** Interpolator to use when cross-fading between previews. */
private static final Interpolator FADE_OUT_INTERPOLATOR = new AccelerateInterpolator();
1.842.2. PreviewPagerAdapterMethod方法列表
1.842.2.1. destroyItem(ViewGroup container,int position,Object object)
public void destroyItem(ViewGroup container, int position, Object object)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"destroyItem", "ViewGroup container,int position,Object object"));
1.842.2.2. getCount()
public int getCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCount", ""));
1.842.2.3. instantiateItem(ViewGroup container,int position)
public Object instantiateItem(ViewGroup container, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"instantiateItem", "ViewGroup container,int position"));
1.842.2.4. isViewFromObject(View view,Object object)
public boolean isViewFromObject(View view, Object object)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isViewFromObject", "View view,Object object"));
1.842.2.5. isAnimating()
boolean isAnimating()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAnimating", ""));
1.842.2.6. setAnimationEndAction(Runnable action)
void setAnimationEndAction(Runnable action)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAnimationEndAction", "Runnable action"));
1.842.2.7. setPreviewLayer(int newLayerIndex,int currentLayerIndex,int currentFrameIndex,final boolean animate)
void setPreviewLayer(int newLayerIndex, int currentLayerIndex, int currentFrameIndex, final boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreviewLayer", "int newLayerIndex,int currentLayerIndex,int currentFrameIndex,final boolean animate"));
1.842.2.8. setVisibility(final View view,final int visibility,boolean animate)
private void setVisibility(final View view, final int visibility, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisibility", "final View view,final int visibility,boolean animate"));
1.842.2.9. runAnimationEndAction()
private void runAnimationEndAction()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"runAnimationEndAction", ""));
1.843. PreviewSeekBarPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/PreviewSeekBarPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.843.1. PreviewSeekBarPreferenceFragment Field属性列表
1.843.1.1. String[] mEntries;
/** List of entries corresponding the settings being set. */
protected String[] mEntries;
1.843.1.2. int mInitialIndex;
/** Index of the entry corresponding to initial value of the settings. */
protected int mInitialIndex;
1.843.1.3. int mCurrentIndex;
/** Index of the entry corresponding to current value of the settings. */
protected int mCurrentIndex;
1.843.1.4. int mActivityLayoutResId;
/** Resource id of the layout for this preference fragment. */
protected int mActivityLayoutResId;
1.843.1.5. int[] mPreviewSampleResIds;
/** Resource id of the layout that defines the contents inside preview screen. */
protected int[] mPreviewSampleResIds;
1.843.1.6. ViewPager mPreviewPager;
private ViewPager mPreviewPager;
1.843.1.7. PreviewPagerAdapter mPreviewPagerAdapter;
private PreviewPagerAdapter mPreviewPagerAdapter;
1.843.1.8. DotsPageIndicator mPageIndicator;
private DotsPageIndicator mPageIndicator;
1.843.1.9. TextView mLabel;
private TextView mLabel;
1.843.1.10. LabeledSeekBar mSeekBar;
private LabeledSeekBar mSeekBar;
1.843.1.11. View mLarger;
private View mLarger;
1.843.1.12. View mSmaller;
private View mSmaller;
1.843.1.13. OnPageChangeListener mPreviewPageChangeListener
private OnPageChangeListener mPreviewPageChangeListener = new OnPageChangeListener() {
@Override
public void onPageScrollStateChanged(int state) {
// Do nothing.
}
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
// Do nothing.
}
@Override
public void onPageSelected(int position) {
mPreviewPager.sendAccessibilityEvent(AccessibilityEvent.TYPE_ANNOUNCEMENT);
}
};
1.843.1.14. OnPageChangeListener mPageIndicatorPageChangeListener
private OnPageChangeListener mPageIndicatorPageChangeListener = new OnPageChangeListener() {
@Override
public void onPageScrollStateChanged(int state) {
// Do nothing.
}
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
// Do nothing.
}
@Override
public void onPageSelected(int position) {
setPagerIndicatorContentDescription(position);
}
};
1.843.2. PreviewSeekBarPreferenceFragmentMethod方法列表
1.843.2.1. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.843.2.2. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.843.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.843.2.4. setPreviewLayer(int index,boolean animate)
private void setPreviewLayer(int index, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreviewLayer", "int index,boolean animate"));
1.843.2.5. setPagerIndicatorContentDescription(int position)
private void setPagerIndicatorContentDescription(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPagerIndicatorContentDescription", "int position"));
1.843.2.6. abstract createConfig(Configuration origConfig,int index)
protected abstract Configuration createConfig(Configuration origConfig, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Configuration" ,"createConfig", "Configuration origConfig,int index"));
1.843.2.7. abstract commit()
protected abstract void commit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"commit", ""));
1.844. PreviouslyConnectedDeviceDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/PreviouslyConnectedDeviceDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.844.1. PreviouslyConnectedDeviceDashboardFragment Field属性列表
1.844.1.1. static final String TAG
private static final String TAG = "PreConnectedDeviceFrag";
1.844.1.2. static final String KEY_PREVIOUSLY_CONNECTED_DEVICES
static final String KEY_PREVIOUSLY_CONNECTED_DEVICES = "saved_device_list";
1.844.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList();
final Resources res = context.getResources();
// Add fragment title
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.key = KEY_PREVIOUSLY_CONNECTED_DEVICES;
data.title = res.getString(R.string.connected_device_previously_connected_title);
data.screenTitle = res.getString(R.string.connected_device_previously_connected_title);
result.add(data);
return result;
}
};
1.844.2. PreviouslyConnectedDeviceDashboardFragmentMethod方法列表
1.844.2.1. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.844.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.844.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.844.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.844.2.5. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.845. PreviouslyConnectedDevicePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/PreviouslyConnectedDevicePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.845.1. PreviouslyConnectedDevicePreferenceController Field属性列表
1.845.1.1. Preference mPreference;
private Preference mPreference;
1.845.1.2. BluetoothDeviceUpdater mBluetoothDeviceUpdater;
private BluetoothDeviceUpdater mBluetoothDeviceUpdater;
1.845.1.3. DockUpdater mSavedDockUpdater;
private DockUpdater mSavedDockUpdater;
1.845.1.4. int mPreferenceSize;
private int mPreferenceSize;
1.845.2. PreviouslyConnectedDevicePreferenceControllerMethod方法列表
1.845.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.845.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.845.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.845.2.4. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.845.2.5. init(DashboardFragment fragment)
public void init(DashboardFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "DashboardFragment fragment"));
1.845.2.6. onDeviceAdded(Preference preference)
public void onDeviceAdded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "Preference preference"));
1.845.2.7. onDeviceRemoved(Preference preference)
public void onDeviceRemoved(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceRemoved", "Preference preference"));
1.845.2.8. setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
void setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBluetoothDeviceUpdater", "BluetoothDeviceUpdater bluetoothDeviceUpdater"));
1.845.2.9. setSavedDockUpdater(DockUpdater savedDockUpdater)
void setSavedDockUpdater(DockUpdater savedDockUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSavedDockUpdater", "DockUpdater savedDockUpdater"));
1.845.2.10. setPreferenceSize(int size)
void setPreferenceSize(int size)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceSize", "int size"));
1.845.2.11. setPreference(Preference preference)
void setPreference(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreference", "Preference preference"));
1.845.2.12. updatePreferenceOnSizeChanged()
private void updatePreferenceOnSizeChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceOnSizeChanged", ""));
1.846. PrintJobSettingsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/print/PrintJobSettingsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.846.1. PrintJobSettingsFragment Field属性列表
1.846.1.1. PrintManager mPrintManager;
private PrintManager mPrintManager;
1.846.1.2. Preference mPrintJobPreference;
private Preference mPrintJobPreference;
1.846.1.3. Preference mMessagePreference;
private Preference mMessagePreference;
1.846.1.4. PrintJobId mPrintJobId;
private PrintJobId mPrintJobId;
1.846.1.5. final PrintJobStateChangeListener mPrintJobStateChangeListener
private final PrintJobStateChangeListener mPrintJobStateChangeListener = new PrintJobStateChangeListener() {
@Override
public void onPrintJobStateChanged(PrintJobId printJobId) {
updateUi();
}
};
1.846.1.6. static final String LOG_TAG
private static final String LOG_TAG = PrintJobSettingsFragment.class.getSimpleName();
1.846.1.7. static final int MENU_ITEM_ID_CANCEL
private static final int MENU_ITEM_ID_CANCEL = 1;
1.846.1.8. static final int MENU_ITEM_ID_RESTART
private static final int MENU_ITEM_ID_RESTART = 2;
1.846.1.9. static final String EXTRA_PRINT_JOB_ID
private static final String EXTRA_PRINT_JOB_ID = "EXTRA_PRINT_JOB_ID";
1.846.1.10. static final String PRINT_JOB_PREFERENCE
private static final String PRINT_JOB_PREFERENCE = "print_job_preference";
1.846.1.11. static final String PRINT_JOB_MESSAGE_PREFERENCE
private static final String PRINT_JOB_MESSAGE_PREFERENCE = "print_job_message_preference";
1.846.2. PrintJobSettingsFragmentMethod方法列表
1.846.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.846.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.846.2.3. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.846.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.846.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.846.2.6. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.846.2.7. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.846.2.8. processArguments()
private void processArguments()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"processArguments", ""));
1.846.2.9. getPrintJob()
private PrintJob getPrintJob()
methodList.add(new ZMethod(mZAndroidAPPClass,"PrintJob" ,"getPrintJob", ""));
1.846.2.10. updateUi()
private void updateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", ""));
1.847. PrintServiceSettingsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/print/PrintServiceSettingsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.847.1. PrintServiceSettingsFragment Field属性列表
1.847.1.1. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.847.1.2. ToggleSwitch mToggleSwitch;
private ToggleSwitch mToggleSwitch;
1.847.1.3. String mPreferenceKey;
private String mPreferenceKey;
1.847.1.4. Intent mSettingsIntent;
private Intent mSettingsIntent;
1.847.1.5. Intent mAddPrintersIntent;
private Intent mAddPrintersIntent;
1.847.1.6. ComponentName mComponentName;
private ComponentName mComponentName;
1.847.1.7. PrintersAdapter mPrintersAdapter;
private PrintersAdapter mPrintersAdapter;
1.847.1.8. int mLastUnfilteredItemCount;
private int mLastUnfilteredItemCount;
1.847.1.9. boolean mServiceEnabled;
private boolean mServiceEnabled;
1.847.1.10. SearchView mSearchView;
private SearchView mSearchView;
1.847.1.11. final DataSetObserver mDataObserver
private final DataSetObserver mDataObserver = new DataSetObserver() {
@Override
public void onChanged() {
invalidateOptionsMenuIfNeeded();
updateEmptyView();
}
@Override
public void onInvalidated() {
invalidateOptionsMenuIfNeeded();
}
private void invalidateOptionsMenuIfNeeded() {
final int unfilteredItemCount = mPrintersAdapter.getUnfilteredCount();
if ((mLastUnfilteredItemCount <= 0 && unfilteredItemCount > 0) || mLastUnfilteredItemCount > 0 && unfilteredItemCount <= 0) {
getActivity().invalidateOptionsMenu();
}
mLastUnfilteredItemCount = unfilteredItemCount;
}
};
1.847.1.12. static final String LOG_TAG
private static final String LOG_TAG = "PrintServiceSettingsFragment";
1.847.1.13. static final int LOADER_ID_PRINTERS_LOADER
private static final int LOADER_ID_PRINTERS_LOADER = 1;
1.847.1.14. static final int LOADER_ID_PRINT_SERVICE_LOADER
private static final int LOADER_ID_PRINT_SERVICE_LOADER = 2;
1.847.2. PrintServiceSettingsFragmentMethod方法列表
1.847.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.847.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.847.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.847.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.847.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.847.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.847.2.7. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.847.2.8. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.847.2.9. onPreferenceToggled(String preferenceKey,boolean enabled)
private void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.847.2.10. getBackupListView()
private ListView getBackupListView()
methodList.add(new ZMethod(mZAndroidAPPClass,"ListView" ,"getBackupListView", ""));
1.847.2.11. updateEmptyView()
private void updateEmptyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEmptyView", ""));
1.847.2.12. updateUiForServiceState()
private void updateUiForServiceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUiForServiceState", ""));
1.847.2.13. initComponents()
private void initComponents()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initComponents", ""));
1.847.2.14. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.847.2.15. updateUiForArguments()
private void updateUiForArguments()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUiForArguments", ""));
1.847.2.16. onCreateLoader(int id,Bundle args)
public Loader> onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader>" ,"onCreateLoader", "int id,Bundle args"));
1.847.2.17. onLoadFinished(Loader> loader,List services)
public void onLoadFinished(Loader> loader, List services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader> loader,List services"));
1.847.2.18. onLoaderReset(Loader> loader)
public void onLoaderReset(Loader> loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader> loader"));
1.847.2.19. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.848. PrintSettingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/print/PrintSettingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.848.1. PrintSettingPreferenceController Field属性列表
1.848.1.1. Preference mPreference;
private Preference mPreference;
1.848.1.2. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.848.1.3. final PrintManager mPrintManager;
private final PrintManager mPrintManager;
1.848.1.4. static final String KEY_PRINTING_SETTINGS
private static final String KEY_PRINTING_SETTINGS = "connected_device_printing";
1.848.2. PrintSettingPreferenceControllerMethod方法列表
1.848.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.848.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.848.2.3. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.848.2.4. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.848.2.5. onPrintJobStateChanged(PrintJobId printJobId)
public void onPrintJobStateChanged(PrintJobId printJobId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrintJobStateChanged", "PrintJobId printJobId"));
1.848.2.6. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.848.2.7. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.848.2.8. static shouldShowToUser(PrintJobInfo printJob)
static boolean shouldShowToUser(PrintJobInfo printJob)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowToUser", "PrintJobInfo printJob"));
1.849. PrintSettingsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/print/PrintSettingsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.849.1. PrintSettingsFragment Field属性列表
1.849.1.1. PreferenceCategory mActivePrintJobsCategory;
private PreferenceCategory mActivePrintJobsCategory;
1.849.1.2. PreferenceCategory mPrintServicesCategory;
private PreferenceCategory mPrintServicesCategory;
1.849.1.3. PrintJobsController mPrintJobsController;
private PrintJobsController mPrintJobsController;
1.849.1.4. PrintServicesController mPrintServicesController;
private PrintServicesController mPrintServicesController;
1.849.1.5. Button mAddNewServiceButton;
private Button mAddNewServiceButton;
1.849.1.6. static final String TAG
public static final String TAG = "PrintSettingsFragment";
1.849.1.7. static final int LOADER_ID_PRINT_JOBS_LOADER
private static final int LOADER_ID_PRINT_JOBS_LOADER = 1;
1.849.1.8. static final int LOADER_ID_PRINT_SERVICES
private static final int LOADER_ID_PRINT_SERVICES = 2;
1.849.1.9. static final String PRINT_JOBS_CATEGORY
private static final String PRINT_JOBS_CATEGORY = "print_jobs_category";
1.849.1.10. static final String PRINT_SERVICES_CATEGORY
private static final String PRINT_SERVICES_CATEGORY = "print_services_category";
1.849.1.11. static final String EXTRA_CHECKED
static final String EXTRA_CHECKED = "EXTRA_CHECKED";
1.849.1.12. static final String EXTRA_TITLE
static final String EXTRA_TITLE = "EXTRA_TITLE";
1.849.1.13. static final String EXTRA_SERVICE_COMPONENT_NAME
static final String EXTRA_SERVICE_COMPONENT_NAME = "EXTRA_SERVICE_COMPONENT_NAME";
1.849.1.14. static final String EXTRA_PRINT_JOB_ID
static final String EXTRA_PRINT_JOB_ID = "EXTRA_PRINT_JOB_ID";
1.849.1.15. static final String EXTRA_PRINT_SERVICE_COMPONENT_NAME
private static final String EXTRA_PRINT_SERVICE_COMPONENT_NAME = "EXTRA_PRINT_SERVICE_COMPONENT_NAME";
1.849.1.16. static final int ORDER_LAST
private static final int ORDER_LAST = Preference.DEFAULT_ORDER - 1;
1.849.1.17. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List indexables = new ArrayList<>();
SearchIndexableResource indexable = new SearchIndexableResource(context);
indexable.xmlResId = R.xml.print_settings;
indexables.add(indexable);
return indexables;
}
};
1.849.2. PrintSettingsFragmentMethod方法列表
1.849.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.849.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.849.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.849.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.849.2.5. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.849.2.6. getIntentActionString()
protected String getIntentActionString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getIntentActionString", ""));
1.849.2.7. newAddServicePreferenceOrNull()
private Preference newAddServicePreferenceOrNull()
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"newAddServicePreferenceOrNull", ""));
1.849.2.8. createAddNewServiceIntentOrNull()
private Intent createAddNewServiceIntentOrNull()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createAddNewServiceIntentOrNull", ""));
1.849.2.9. startSubSettingsIfNeeded()
private void startSubSettingsIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startSubSettingsIfNeeded", ""));
1.849.2.10. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.850. PrivacySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/PrivacySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.850.1. PrivacySettings Field属性列表
1.850.1.1. IBackupManager mBackupManager;
private IBackupManager mBackupManager;
1.850.1.2. Preference mBackup;
private Preference mBackup;
1.850.1.3. SwitchPreference mAutoRestore;
private SwitchPreference mAutoRestore;
1.850.1.4. Preference mConfigure;
private Preference mConfigure;
1.850.1.5. Preference mManageData;
private Preference mManageData;
1.850.1.6. boolean mEnabled;
private boolean mEnabled;
1.850.1.7. OnPreferenceChangeListener preferenceChangeListener
private OnPreferenceChangeListener preferenceChangeListener = new OnPreferenceChangeListener() {
@Override
public boolean onPreferenceChange(Preference preference, Object newValue) {
if (!(preference instanceof SwitchPreference)) {
return true;
}
boolean nextValue = (Boolean) newValue;
boolean result = false;
if (preference == mAutoRestore) {
try {
mBackupManager.setAutoRestore(nextValue);
result = true;
} catch (RemoteException e) {
mAutoRestore.setChecked(!nextValue);
}
}
return result;
}
};
1.850.1.8. static final String GSETTINGS_PROVIDER
// Vendor specific
private static final String GSETTINGS_PROVIDER = "com.google.settings";
1.850.1.9. static final String BACKUP_DATA
@VisibleForTesting
static final String BACKUP_DATA = "backup_data";
1.850.1.10. static final String AUTO_RESTORE
@VisibleForTesting
static final String AUTO_RESTORE = "auto_restore";
1.850.1.11. static final String CONFIGURE_ACCOUNT
@VisibleForTesting
static final String CONFIGURE_ACCOUNT = "configure_account";
1.850.1.12. static final String DATA_MANAGEMENT
@VisibleForTesting
static final String DATA_MANAGEMENT = "data_management";
1.850.1.13. static final String BACKUP_INACTIVE
private static final String BACKUP_INACTIVE = "backup_inactive";
1.850.1.14. static final String TAG
private static final String TAG = "PrivacySettings";
1.850.2. PrivacySettingsMethod方法列表
1.850.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.850.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.850.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.850.2.4. setPreferenceReferences(PreferenceScreen screen)
void setPreferenceReferences(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceReferences", "PreferenceScreen screen"));
1.850.2.5. updateToggles()
private void updateToggles()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateToggles", ""));
1.850.2.6. validatedActivityIntent(Intent intent,String logLabel)
private Intent validatedActivityIntent(Intent intent, String logLabel)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"validatedActivityIntent", "Intent intent,String logLabel"));
1.850.2.7. setConfigureSummary(String summary)
private void setConfigureSummary(String summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setConfigureSummary", "String summary"));
1.850.2.8. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.850.2.9. static getNonVisibleKeys(Context context,Collection nonVisibleKeys)
private static void getNonVisibleKeys(Context context, Collection nonVisibleKeys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getNonVisibleKeys", "Context context,Collection nonVisibleKeys"));
1.851. PrivateDnsModeDialogPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/PrivateDnsModeDialogPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.851.1. PrivateDnsModeDialogPreference Field属性列表
1.851.1.1. EditText mEditText;
@VisibleForTesting
EditText mEditText;
1.851.1.2. RadioGroup mRadioGroup;
@VisibleForTesting
RadioGroup mRadioGroup;
1.851.1.3. String mMode;
@VisibleForTesting
String mMode;
1.851.1.4. final AnnotationSpan.LinkInfo mUrlLinkInfo
private final AnnotationSpan.LinkInfo mUrlLinkInfo = new AnnotationSpan.LinkInfo(ANNOTATION_URL, (widget) -> {
final Context context = widget.getContext();
final Intent intent = HelpUtils.getHelpIntent(context, context.getString(R.string.help_uri_private_dns), context.getClass().getName());
if (intent != null) {
try {
widget.startActivityForResult(intent, 0);
} catch (ActivityNotFoundException e) {
Log.w(TAG, "Activity was not found for intent, " + intent.toString());
}
}
});
1.851.1.5. static final String ANNOTATION_URL
public static final String ANNOTATION_URL = "url";
1.851.1.6. static final String TAG
private static final String TAG = "PrivateDnsModeDialog";
1.851.1.7. static final Map PRIVATE_DNS_MAP;
// DNS_MODE -> RadioButton id
private static final Map PRIVATE_DNS_MAP;
1.851.1.8. static final int[] ADDRESS_FAMILIES
private static final int[] ADDRESS_FAMILIES = new int[] { AF_INET, AF_INET6 };
1.851.1.9. static final String MODE_KEY
@VisibleForTesting
static final String MODE_KEY = Settings.Global.PRIVATE_DNS_MODE;
1.851.1.10. static final String HOSTNAME_KEY
@VisibleForTesting
static final String HOSTNAME_KEY = Settings.Global.PRIVATE_DNS_SPECIFIER;
1.851.2. PrivateDnsModeDialogPreferenceMethod方法列表
1.851.2.1. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.851.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.851.2.3. onCheckedChanged(RadioGroup group,int checkedId)
public void onCheckedChanged(RadioGroup group, int checkedId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "RadioGroup group,int checkedId"));
1.851.2.4. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.851.2.5. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.851.2.6. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.851.2.7. isWeaklyValidatedHostname(String hostname)
private boolean isWeaklyValidatedHostname(String hostname)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWeaklyValidatedHostname", "String hostname"));
1.851.2.8. getSaveButton()
private Button getSaveButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getSaveButton", ""));
1.851.2.9. updateDialogInfo()
private void updateDialogInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDialogInfo", ""));
1.851.2.10. static getModeFromSettings(ContentResolver cr)
public static String getModeFromSettings(ContentResolver cr)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getModeFromSettings", "ContentResolver cr"));
1.851.2.11. static getHostnameFromSettings(ContentResolver cr)
public static String getHostnameFromSettings(ContentResolver cr)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getHostnameFromSettings", "ContentResolver cr"));
1.852. PrivateDnsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/PrivateDnsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.852.1. PrivateDnsPreferenceController Field属性列表
1.852.1.1. LinkProperties mLatestLinkProperties;
private LinkProperties mLatestLinkProperties;
1.852.1.2. Preference mPreference;
private Preference mPreference;
1.852.1.3. final Handler mHandler;
private final Handler mHandler;
1.852.1.4. final ContentObserver mSettingsObserver;
private final ContentObserver mSettingsObserver;
1.852.1.5. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.852.1.6. final NetworkCallback mNetworkCallback
private final NetworkCallback mNetworkCallback = new NetworkCallback() {
@Override
public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
mLatestLinkProperties = lp;
if (mPreference != null) {
updateState(mPreference);
}
}
@Override
public void onLost(Network network) {
mLatestLinkProperties = null;
if (mPreference != null) {
updateState(mPreference);
}
}
};
1.852.1.7. static final String KEY_PRIVATE_DNS_SETTINGS
private static final String KEY_PRIVATE_DNS_SETTINGS = "private_dns_settings";
1.852.1.8. static final Uri[] SETTINGS_URIS
private static final Uri[] SETTINGS_URIS = new Uri[] { Settings.Global.getUriFor(PRIVATE_DNS_MODE), Settings.Global.getUriFor(PRIVATE_DNS_DEFAULT_MODE), Settings.Global.getUriFor(PRIVATE_DNS_SPECIFIER) };
1.852.2. PrivateDnsPreferenceControllerMethod方法列表
1.852.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.852.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.852.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.852.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.852.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.852.2.6. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.853. PrivateVolumeForget.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeForget.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.853.1. PrivateVolumeForget Field属性列表
1.853.1.1. VolumeRecord mRecord;
private VolumeRecord mRecord;
1.853.1.2. final OnClickListener mConfirmListener
private final OnClickListener mConfirmListener = new OnClickListener() {
@Override
public void onClick(View v) {
ForgetConfirmFragment.show(PrivateVolumeForget.this, mRecord.getFsUuid());
}
};
1.853.1.3. static final String TAG_FORGET_CONFIRM
private static final String TAG_FORGET_CONFIRM = "forget_confirm";
1.853.2. PrivateVolumeForgetMethod方法列表
1.853.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.853.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.854. PrivateVolumeFormat.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeFormat.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.854.1. PrivateVolumeFormat Field属性列表
1.854.1.1. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.854.1.2. DiskInfo mDisk;
private DiskInfo mDisk;
1.854.1.3. final OnClickListener mConfirmListener
private final OnClickListener mConfirmListener = new OnClickListener() {
@Override
public void onClick(View v) {
final Intent intent = new Intent(getActivity(), StorageWizardFormatProgress.class);
intent.putExtra(EXTRA_DISK_ID, mDisk.getId());
intent.putExtra(EXTRA_FORMAT_PRIVATE, false);
intent.putExtra(EXTRA_FORMAT_FORGET_UUID, mVolume.getFsUuid());
startActivity(intent);
getActivity().finish();
}
};
1.854.2. PrivateVolumeFormatMethod方法列表
1.854.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.854.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.855. PrivateVolumeOptionMenuController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeOptionMenuController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.855.1. PrivateVolumeOptionMenuController Field属性列表
1.855.1.1. Context mContext;
private Context mContext;
1.855.1.2. VolumeInfo mVolumeInfo;
private VolumeInfo mVolumeInfo;
1.855.1.3. PackageManagerWrapper mPm;
private PackageManagerWrapper mPm;
1.855.1.4. static final int OPTIONS_MENU_MIGRATE_DATA
private static final int OPTIONS_MENU_MIGRATE_DATA = 100;
1.855.2. PrivateVolumeOptionMenuControllerMethod方法列表
1.855.2.1. onCreateOptionsMenu(final Menu menu,final MenuInflater inflater)
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "final Menu menu,final MenuInflater inflater"));
1.855.2.2. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.855.2.3. onOptionsItemSelected(MenuItem menuItem)
public boolean onOptionsItemSelected(MenuItem menuItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem menuItem"));
1.856. PrivateVolumeSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.856.1. PrivateVolumeSettings Field属性列表
1.856.1.1. StorageManager mStorageManager;
private StorageManager mStorageManager;
1.856.1.2. UserManager mUserManager;
private UserManager mUserManager;
1.856.1.3. String mVolumeId;
private String mVolumeId;
1.856.1.4. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.856.1.5. VolumeInfo mSharedVolume;
private VolumeInfo mSharedVolume;
1.856.1.6. long mTotalSize;
private long mTotalSize;
1.856.1.7. long mSystemSize;
private long mSystemSize;
1.856.1.8. StorageMeasurement mMeasure;
private StorageMeasurement mMeasure;
1.856.1.9. UserInfo mCurrentUser;
private UserInfo mCurrentUser;
1.856.1.10. StorageSummaryPreference mSummary;
private StorageSummaryPreference mSummary;
1.856.1.11. List mItemPreferencePool
private List mItemPreferencePool = Lists.newArrayList();
1.856.1.12. List mHeaderPreferencePool
private List mHeaderPreferencePool = Lists.newArrayList();
1.856.1.13. int mHeaderPoolIndex;
private int mHeaderPoolIndex;
1.856.1.14. int mItemPoolIndex;
private int mItemPoolIndex;
1.856.1.15. Preference mExplore;
private Preference mExplore;
1.856.1.16. boolean mNeedsUpdate;
private boolean mNeedsUpdate;
1.856.1.17. final MeasurementReceiver mReceiver
private final MeasurementReceiver mReceiver = new MeasurementReceiver() {
@Override
public void onDetailsChanged(MeasurementDetails details) {
updateDetails(details);
}
};
1.856.1.18. final StorageEventListener mStorageListener
private final StorageEventListener mStorageListener = new StorageEventListener() {
@Override
public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) {
if (Objects.equals(mVolume.getId(), vol.getId())) {
mVolume = vol;
update();
}
}
@Override
public void onVolumeRecordChanged(VolumeRecord rec) {
if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) {
mVolume = mStorageManager.findVolumeById(mVolumeId);
update();
}
}
};
1.856.1.19. static final // TODO: warn when mounted read-only private String TAG
// TODO: disable unmount when providing over MTP/PTP
// TODO: warn when mounted read-only
private static final String TAG = "PrivateVolumeSettings";
1.856.1.20. static final boolean LOGV
private static final boolean LOGV = false;
1.856.1.21. static final String TAG_RENAME
private static final String TAG_RENAME = "rename";
1.856.1.22. static final String TAG_OTHER_INFO
private static final String TAG_OTHER_INFO = "otherInfo";
1.856.1.23. static final String TAG_SYSTEM_INFO
private static final String TAG_SYSTEM_INFO = "systemInfo";
1.856.1.24. static final String TAG_USER_INFO
private static final String TAG_USER_INFO = "userInfo";
1.856.1.25. static final String TAG_CONFIRM_CLEAR_CACHE
private static final String TAG_CONFIRM_CLEAR_CACHE = "confirmClearCache";
1.856.1.26. static final String EXTRA_VOLUME_SIZE
private static final String EXTRA_VOLUME_SIZE = "volume_size";
1.856.1.27. static final String AUTHORITY_MEDIA
private static final String AUTHORITY_MEDIA = "com.android.providers.media.documents";
1.856.1.28. static final int[] ITEMS_NO_SHOW_SHARED
private static final int[] ITEMS_NO_SHOW_SHARED = new int[] { R.string.storage_detail_apps, R.string.storage_detail_system };
1.856.1.29. static final int[] ITEMS_SHOW_SHARED
private static final int[] ITEMS_SHOW_SHARED = new int[] { R.string.storage_detail_apps, R.string.storage_detail_images, R.string.storage_detail_videos, R.string.storage_detail_audio, R.string.storage_detail_system, R.string.storage_detail_other };
1.856.2. PrivateVolumeSettingsMethod方法列表
1.856.2.1. isVolumeValid()
private boolean isVolumeValid()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVolumeValid", ""));
1.856.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.856.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.856.2.4. setTitle()
private void setTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitle", ""));
1.856.2.5. update()
private void update()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", ""));
1.856.2.6. addPreference(PreferenceGroup group,Preference pref)
private void addPreference(PreferenceGroup group, Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreference", "PreferenceGroup group,Preference pref"));
1.856.2.7. addCategory(PreferenceGroup group,CharSequence title)
private PreferenceCategory addCategory(PreferenceGroup group, CharSequence title)
methodList.add(new ZMethod(mZAndroidAPPClass,"PreferenceCategory" ,"addCategory", "PreferenceGroup group,CharSequence title"));
1.856.2.8. addDetailItems(PreferenceGroup category,boolean showShared,int userId)
private void addDetailItems(PreferenceGroup category, boolean showShared, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDetailItems", "PreferenceGroup category,boolean showShared,int userId"));
1.856.2.9. addItem(PreferenceGroup group,int titleRes,CharSequence title,int userId)
private void addItem(PreferenceGroup group, int titleRes, CharSequence title, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addItem", "PreferenceGroup group,int titleRes,CharSequence title,int userId"));
1.856.2.10. buildItem()
private StorageItemPreference buildItem()
methodList.add(new ZMethod(mZAndroidAPPClass,"StorageItemPreference" ,"buildItem", ""));
1.856.2.11. buildAction(int titleRes)
private Preference buildAction(int titleRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"buildAction", "int titleRes"));
1.856.2.12. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.856.2.13. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.856.2.14. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.856.2.15. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.856.2.16. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.856.2.17. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.856.2.18. onPreferenceTreeClick(Preference pref)
public boolean onPreferenceTreeClick(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference pref"));
1.856.2.19. getIntentForStorage(String authority,String root)
private Intent getIntentForStorage(String authority, String root)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntentForStorage", "String authority,String root"));
1.856.2.20. updateDetails(MeasurementDetails details)
private void updateDetails(MeasurementDetails details)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDetails", "MeasurementDetails details"));
1.856.2.21. updatePreference(StorageItemPreference pref,long size)
private void updatePreference(StorageItemPreference pref, long size)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "StorageItemPreference pref,long size"));
1.856.2.22. static setVolumeSize(Bundle args,long size)
static void setVolumeSize(Bundle args, long size)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVolumeSize", "Bundle args,long size"));
1.856.2.23. static totalValues(MeasurementDetails details,int userId,String... keys)
private static long totalValues(MeasurementDetails details, int userId, String... keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"totalValues", "MeasurementDetails details,int userId,String... keys"));
1.857. PrivateVolumeUnmount.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PrivateVolumeUnmount.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.857.1. PrivateVolumeUnmount Field属性列表
1.857.1.1. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.857.1.2. DiskInfo mDisk;
private DiskInfo mDisk;
1.857.1.3. final OnClickListener mConfirmListener
private final OnClickListener mConfirmListener = new OnClickListener() {
@Override
public void onClick(View v) {
new UnmountTask(getActivity(), mVolume).execute();
getActivity().finish();
}
};
1.857.2. PrivateVolumeUnmountMethod方法列表
1.857.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.857.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.858. ProcessStatsBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.858.1. ProcessStatsBase Field属性列表
1.858.1.1. ViewGroup mSpinnerHeader;
private ViewGroup mSpinnerHeader;
1.858.1.2. Spinner mFilterSpinner;
private Spinner mFilterSpinner;
1.858.1.3. ArrayAdapter mFilterAdapter;
private ArrayAdapter mFilterAdapter;
1.858.1.4. ProcStatsData mStatsManager;
protected ProcStatsData mStatsManager;
1.858.1.5. int mDurationIndex;
protected int mDurationIndex;
1.858.1.6. static long[] sDurations
public static long[] sDurations = new long[] { 3 * 60 * 60 * 1000 - DURATION_QUANTUM / 2, 6 * 60 * 60 * 1000 - DURATION_QUANTUM / 2, 12 * 60 * 60 * 1000 - DURATION_QUANTUM / 2, 24 * 60 * 60 * 1000 - DURATION_QUANTUM / 2 };
1.858.1.7. static int[] sDurationLabels
protected static int[] sDurationLabels = new int[] { R.string.menu_duration_3h, R.string.menu_duration_6h, R.string.menu_duration_12h, R.string.menu_duration_1d };
1.858.1.8. static final String DURATION
private static final String DURATION = "duration";
1.858.1.9. static final String ARG_TRANSFER_STATS
protected static final String ARG_TRANSFER_STATS = "transfer_stats";
1.858.1.10. static final String ARG_DURATION_INDEX
protected static final String ARG_DURATION_INDEX = "duration_index";
1.858.1.11. static final int NUM_DURATIONS
protected static final int NUM_DURATIONS = 4;
1.858.1.12. static final // are lower than the actual duration, since our durations are computed in // batches of 3 hours so we want to allow the time we use to be slightly // smaller than the actual time selected instead of bumping up to 3 hours // beyond it. private long DURATION_QUANTUM
// The actual duration value to use for each duration option. Note these
// are lower than the actual duration, since our durations are computed in
// batches of 3 hours so we want to allow the time we use to be slightly
// smaller than the actual time selected instead of bumping up to 3 hours
// beyond it.
private static final long DURATION_QUANTUM = ProcessStats.COMMIT_PERIOD;
1.858.2. ProcessStatsBaseMethod方法列表
1.858.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.858.2.2. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.858.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.858.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.858.2.5. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.858.2.6. onItemSelected(AdapterView parent,View view,int position,long id)
public void onItemSelected(AdapterView parent, View view, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemSelected", "AdapterView parent,View view,int position,long id"));
1.858.2.7. onNothingSelected(AdapterView parent)
public void onNothingSelected(AdapterView parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNothingSelected", "AdapterView parent"));
1.858.2.8. abstract refreshUi()
public abstract void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.858.2.9. static launchMemoryDetail(SettingsActivity activity,MemInfo memInfo,ProcStatsPackageEntry entry,boolean includeAppInfo)
public static void launchMemoryDetail(SettingsActivity activity, MemInfo memInfo, ProcStatsPackageEntry entry, boolean includeAppInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchMemoryDetail", "SettingsActivity activity,MemInfo memInfo,ProcStatsPackageEntry entry,boolean includeAppInfo"));
1.859. ProcessStatsDetail.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsDetail.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.859.1. ProcessStatsDetail Field属性列表
1.859.1.1. PackageManager mPm;
private PackageManager mPm;
1.859.1.2. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.859.1.3. MenuItem mForceStop;
private MenuItem mForceStop;
1.859.1.4. ProcStatsPackageEntry mApp;
private ProcStatsPackageEntry mApp;
1.859.1.5. double mWeightToRam;
private double mWeightToRam;
1.859.1.6. long mTotalTime;
private long mTotalTime;
1.859.1.7. long mOnePercentTime;
private long mOnePercentTime;
1.859.1.8. double mMaxMemoryUsage;
private double mMaxMemoryUsage;
1.859.1.9. double mTotalScale;
private double mTotalScale;
1.859.1.10. PreferenceCategory mProcGroup;
private PreferenceCategory mProcGroup;
1.859.1.11. final ArrayMap mServiceMap
private final ArrayMap mServiceMap = new ArrayMap<>();
1.859.1.12. static final String TAG
private static final String TAG = "ProcessStatsDetail";
1.859.1.13. static final int MENU_FORCE_STOP
public static final int MENU_FORCE_STOP = 1;
1.859.1.14. static final String EXTRA_PACKAGE_ENTRY
public static final String EXTRA_PACKAGE_ENTRY = "package_entry";
1.859.1.15. static final String EXTRA_WEIGHT_TO_RAM
public static final String EXTRA_WEIGHT_TO_RAM = "weight_to_ram";
1.859.1.16. static final String EXTRA_TOTAL_TIME
public static final String EXTRA_TOTAL_TIME = "total_time";
1.859.1.17. static final String EXTRA_MAX_MEMORY_USAGE
public static final String EXTRA_MAX_MEMORY_USAGE = "max_memory_usage";
1.859.1.18. static final String EXTRA_TOTAL_SCALE
public static final String EXTRA_TOTAL_SCALE = "total_scale";
1.859.1.19. static final String KEY_DETAILS_HEADER
private static final String KEY_DETAILS_HEADER = "status_header";
1.859.1.20. static final String KEY_FREQUENCY
private static final String KEY_FREQUENCY = "frequency";
1.859.1.21. static final String KEY_MAX_USAGE
private static final String KEY_MAX_USAGE = "max_usage";
1.859.1.22. static final String KEY_PROCS
private static final String KEY_PROCS = "processes";
1.859.1.23. static final Comparator sEntryCompare
static final Comparator sEntryCompare = new Comparator() {
@Override
public int compare(ProcStatsEntry lhs, ProcStatsEntry rhs) {
if (lhs.mRunWeight < rhs.mRunWeight) {
return 1;
} else if (lhs.mRunWeight > rhs.mRunWeight) {
return -1;
}
return 0;
}
};
1.859.1.24. static final Comparator sServiceCompare
static final Comparator sServiceCompare = new Comparator() {
@Override
public int compare(ProcStatsEntry.Service lhs, ProcStatsEntry.Service rhs) {
if (lhs.mDuration < rhs.mDuration) {
return 1;
} else if (lhs.mDuration > rhs.mDuration) {
return -1;
}
return 0;
}
};
1.859.1.25. static final Comparator sServicePkgCompare
static final Comparator sServicePkgCompare = new Comparator() {
@Override
public int compare(PkgService lhs, PkgService rhs) {
if (lhs.mDuration < rhs.mDuration) {
return 1;
} else if (lhs.mDuration > rhs.mDuration) {
return -1;
}
return 0;
}
};
1.859.2. ProcessStatsDetailMethod方法列表
1.859.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.859.2.2. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.859.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.859.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.859.2.5. updateRunningServices()
private void updateRunningServices()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRunningServices", ""));
1.859.2.6. createDetails()
private void createDetails()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDetails", ""));
1.859.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.859.2.8. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.859.2.9. fillProcessesSection()
private void fillProcessesSection()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fillProcessesSection", ""));
1.859.2.10. fillServicesSection(ProcStatsEntry entry,PreferenceCategory processPref)
private void fillServicesSection(ProcStatsEntry entry, PreferenceCategory processPref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fillServicesSection", "ProcStatsEntry entry,PreferenceCategory processPref"));
1.859.2.11. getLabel(Service service)
private CharSequence getLabel(Service service)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getLabel", "Service service"));
1.859.2.12. stopService(String pkg,String name)
private void stopService(String pkg, String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopService", "String pkg,String name"));
1.859.2.13. showStopServiceDialog(final String pkg,final String name)
private void showStopServiceDialog(final String pkg, final String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showStopServiceDialog", "final String pkg,final String name"));
1.859.2.14. doStopService(String pkg,String name)
private void doStopService(String pkg, String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doStopService", "String pkg,String name"));
1.859.2.15. killProcesses()
private void killProcesses()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"killProcesses", ""));
1.859.2.16. checkForceStop()
private void checkForceStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkForceStop", ""));
1.859.2.17. static capitalize(String processName)
private static String capitalize(String processName)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"capitalize", "String processName"));
1.859.2.18. static getProcessName(String appLabel,ProcStatsEntry entry)
private static String getProcessName(String appLabel, ProcStatsEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getProcessName", "String appLabel,ProcStatsEntry entry"));
1.860. ProcessStatsPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.860.1. ProcessStatsPreference Field属性列表
1.860.1.1. ProcStatsPackageEntry mEntry;
private ProcStatsPackageEntry mEntry;
1.860.1.2. static final String TAG
static final String TAG = "ProcessStatsPreference";
1.860.2. ProcessStatsPreferenceMethod方法列表
1.860.2.1. init(ProcStatsPackageEntry entry,PackageManager pm,double maxMemory,double weightToRam,double totalScale,boolean avg)
public void init(ProcStatsPackageEntry entry, PackageManager pm, double maxMemory, double weightToRam, double totalScale, boolean avg)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "ProcStatsPackageEntry entry,PackageManager pm,double maxMemory,double weightToRam,double totalScale,boolean avg"));
1.860.2.2. getEntry()
public ProcStatsPackageEntry getEntry()
methodList.add(new ZMethod(mZAndroidAPPClass,"ProcStatsPackageEntry" ,"getEntry", ""));
1.861. ProcessStatsSummary.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsSummary.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.861.1. ProcessStatsSummary Field属性列表
1.861.1.1. SummaryPreference mSummaryPref;
private SummaryPreference mSummaryPref;
1.861.1.2. Preference mPerformance;
private Preference mPerformance;
1.861.1.3. Preference mTotalMemory;
private Preference mTotalMemory;
1.861.1.4. Preference mAverageUsed;
private Preference mAverageUsed;
1.861.1.5. Preference mFree;
private Preference mFree;
1.861.1.6. Preference mAppListPreference;
private Preference mAppListPreference;
1.861.1.7. static final String KEY_STATUS_HEADER
private static final String KEY_STATUS_HEADER = "status_header";
1.861.1.8. static final String KEY_PERFORMANCE
private static final String KEY_PERFORMANCE = "performance";
1.861.1.9. static final String KEY_TOTAL_MEMORY
private static final String KEY_TOTAL_MEMORY = "total_memory";
1.861.1.10. static final String KEY_AVERAGY_USED
private static final String KEY_AVERAGY_USED = "average_used";
1.861.1.11. static final String KEY_FREE
private static final String KEY_FREE = "free";
1.861.1.12. static final String KEY_APP_LIST
private static final String KEY_APP_LIST = "apps_list";
1.861.1.13. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.861.2. ProcessStatsSummaryMethod方法列表
1.861.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.861.2.2. refreshUi()
public void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.861.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.861.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.861.2.5. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.862. ProcessStatsUi.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcessStatsUi.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.862.1. ProcessStatsUi Field属性列表
1.862.1.1. PreferenceGroup mAppListGroup;
private PreferenceGroup mAppListGroup;
1.862.1.2. PackageManager mPm;
private PackageManager mPm;
1.862.1.3. boolean mShowMax;
private boolean mShowMax;
1.862.1.4. MenuItem mMenuAvg;
private MenuItem mMenuAvg;
1.862.1.5. MenuItem mMenuMax;
private MenuItem mMenuMax;
1.862.1.6. static final String TAG
static final String TAG = "ProcessStatsUi";
1.862.1.7. static final boolean DEBUG
static final boolean DEBUG = false;
1.862.1.8. static final String KEY_APP_LIST
private static final String KEY_APP_LIST = "app_list";
1.862.1.9. static final int MENU_SHOW_AVG
private static final int MENU_SHOW_AVG = Menu.FIRST;
1.862.1.10. static final int MENU_SHOW_MAX
private static final int MENU_SHOW_MAX = Menu.FIRST + 1;
1.862.1.11. static final int[] BACKGROUND_AND_SYSTEM_PROC_STATES
/**
* All states in which we consider a process to be actively running (rather than
* something that can be freely killed to reclaim RAM). Note this also includes
* the HOME state, because we prioritize home over all cached processes even when
* it is in the background, so it is effectively always running from the perspective
* of the information we want to show the user here.
*/
public static final int[] BACKGROUND_AND_SYSTEM_PROC_STATES = new int[] { ProcessStats.STATE_PERSISTENT, ProcessStats.STATE_IMPORTANT_FOREGROUND, ProcessStats.STATE_IMPORTANT_BACKGROUND, ProcessStats.STATE_BACKUP, ProcessStats.STATE_HEAVY_WEIGHT, ProcessStats.STATE_SERVICE, ProcessStats.STATE_SERVICE_RESTARTING, ProcessStats.STATE_RECEIVER, ProcessStats.STATE_HOME };
1.862.1.12. static final int[] FOREGROUND_PROC_STATES
public static final int[] FOREGROUND_PROC_STATES = new int[] { ProcessStats.STATE_TOP };
1.862.1.13. static final int[] CACHED_PROC_STATES
public static final int[] CACHED_PROC_STATES = new int[] { ProcessStats.STATE_CACHED_ACTIVITY, ProcessStats.STATE_CACHED_ACTIVITY_CLIENT, ProcessStats.STATE_CACHED_EMPTY };
1.862.1.14. static final Comparator sPackageEntryCompare
static final Comparator sPackageEntryCompare = new Comparator() {
@Override
public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) {
double rhsWeight = Math.max(rhs.mRunWeight, rhs.mBgWeight);
double lhsWeight = Math.max(lhs.mRunWeight, lhs.mBgWeight);
if (lhsWeight == rhsWeight) {
return 0;
}
return lhsWeight < rhsWeight ? 1 : -1;
}
};
1.862.1.15. static final Comparator sMaxPackageEntryCompare
static final Comparator sMaxPackageEntryCompare = new Comparator() {
@Override
public int compare(ProcStatsPackageEntry lhs, ProcStatsPackageEntry rhs) {
double rhsMax = Math.max(rhs.mMaxBgMem, rhs.mMaxRunMem);
double lhsMax = Math.max(lhs.mMaxBgMem, lhs.mMaxRunMem);
if (lhsMax == rhsMax) {
return 0;
}
return lhsMax < rhsMax ? 1 : -1;
}
};
1.862.2. ProcessStatsUiMethod方法列表
1.862.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.862.2.2. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.862.2.3. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.862.2.4. updateMenu()
private void updateMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMenu", ""));
1.862.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.862.2.6. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.862.2.7. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.862.2.8. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.862.2.9. refreshUi()
public void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.862.2.10. static makeDuration(long time)
public static String makeDuration(long time)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"makeDuration", "long time"));
1.863. ProcStatsData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcStatsData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.863.1. ProcStatsData Field属性列表
1.863.1.1. PackageManager mPm;
private PackageManager mPm;
1.863.1.2. Context mContext;
private Context mContext;
1.863.1.3. long memTotalTime;
private long memTotalTime;
1.863.1.4. IProcessStats mProcessStats;
private IProcessStats mProcessStats;
1.863.1.5. ProcessStats mStats;
private ProcessStats mStats;
1.863.1.6. boolean mUseUss;
private boolean mUseUss;
1.863.1.7. long mDuration;
private long mDuration;
1.863.1.8. int[] mMemStates;
private int[] mMemStates;
1.863.1.9. int[] mStates;
private int[] mStates;
1.863.1.10. MemInfo mMemInfo;
private MemInfo mMemInfo;
1.863.1.11. ArrayList pkgEntries;
private ArrayList pkgEntries;
1.863.1.12. static ProcessStats sStatsXfer;
private static ProcessStats sStatsXfer;
1.863.1.13. static final String TAG
private static final String TAG = "ProcStatsManager";
1.863.1.14. static final boolean DEBUG
private static final boolean DEBUG = ProcessStatsUi.DEBUG;
1.863.1.15. static final Comparator sEntryCompare
static final Comparator sEntryCompare = new Comparator() {
@Override
public int compare(ProcStatsEntry lhs, ProcStatsEntry rhs) {
if (lhs.mRunWeight < rhs.mRunWeight) {
return 1;
} else if (lhs.mRunWeight > rhs.mRunWeight) {
return -1;
} else if (lhs.mRunDuration < rhs.mRunDuration) {
return 1;
} else if (lhs.mRunDuration > rhs.mRunDuration) {
return -1;
}
return 0;
}
};
1.863.2. ProcStatsDataMethod方法列表
1.863.2.1. setTotalTime(int totalTime)
public void setTotalTime(int totalTime)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTotalTime", "int totalTime"));
1.863.2.2. xferStats()
public void xferStats()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"xferStats", ""));
1.863.2.3. setMemStates(int[] memStates)
public void setMemStates(int[] memStates)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMemStates", "int[] memStates"));
1.863.2.4. setStats(int[] stats)
public void setStats(int[] stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStats", "int[] stats"));
1.863.2.5. getMemState()
public int getMemState()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMemState", ""));
1.863.2.6. getMemInfo()
public MemInfo getMemInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"MemInfo" ,"getMemInfo", ""));
1.863.2.7. getElapsedTime()
public long getElapsedTime()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getElapsedTime", ""));
1.863.2.8. setDuration(long duration)
public void setDuration(long duration)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDuration", "long duration"));
1.863.2.9. getDuration()
public long getDuration()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getDuration", ""));
1.863.2.10. getEntries()
public List getEntries()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getEntries", ""));
1.863.2.11. refreshStats(boolean forceLoad)
public void refreshStats(boolean forceLoad)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshStats", "boolean forceLoad"));
1.863.2.12. createPkgMap(ArrayList procEntries,ProcessDataCollection bgTotals,ProcessDataCollection runTotals)
private void createPkgMap(ArrayList procEntries, ProcessDataCollection bgTotals, ProcessDataCollection runTotals)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createPkgMap", "ArrayList procEntries,ProcessDataCollection bgTotals,ProcessDataCollection runTotals"));
1.863.2.13. distributeZRam(double zramWeight)
private void distributeZRam(double zramWeight)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"distributeZRam", "double zramWeight"));
1.863.2.14. createOsEntry(ProcessDataCollection bgTotals,ProcessDataCollection runTotals,TotalMemoryUseCollection totalMem,long baseCacheRam)
private ProcStatsPackageEntry createOsEntry(ProcessDataCollection bgTotals, ProcessDataCollection runTotals, TotalMemoryUseCollection totalMem, long baseCacheRam)
methodList.add(new ZMethod(mZAndroidAPPClass,"ProcStatsPackageEntry" ,"createOsEntry", "ProcessDataCollection bgTotals,ProcessDataCollection runTotals,TotalMemoryUseCollection totalMem,long baseCacheRam"));
1.863.2.15. getProcs(ProcessDataCollection bgTotals,ProcessDataCollection runTotals)
private ArrayList getProcs(ProcessDataCollection bgTotals, ProcessDataCollection runTotals)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getProcs", "ProcessDataCollection bgTotals,ProcessDataCollection runTotals"));
1.863.2.16. load()
private void load()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"load", ""));
1.864. ProcStatsEntry.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcStatsEntry.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.864.1. ProcStatsEntry Field属性列表
1.864.1.1. CharSequence mLabel;
public CharSequence mLabel;
1.864.1.2. String mBestTargetPackage;
String mBestTargetPackage;
1.864.1.3. ArrayMap> mServices
ArrayMap> mServices = new ArrayMap<>(1);
1.864.1.4. final String mPackage;
final String mPackage;
1.864.1.5. final int mUid;
final int mUid;
1.864.1.6. final String mName;
final String mName;
1.864.1.7. final ArrayList mPackages
final ArrayList mPackages = new ArrayList<>();
1.864.1.8. final long mBgDuration;
final long mBgDuration;
1.864.1.9. final long mAvgBgMem;
final long mAvgBgMem;
1.864.1.10. final long mMaxBgMem;
final long mMaxBgMem;
1.864.1.11. final double mBgWeight;
final double mBgWeight;
1.864.1.12. final long mRunDuration;
final long mRunDuration;
1.864.1.13. final long mAvgRunMem;
final long mAvgRunMem;
1.864.1.14. final long mMaxRunMem;
final long mMaxRunMem;
1.864.1.15. final double mRunWeight;
final double mRunWeight;
1.864.1.16. static boolean DEBUG
private static boolean DEBUG = ProcessStatsUi.DEBUG;
1.864.1.17. static final String TAG
private static final String TAG = "ProcStatsEntry";
1.864.1.18. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public ProcStatsEntry createFromParcel(Parcel in) {
return new ProcStatsEntry(in);
}
public ProcStatsEntry[] newArray(int size) {
return new ProcStatsEntry[size];
}
};
1.864.2. ProcStatsEntryMethod方法列表
1.864.2.1. addPackage(String packageName)
public void addPackage(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPackage", "String packageName"));
1.864.2.2. evaluateTargetPackage(PackageManager pm,ProcessStats stats,ProcessStats.ProcessDataCollection bgTotals,ProcessStats.ProcessDataCollection runTotals,Comparator compare,boolean useUss)
public void evaluateTargetPackage(PackageManager pm, ProcessStats stats, ProcessStats.ProcessDataCollection bgTotals, ProcessStats.ProcessDataCollection runTotals, Comparator compare, boolean useUss)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"evaluateTargetPackage", "PackageManager pm,ProcessStats stats,ProcessStats.ProcessDataCollection bgTotals,ProcessStats.ProcessDataCollection runTotals,Comparator compare,boolean useUss"));
1.864.2.3. addService(ServiceState svc)
public void addService(ServiceState svc)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addService", "ServiceState svc"));
1.864.2.4. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.864.2.5. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.864.2.6. getUid()
public int getUid()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUid", ""));
1.865. ProcStatsPackageEntry.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/ProcStatsPackageEntry.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.865.1. ProcStatsPackageEntry Field属性列表
1.865.1.1. long mBgDuration;
long mBgDuration;
1.865.1.2. long mAvgBgMem;
long mAvgBgMem;
1.865.1.3. long mMaxBgMem;
long mMaxBgMem;
1.865.1.4. double mBgWeight;
double mBgWeight;
1.865.1.5. long mRunDuration;
long mRunDuration;
1.865.1.6. long mAvgRunMem;
long mAvgRunMem;
1.865.1.7. long mMaxRunMem;
long mMaxRunMem;
1.865.1.8. double mRunWeight;
double mRunWeight;
1.865.1.9. ApplicationInfo mUiTargetApp;
public ApplicationInfo mUiTargetApp;
1.865.1.10. String mUiLabel;
public String mUiLabel;
1.865.1.11. long mWindowLength;
private long mWindowLength;
1.865.1.12. final String mPackage;
final String mPackage;
1.865.1.13. final ArrayList mEntries
final ArrayList mEntries = new ArrayList();
1.865.1.14. static boolean DEBUG
private static boolean DEBUG = ProcessStatsUi.DEBUG;
1.865.1.15. static final String TAG
private static final String TAG = "ProcStatsEntry";
1.865.1.16. static final float ALWAYS_THRESHOLD
private static final float ALWAYS_THRESHOLD = .95f;
1.865.1.17. static final float SOMETIMES_THRESHOLD
private static final float SOMETIMES_THRESHOLD = .25f;
1.865.1.18. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public ProcStatsPackageEntry createFromParcel(Parcel in) {
return new ProcStatsPackageEntry(in);
}
public ProcStatsPackageEntry[] newArray(int size) {
return new ProcStatsPackageEntry[size];
}
};
1.865.2. ProcStatsPackageEntryMethod方法列表
1.865.2.1. getRunningFrequency(Context context)
public CharSequence getRunningFrequency(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getRunningFrequency", "Context context"));
1.865.2.2. getBackgroundFrequency(Context context)
public CharSequence getBackgroundFrequency(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getBackgroundFrequency", "Context context"));
1.865.2.3. addEntry(ProcStatsEntry entry)
public void addEntry(ProcStatsEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addEntry", "ProcStatsEntry entry"));
1.865.2.4. updateMetrics()
public void updateMetrics()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMetrics", ""));
1.865.2.5. retrieveUiData(Context context,PackageManager pm)
public void retrieveUiData(Context context, PackageManager pm)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"retrieveUiData", "Context context,PackageManager pm"));
1.865.2.6. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.865.2.7. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.865.2.8. getRunWeight()
public double getRunWeight()
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"getRunWeight", ""));
1.865.2.9. getBgWeight()
public double getBgWeight()
methodList.add(new ZMethod(mZAndroidAPPClass,"double" ,"getBgWeight", ""));
1.865.2.10. getEntries()
public ArrayList getEntries()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getEntries", ""));
1.865.2.11. static getFrequency(float amount,Context context)
public static CharSequence getFrequency(float amount, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getFrequency", "float amount,Context context"));
1.866. ProfileGpuRenderingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ProfileGpuRenderingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.866.1. ProfileGpuRenderingPreferenceController Field属性列表
1.866.1.1. final String[] mListValues;
private final String[] mListValues;
1.866.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.866.1.3. static final String TRACK_FRAME_TIME_KEY
private static final String TRACK_FRAME_TIME_KEY = "track_frame_time";
1.866.2. ProfileGpuRenderingPreferenceControllerMethod方法列表
1.866.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.866.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.866.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.866.2.4. writeTrackFrameTimeOptions(Object newValue)
private void writeTrackFrameTimeOptions(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeTrackFrameTimeOptions", "Object newValue"));
1.866.2.5. updateTrackFrameTimeOptions()
private void updateTrackFrameTimeOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTrackFrameTimeOptions", ""));
1.867. ProfileSettingsPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/ProfileSettingsPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.867.1. ProfileSettingsPreferenceFragment Field属性列表
1.867.2. ProfileSettingsPreferenceFragmentMethod方法列表
1.867.2.1. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.867.2.2. abstract getIntentActionString()
protected abstract String getIntentActionString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getIntentActionString", ""));
1.868. ProfileUpdateReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/ProfileUpdateReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.868.1. ProfileUpdateReceiver Field属性列表
1.868.1.1. static final String KEY_PROFILE_NAME_COPIED_ONCE
private static final String KEY_PROFILE_NAME_COPIED_ONCE = "name_copied_once";
1.868.2. ProfileUpdateReceiverMethod方法列表
1.868.2.1. onReceive(final Context context,Intent intent)
public void onReceive(final Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "final Context context,Intent intent"));
1.868.2.2. static copyProfileName(Context context)
private static void copyProfileName(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyProfileName", "Context context"));
1.869. ProgressCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ProgressCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.869.1. ProgressCategory Field属性列表
1.869.1.1. int mEmptyTextRes;
private int mEmptyTextRes;
1.869.1.2. boolean mProgress
private boolean mProgress = false;
1.869.1.3. Preference mNoDeviceFoundPreference;
private Preference mNoDeviceFoundPreference;
1.869.1.4. boolean mNoDeviceFoundAdded;
private boolean mNoDeviceFoundAdded;
1.869.2. ProgressCategoryMethod方法列表
1.869.2.1. setEmptyTextRes(int emptyTextRes)
public void setEmptyTextRes(int emptyTextRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEmptyTextRes", "int emptyTextRes"));
1.869.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.869.2.3. setProgress(boolean progressOn)
public void setProgress(boolean progressOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "boolean progressOn"));
1.870. ProgressCategoryBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ProgressCategoryBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.870.1. ProgressCategoryBase Field属性列表
1.870.2. ProgressCategoryBaseMethod方法列表
1.870.2.1. abstract setProgress(boolean progressOn)
public abstract void setProgress(boolean progressOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "boolean progressOn"));
1.871. ProviderPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/ProviderPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.871.1. ProviderPreference Field属性列表
1.871.1.1. String mAccountType;
private String mAccountType;
1.871.2. ProviderPreferenceMethod方法列表
1.871.2.1. getAccountType()
public String getAccountType()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAccountType", ""));
1.871.2.2. checkAccountManagementAndSetDisabled(int userId)
public void checkAccountManagementAndSetDisabled(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkAccountManagementAndSetDisabled", "int userId"));
1.872. ProxyPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/ProxyPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.872.1. ProxyPreferenceController Field属性列表
1.872.1.1. static final String KEY_PROXY_SETTINGS
private static final String KEY_PROXY_SETTINGS = "proxy_settings";
1.872.2. ProxyPreferenceControllerMethod方法列表
1.872.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.872.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.872.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.873. ProxySelector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ProxySelector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.873.1. ProxySelector Field属性列表
1.873.1.1. EditText mHostnameField;
EditText mHostnameField;
1.873.1.2. EditText mPortField;
EditText mPortField;
1.873.1.3. EditText mExclusionListField;
EditText mExclusionListField;
1.873.1.4. Button mOKButton;
Button mOKButton;
1.873.1.5. Button mClearButton;
Button mClearButton;
1.873.1.6. Button mDefaultButton;
Button mDefaultButton;
1.873.1.7. SettingsDialogFragment mDialogFragment;
private SettingsDialogFragment mDialogFragment;
1.873.1.8. View mView;
private View mView;
1.873.1.9. OnClickListener mOKHandler
OnClickListener mOKHandler = new OnClickListener() {
public void onClick(View v) {
if (saveToDb()) {
getActivity().onBackPressed();
}
}
};
1.873.1.10. OnClickListener mClearHandler
OnClickListener mClearHandler = new OnClickListener() {
public void onClick(View v) {
mHostnameField.setText("");
mPortField.setText("");
mExclusionListField.setText("");
}
};
1.873.1.11. OnClickListener mDefaultHandler
OnClickListener mDefaultHandler = new OnClickListener() {
public void onClick(View v) {
// TODO: populate based on connection status
populateFields();
}
};
1.873.1.12. OnFocusChangeListener mOnFocusChangeHandler
OnFocusChangeListener mOnFocusChangeHandler = new OnFocusChangeListener() {
public void onFocusChange(View v, boolean hasFocus) {
if (hasFocus) {
TextView textView = (TextView) v;
Selection.selectAll((Spannable) textView.getText());
}
}
};
1.873.1.13. static final String TAG
private static final String TAG = "ProxySelector";
1.873.1.14. static final int ERROR_DIALOG_ID
private static final int ERROR_DIALOG_ID = 0;
1.873.2. ProxySelectorMethod方法列表
1.873.2.1. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.873.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.873.2.3. onCreateDialog(int id)
public Dialog onCreateDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int id"));
1.873.2.4. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.873.2.5. showDialog(int dialogId)
private void showDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialog", "int dialogId"));
1.873.2.6. initView(View view)
private void initView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initView", "View view"));
1.873.2.7. populateFields()
void populateFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateFields", ""));
1.873.2.8. saveToDb()
boolean saveToDb()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"saveToDb", ""));
1.873.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.873.2.10. static validate(String hostname,String port,String exclList)
public static int validate(String hostname, String port, String exclList)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"validate", "String hostname,String port,String exclList"));
1.874. PublicVolumeSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/PublicVolumeSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.874.1. PublicVolumeSettings Field属性列表
1.874.1.1. StorageManager mStorageManager;
// TODO: disable unmount when providing over MTP/PTP
private StorageManager mStorageManager;
1.874.1.2. String mVolumeId;
private String mVolumeId;
1.874.1.3. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.874.1.4. DiskInfo mDisk;
private DiskInfo mDisk;
1.874.1.5. StorageSummaryPreference mSummary;
private StorageSummaryPreference mSummary;
1.874.1.6. Preference mMount;
private Preference mMount;
1.874.1.7. Preference mFormatPublic;
private Preference mFormatPublic;
1.874.1.8. Preference mFormatPrivate;
private Preference mFormatPrivate;
1.874.1.9. Button mUnmount;
private Button mUnmount;
1.874.1.10. boolean mIsPermittedToAdopt;
private boolean mIsPermittedToAdopt;
1.874.1.11. final View.OnClickListener mUnmountListener
private final View.OnClickListener mUnmountListener = new View.OnClickListener() {
@Override
public void onClick(View v) {
new UnmountTask(getActivity(), mVolume).execute();
}
};
1.874.1.12. final StorageEventListener mStorageListener
private final StorageEventListener mStorageListener = new StorageEventListener() {
@Override
public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) {
if (Objects.equals(mVolume.getId(), vol.getId())) {
mVolume = vol;
update();
}
}
@Override
public void onVolumeRecordChanged(VolumeRecord rec) {
if (Objects.equals(mVolume.getFsUuid(), rec.getFsUuid())) {
mVolume = mStorageManager.findVolumeById(mVolumeId);
update();
}
}
};
1.874.2. PublicVolumeSettingsMethod方法列表
1.874.2.1. isVolumeValid()
private boolean isVolumeValid()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVolumeValid", ""));
1.874.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.874.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.874.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.874.2.5. update()
public void update()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", ""));
1.874.2.6. addPreference(Preference pref)
private void addPreference(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreference", "Preference pref"));
1.874.2.7. buildAction(int titleRes)
private Preference buildAction(int titleRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"buildAction", "int titleRes"));
1.874.2.8. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.874.2.9. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.874.2.10. onPreferenceTreeClick(Preference pref)
public boolean onPreferenceTreeClick(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference pref"));
1.875. PulseNotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/PulseNotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.875.1. PulseNotificationPreferenceController Field属性列表
1.875.1.1. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.875.1.2. static final String TAG
private static final String TAG = "PulseNotifPrefContr";
1.875.1.3. static final String KEY_NOTIFICATION_PULSE
private static final String KEY_NOTIFICATION_PULSE = "notification_pulse";
1.875.2. PulseNotificationPreferenceControllerMethod方法列表
1.875.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.875.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.875.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.875.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.875.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.875.2.6. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.875.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.876. RadioButtonPickerFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/RadioButtonPickerFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.876.1. RadioButtonPickerFragment Field属性列表
1.876.1.1. UserManager mUserManager;
protected UserManager mUserManager;
1.876.1.2. int mUserId;
protected int mUserId;
1.876.1.3. final Map mCandidates
private final Map mCandidates = new ArrayMap<>();
1.876.1.4. static final @VisibleForTesting(otherwise
@VisibleForTesting(otherwise = VisibleForTesting.PRIVATE)
static final String EXTRA_FOR_WORK = "for_work";
1.876.2. RadioButtonPickerFragmentMethod方法列表
1.876.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.876.2.2. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.876.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.876.2.4. onRadioButtonClicked(RadioButtonPreference selected)
public void onRadioButtonClicked(RadioButtonPreference selected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference selected"));
1.876.2.5. onSelectionPerformed(boolean success)
protected void onSelectionPerformed(boolean success)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSelectionPerformed", "boolean success"));
1.876.2.6. shouldShowItemNone()
protected boolean shouldShowItemNone()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowItemNone", ""));
1.876.2.7. addStaticPreferences(PreferenceScreen screen)
protected void addStaticPreferences(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addStaticPreferences", "PreferenceScreen screen"));
1.876.2.8. getCandidate(String key)
protected CandidateInfo getCandidate(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"CandidateInfo" ,"getCandidate", "String key"));
1.876.2.9. onRadioButtonConfirmed(String selectedKey)
protected void onRadioButtonConfirmed(String selectedKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonConfirmed", "String selectedKey"));
1.876.2.10. bindPreferenceExtra(RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey,String systemDefaultKey)
public void bindPreferenceExtra(RadioButtonPreference pref, String key, CandidateInfo info, String defaultKey, String systemDefaultKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindPreferenceExtra", "RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey,String systemDefaultKey"));
1.876.2.11. updateCandidates()
public void updateCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCandidates", ""));
1.876.2.12. bindPreference(RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey)
public RadioButtonPreference bindPreference(RadioButtonPreference pref, String key, CandidateInfo info, String defaultKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"RadioButtonPreference" ,"bindPreference", "RadioButtonPreference pref,String key,CandidateInfo info,String defaultKey"));
1.876.2.13. updateCheckedState(String selectedKey)
public void updateCheckedState(String selectedKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCheckedState", "String selectedKey"));
1.876.2.14. mayCheckOnlyRadioButton()
public void mayCheckOnlyRadioButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"mayCheckOnlyRadioButton", ""));
1.876.2.15. getSystemDefaultKey()
protected String getSystemDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSystemDefaultKey", ""));
1.876.2.16. getRadioButtonPreferenceCustomLayoutResId()
protected int getRadioButtonPreferenceCustomLayoutResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRadioButtonPreferenceCustomLayoutResId", ""));
1.876.2.17. abstract getPreferenceScreenResId()
protected abstract int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.876.2.18. abstract getCandidates()
protected abstract List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.876.2.19. abstract getDefaultKey()
protected abstract String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.876.2.20. abstract setDefaultKey(String key)
protected abstract boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.877. RadioButtonPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/RadioButtonPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.877.1. RadioButtonPreference Field属性列表
1.877.1.1. OnClickListener mListener
private OnClickListener mListener = null;
1.877.2. RadioButtonPreferenceMethod方法列表
1.877.2.1. setOnClickListener(OnClickListener listener)
public void setOnClickListener(OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnClickListener", "OnClickListener listener"));
1.877.2.2. onClick()
public void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.877.2.3. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.878. RadioInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RadioInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.878.1. RadioInfo Field属性列表
1.878.1.1. TextView mDeviceId;
//DeviceId is the IMEI in GSM and the MEID in CDMA
private TextView mDeviceId;
1.878.1.2. TextView number;
private TextView number;
1.878.1.3. TextView mSubscriberId;
private TextView mSubscriberId;
1.878.1.4. TextView callState;
private TextView callState;
1.878.1.5. TextView operatorName;
private TextView operatorName;
1.878.1.6. TextView roamingState;
private TextView roamingState;
1.878.1.7. TextView gsmState;
private TextView gsmState;
1.878.1.8. TextView gprsState;
private TextView gprsState;
1.878.1.9. TextView voiceNetwork;
private TextView voiceNetwork;
1.878.1.10. TextView dataNetwork;
private TextView dataNetwork;
1.878.1.11. TextView dBm;
private TextView dBm;
1.878.1.12. TextView mMwi;
private TextView mMwi;
1.878.1.13. TextView mCfi;
private TextView mCfi;
1.878.1.14. TextView mLocation;
private TextView mLocation;
1.878.1.15. TextView mNeighboringCids;
private TextView mNeighboringCids;
1.878.1.16. TextView mCellInfo;
private TextView mCellInfo;
1.878.1.17. TextView mDcRtInfoTv;
private TextView mDcRtInfoTv;
1.878.1.18. TextView sent;
private TextView sent;
1.878.1.19. TextView received;
private TextView received;
1.878.1.20. TextView mPingHostnameV4;
private TextView mPingHostnameV4;
1.878.1.21. TextView mPingHostnameV6;
private TextView mPingHostnameV6;
1.878.1.22. TextView mHttpClientTest;
private TextView mHttpClientTest;
1.878.1.23. TextView mPhyChanConfig;
private TextView mPhyChanConfig;
1.878.1.24. TextView dnsCheckState;
private TextView dnsCheckState;
1.878.1.25. TextView mDownlinkKbps;
private TextView mDownlinkKbps;
1.878.1.26. TextView mUplinkKbps;
private TextView mUplinkKbps;
1.878.1.27. EditText smsc;
private EditText smsc;
1.878.1.28. Switch radioPowerOnSwitch;
private Switch radioPowerOnSwitch;
1.878.1.29. Button cellInfoRefreshRateButton;
private Button cellInfoRefreshRateButton;
1.878.1.30. Button dnsCheckToggleButton;
private Button dnsCheckToggleButton;
1.878.1.31. Button pingTestButton;
private Button pingTestButton;
1.878.1.32. Button updateSmscButton;
private Button updateSmscButton;
1.878.1.33. Button refreshSmscButton;
private Button refreshSmscButton;
1.878.1.34. Button oemInfoButton;
private Button oemInfoButton;
1.878.1.35. Button carrierProvisioningButton;
private Button carrierProvisioningButton;
1.878.1.36. Button triggercarrierProvisioningButton;
private Button triggercarrierProvisioningButton;
1.878.1.37. Switch imsVolteProvisionedSwitch;
private Switch imsVolteProvisionedSwitch;
1.878.1.38. Switch imsVtProvisionedSwitch;
private Switch imsVtProvisionedSwitch;
1.878.1.39. Switch imsWfcProvisionedSwitch;
private Switch imsWfcProvisionedSwitch;
1.878.1.40. Switch eabProvisionedSwitch;
private Switch eabProvisionedSwitch;
1.878.1.41. Spinner preferredNetworkType;
private Spinner preferredNetworkType;
1.878.1.42. Spinner cellInfoRefreshRateSpinner;
private Spinner cellInfoRefreshRateSpinner;
1.878.1.43. ConnectivityManager mConnectivityManager;
private ConnectivityManager mConnectivityManager;
1.878.1.44. TelephonyManager mTelephonyManager;
private TelephonyManager mTelephonyManager;
1.878.1.45. ImsManager mImsManager
private ImsManager mImsManager = null;
1.878.1.46. Phone phone
private Phone phone = null;
1.878.1.47. String mPingHostnameResultV4;
private String mPingHostnameResultV4;
1.878.1.48. String mPingHostnameResultV6;
private String mPingHostnameResultV6;
1.878.1.49. String mHttpClientTestResult;
private String mHttpClientTestResult;
1.878.1.50. boolean mMwiValue
private boolean mMwiValue = false;
1.878.1.51. boolean mCfiValue
private boolean mCfiValue = false;
1.878.1.52. List mCellInfoResult
private List mCellInfoResult = null;
1.878.1.53. CellLocation mCellLocationResult
private CellLocation mCellLocationResult = null;
1.878.1.54. List mNeighboringCellResult
private List mNeighboringCellResult = null;
1.878.1.55. int mPreferredNetworkTypeResult;
private int mPreferredNetworkTypeResult;
1.878.1.56. int mCellInfoRefreshRateIndex;
private int mCellInfoRefreshRateIndex;
1.878.1.57. Handler mHandler
private Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
AsyncResult ar;
switch(msg.what) {
case EVENT_QUERY_PREFERRED_TYPE_DONE:
ar = (AsyncResult) msg.obj;
if (ar.exception == null && ar.result != null) {
updatePreferredNetworkType(((int[]) ar.result)[0]);
} else {
//In case of an exception, we will set this to unknown
updatePreferredNetworkType(mPreferredNetworkLabels.length - 1);
}
break;
case EVENT_SET_PREFERRED_TYPE_DONE:
ar = (AsyncResult) msg.obj;
if (ar.exception != null) {
log("Set preferred network type failed.");
}
break;
case EVENT_QUERY_SMSC_DONE:
ar = (AsyncResult) msg.obj;
if (ar.exception != null) {
smsc.setText("refresh error");
} else {
smsc.setText((String) ar.result);
}
break;
case EVENT_UPDATE_SMSC_DONE:
updateSmscButton.setEnabled(true);
ar = (AsyncResult) msg.obj;
if (ar.exception != null) {
smsc.setText("update error");
}
break;
default:
super.handleMessage(msg);
break;
}
}
};
1.878.1.58. MenuItem.OnMenuItemClickListener mViewADNCallback
private MenuItem.OnMenuItemClickListener mViewADNCallback = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
Intent intent = new Intent(Intent.ACTION_VIEW);
// XXX We need to specify the component here because if we don't
// the activity manager will try to resolve the type by calling
// the content provider, which causes it to be loaded in a process
// other than the Dialer process, which causes a lot of stuff to
// break.
intent.setClassName("com.android.phone", "com.android.phone.SimContacts");
startActivity(intent);
return true;
}
};
1.878.1.59. MenuItem.OnMenuItemClickListener mViewFDNCallback
private MenuItem.OnMenuItemClickListener mViewFDNCallback = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
Intent intent = new Intent(Intent.ACTION_VIEW);
// XXX We need to specify the component here because if we don't
// the activity manager will try to resolve the type by calling
// the content provider, which causes it to be loaded in a process
// other than the Dialer process, which causes a lot of stuff to
// break.
intent.setClassName("com.android.phone", "com.android.phone.settings.fdn.FdnList");
startActivity(intent);
return true;
}
};
1.878.1.60. MenuItem.OnMenuItemClickListener mViewSDNCallback
private MenuItem.OnMenuItemClickListener mViewSDNCallback = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("content://icc/sdn"));
// XXX We need to specify the component here because if we don't
// the activity manager will try to resolve the type by calling
// the content provider, which causes it to be loaded in a process
// other than the Dialer process, which causes a lot of stuff to
// break.
intent.setClassName("com.android.phone", "com.android.phone.ADNList");
startActivity(intent);
return true;
}
};
1.878.1.61. MenuItem.OnMenuItemClickListener mGetImsStatus
private MenuItem.OnMenuItemClickListener mGetImsStatus = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
boolean isImsRegistered = phone.isImsRegistered();
boolean availableVolte = phone.isVolteEnabled();
boolean availableWfc = phone.isWifiCallingEnabled();
boolean availableVt = phone.isVideoEnabled();
boolean availableUt = phone.isUtEnabled();
final String imsRegString = isImsRegistered ? getString(R.string.radio_info_ims_reg_status_registered) : getString(R.string.radio_info_ims_reg_status_not_registered);
final String available = getString(R.string.radio_info_ims_feature_status_available);
final String unavailable = getString(R.string.radio_info_ims_feature_status_unavailable);
String imsStatus = getString(R.string.radio_info_ims_reg_status, imsRegString, availableVolte ? available : unavailable, availableWfc ? available : unavailable, availableVt ? available : unavailable, availableUt ? available : unavailable);
AlertDialog imsDialog = new AlertDialog.Builder(RadioInfo.this).setMessage(imsStatus).setTitle(getString(R.string.radio_info_ims_reg_status_title)).create();
imsDialog.show();
return true;
}
};
1.878.1.62. MenuItem.OnMenuItemClickListener mSelectBandCallback
private MenuItem.OnMenuItemClickListener mSelectBandCallback = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
Intent intent = new Intent();
intent.setClass(RadioInfo.this, BandMode.class);
startActivity(intent);
return true;
}
};
1.878.1.63. MenuItem.OnMenuItemClickListener mToggleData
private MenuItem.OnMenuItemClickListener mToggleData = new MenuItem.OnMenuItemClickListener() {
public boolean onMenuItemClick(MenuItem item) {
int state = mTelephonyManager.getDataState();
switch(state) {
case TelephonyManager.DATA_CONNECTED:
//FIXME: Replace with a TelephonyManager call
phone.setUserDataEnabled(false);
break;
case TelephonyManager.DATA_DISCONNECTED:
//FIXME: Replace with a TelephonyManager call
phone.setUserDataEnabled(true);
break;
default:
// do nothing
break;
}
return true;
}
};
1.878.1.64. OnCheckedChangeListener mRadioPowerOnChangeListener
OnCheckedChangeListener mRadioPowerOnChangeListener = new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
log("toggle radio power: currently " + (isRadioOn() ? "on" : "off"));
phone.setRadioPower(isChecked);
}
};
1.878.1.65. OnCheckedChangeListener mImsVolteCheckedChangeListener
OnCheckedChangeListener mImsVolteCheckedChangeListener = new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
setImsVolteProvisionedState(isChecked);
}
};
1.878.1.66. OnCheckedChangeListener mImsVtCheckedChangeListener
OnCheckedChangeListener mImsVtCheckedChangeListener = new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
setImsVtProvisionedState(isChecked);
}
};
1.878.1.67. OnCheckedChangeListener mImsWfcCheckedChangeListener
OnCheckedChangeListener mImsWfcCheckedChangeListener = new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
setImsWfcProvisionedState(isChecked);
}
};
1.878.1.68. OnCheckedChangeListener mEabCheckedChangeListener
OnCheckedChangeListener mEabCheckedChangeListener = new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
setEabProvisionedState(isChecked);
}
};
1.878.1.69. OnClickListener mDnsCheckButtonHandler
OnClickListener mDnsCheckButtonHandler = new OnClickListener() {
public void onClick(View v) {
//FIXME: Replace with a TelephonyManager call
phone.disableDnsCheck(!phone.isDnsCheckDisabled());
updateDnsCheckState();
}
};
1.878.1.70. OnClickListener mOemInfoButtonHandler
OnClickListener mOemInfoButtonHandler = new OnClickListener() {
public void onClick(View v) {
Intent intent = new Intent("com.android.settings.OEM_RADIO_INFO");
try {
startActivity(intent);
} catch (android.content.ActivityNotFoundException ex) {
log("OEM-specific Info/Settings Activity Not Found : " + ex);
// If the activity does not exist, there are no OEM
// settings, and so we can just do nothing...
}
}
};
1.878.1.71. OnClickListener mPingButtonHandler
OnClickListener mPingButtonHandler = new OnClickListener() {
public void onClick(View v) {
updatePingState();
}
};
1.878.1.72. OnClickListener mUpdateSmscButtonHandler
OnClickListener mUpdateSmscButtonHandler = new OnClickListener() {
public void onClick(View v) {
updateSmscButton.setEnabled(false);
phone.setSmscAddress(smsc.getText().toString(), mHandler.obtainMessage(EVENT_UPDATE_SMSC_DONE));
}
};
1.878.1.73. OnClickListener mRefreshSmscButtonHandler
OnClickListener mRefreshSmscButtonHandler = new OnClickListener() {
public void onClick(View v) {
refreshSmsc();
}
};
1.878.1.74. OnClickListener mCarrierProvisioningButtonHandler
OnClickListener mCarrierProvisioningButtonHandler = new OnClickListener() {
public void onClick(View v) {
final Intent intent = new Intent("com.android.settings.CARRIER_PROVISIONING");
final ComponentName serviceComponent = ComponentName.unflattenFromString("com.android.omadm.service/.DMIntentReceiver");
intent.setComponent(serviceComponent);
sendBroadcast(intent);
}
};
1.878.1.75. OnClickListener mTriggerCarrierProvisioningButtonHandler
OnClickListener mTriggerCarrierProvisioningButtonHandler = new OnClickListener() {
public void onClick(View v) {
final Intent intent = new Intent("com.android.settings.TRIGGER_CARRIER_PROVISIONING");
final ComponentName serviceComponent = ComponentName.unflattenFromString("com.android.omadm.service/.DMIntentReceiver");
intent.setComponent(serviceComponent);
sendBroadcast(intent);
}
};
1.878.1.76. AdapterView.OnItemSelectedListener mPreferredNetworkHandler
AdapterView.OnItemSelectedListener mPreferredNetworkHandler = new AdapterView.OnItemSelectedListener() {
public void onItemSelected(AdapterView parent, View v, int pos, long id) {
if (mPreferredNetworkTypeResult != pos && pos >= 0 && pos <= mPreferredNetworkLabels.length - 2) {
mPreferredNetworkTypeResult = pos;
// TODO: Possibly migrate this to TelephonyManager.setPreferredNetworkType()
// which today still has some issues (mostly that the "set" is conditional
// on a successful modem call, which is not what we want). Instead we always
// want this setting to be set, so that if the radio hiccups and this setting
// is for some reason unsuccessful, future calls to the radio will reflect
// the users's preference which is set here.
final int subId = phone.getSubId();
if (SubscriptionManager.isUsableSubIdValue(subId)) {
Settings.Global.putInt(phone.getContext().getContentResolver(), PREFERRED_NETWORK_MODE + subId, mPreferredNetworkTypeResult);
}
log("Calling setPreferredNetworkType(" + mPreferredNetworkTypeResult + ")");
Message msg = mHandler.obtainMessage(EVENT_SET_PREFERRED_TYPE_DONE);
phone.setPreferredNetworkType(mPreferredNetworkTypeResult, msg);
}
}
public void onNothingSelected(AdapterView parent) {
}
};
1.878.1.77. AdapterView.OnItemSelectedListener mCellInfoRefreshRateHandler
AdapterView.OnItemSelectedListener mCellInfoRefreshRateHandler = new AdapterView.OnItemSelectedListener() {
public void onItemSelected(AdapterView parent, View v, int pos, long id) {
mCellInfoRefreshRateIndex = pos;
mTelephonyManager.setCellInfoListRate(mCellInfoRefreshRates[pos]);
updateAllCellInfo();
}
public void onNothingSelected(AdapterView parent) {
}
};
1.878.1.78. final NetworkRequest mDefaultNetworkRequest
private final NetworkRequest mDefaultNetworkRequest = new NetworkRequest.Builder().addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR).addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET).build();
1.878.1.79. final NetworkCallback mNetworkCallback
private final NetworkCallback mNetworkCallback = new NetworkCallback() {
public void onCapabilitiesChanged(Network n, NetworkCapabilities nc) {
int dlbw = nc.getLinkDownstreamBandwidthKbps();
int ulbw = nc.getLinkUpstreamBandwidthKbps();
updateBandwidths(dlbw, ulbw);
}
};
1.878.1.80. final PhoneStateListener mPhoneStateListener
private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
@Override
public void onDataConnectionStateChanged(int state) {
updateDataState();
updateNetworkType();
}
@Override
public void onDataActivity(int direction) {
updateDataStats2();
}
@Override
public void onCallStateChanged(int state, String incomingNumber) {
updateNetworkType();
updatePhoneState(state);
}
@Override
public void onPreciseCallStateChanged(PreciseCallState preciseState) {
updateNetworkType();
}
@Override
public void onCellLocationChanged(CellLocation location) {
updateLocation(location);
}
@Override
public void onMessageWaitingIndicatorChanged(boolean mwi) {
mMwiValue = mwi;
updateMessageWaiting();
}
@Override
public void onCallForwardingIndicatorChanged(boolean cfi) {
mCfiValue = cfi;
updateCallRedirect();
}
@Override
public void onCellInfoChanged(List arrayCi) {
log("onCellInfoChanged: arrayCi=" + arrayCi);
mCellInfoResult = arrayCi;
updateCellInfo(mCellInfoResult);
}
@Override
public void onDataConnectionRealTimeInfoChanged(DataConnectionRealTimeInfo dcRtInfo) {
log("onDataConnectionRealTimeInfoChanged: dcRtInfo=" + dcRtInfo);
updateDcRtInfoTv(dcRtInfo);
}
@Override
public void onSignalStrengthsChanged(SignalStrength signalStrength) {
log("onSignalStrengthChanged: SignalStrength=" + signalStrength);
updateSignalStrength(signalStrength);
}
@Override
public void onServiceStateChanged(ServiceState serviceState) {
log("onServiceStateChanged: ServiceState=" + serviceState);
updateServiceState(serviceState);
updateRadioPowerState();
updateNetworkType();
updateImsProvisionedState();
}
@Override
public void onPhysicalChannelConfigurationChanged(List configs) {
updatePhysicalChannelConfiguration(configs);
}
};
1.878.1.81. static final String TAG
private static final String TAG = "RadioInfo";
1.878.1.82. static final String[] mPreferredNetworkLabels
private static final String[] mPreferredNetworkLabels = { "WCDMA preferred", "GSM only", "WCDMA only", "GSM auto (PRL)", "CDMA auto (PRL)", "CDMA only", "EvDo only", "Global auto (PRL)", "LTE/CDMA auto (PRL)", "LTE/UMTS auto (PRL)", "LTE/CDMA/UMTS auto (PRL)", "LTE only", "LTE/WCDMA", "TD-SCDMA only", "TD-SCDMA/WCDMA", "LTE/TD-SCDMA", "TD-SCDMA/GSM", "TD-SCDMA/UMTS", "LTE/TD-SCDMA/WCDMA", "LTE/TD-SCDMA/UMTS", "TD-SCDMA/CDMA/UMTS", "Global/TD-SCDMA", "Unknown" };
1.878.1.83. static final int CELL_INFO_LIST_RATE_DISABLED
private static final int CELL_INFO_LIST_RATE_DISABLED = Integer.MAX_VALUE;
1.878.1.84. static final int CELL_INFO_LIST_RATE_MAX
private static final int CELL_INFO_LIST_RATE_MAX = 0;
1.878.1.85. static final int IMS_VOLTE_PROVISIONED_CONFIG_ID
private static final int IMS_VOLTE_PROVISIONED_CONFIG_ID = ImsConfig.ConfigConstants.VLT_SETTING_ENABLED;
1.878.1.86. static final int IMS_VT_PROVISIONED_CONFIG_ID
private static final int IMS_VT_PROVISIONED_CONFIG_ID = ImsConfig.ConfigConstants.LVC_SETTING_ENABLED;
1.878.1.87. static final int IMS_WFC_PROVISIONED_CONFIG_ID
private static final int IMS_WFC_PROVISIONED_CONFIG_ID = ImsConfig.ConfigConstants.VOICE_OVER_WIFI_SETTING_ENABLED;
1.878.1.88. static final int EAB_PROVISIONED_CONFIG_ID
private static final int EAB_PROVISIONED_CONFIG_ID = ImsConfig.ConfigConstants.EAB_SETTING_ENABLED;
1.878.1.89. static final String[] mCellInfoRefreshRateLabels
//Values in must match mCellInfoRefreshRates
private static final String[] mCellInfoRefreshRateLabels = { "Disabled", "Immediate", "Min 5s", "Min 10s", "Min 60s" };
1.878.1.90. static final int[] mCellInfoRefreshRates
//Values in seconds, must match mCellInfoRefreshRateLabels
private static final int[] mCellInfoRefreshRates = { CELL_INFO_LIST_RATE_DISABLED, CELL_INFO_LIST_RATE_MAX, 5000, 10000, 60000 };
1.878.1.91. static final int EVENT_CFI_CHANGED
private static final int EVENT_CFI_CHANGED = 302;
1.878.1.92. static final int EVENT_QUERY_PREFERRED_TYPE_DONE
private static final int EVENT_QUERY_PREFERRED_TYPE_DONE = 1000;
1.878.1.93. static final int EVENT_SET_PREFERRED_TYPE_DONE
private static final int EVENT_SET_PREFERRED_TYPE_DONE = 1001;
1.878.1.94. static final int EVENT_QUERY_SMSC_DONE
private static final int EVENT_QUERY_SMSC_DONE = 1005;
1.878.1.95. static final int EVENT_UPDATE_SMSC_DONE
private static final int EVENT_UPDATE_SMSC_DONE = 1006;
1.878.1.96. static final int MENU_ITEM_SELECT_BAND
private static final int MENU_ITEM_SELECT_BAND = 0;
1.878.1.97. static final int MENU_ITEM_VIEW_ADN
private static final int MENU_ITEM_VIEW_ADN = 1;
1.878.1.98. static final int MENU_ITEM_VIEW_FDN
private static final int MENU_ITEM_VIEW_FDN = 2;
1.878.1.99. static final int MENU_ITEM_VIEW_SDN
private static final int MENU_ITEM_VIEW_SDN = 3;
1.878.1.100. static final int MENU_ITEM_GET_IMS_STATUS
private static final int MENU_ITEM_GET_IMS_STATUS = 4;
1.878.1.101. static final int MENU_ITEM_TOGGLE_DATA
private static final int MENU_ITEM_TOGGLE_DATA = 5;
1.878.2. RadioInfoMethod方法列表
1.878.2.1. log(String s)
private void log(String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "String s"));
1.878.2.2. updatePhysicalChannelConfiguration(List configs)
private void updatePhysicalChannelConfiguration(List configs)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePhysicalChannelConfiguration", "List configs"));
1.878.2.3. updatePreferredNetworkType(int type)
private void updatePreferredNetworkType(int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferredNetworkType", "int type"));
1.878.2.4. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.878.2.5. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.878.2.6. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.878.2.7. restoreFromBundle(Bundle b)
private void restoreFromBundle(Bundle b)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreFromBundle", "Bundle b"));
1.878.2.8. onSaveInstanceState(Bundle outState)
protected void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.878.2.9. onCreateOptionsMenu(Menu menu)
public boolean onCreateOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onCreateOptionsMenu", "Menu menu"));
1.878.2.10. onPrepareOptionsMenu(Menu menu)
public boolean onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPrepareOptionsMenu", "Menu menu"));
1.878.2.11. updateDnsCheckState()
private void updateDnsCheckState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDnsCheckState", ""));
1.878.2.12. updateBandwidths(int dlbw,int ulbw)
private void updateBandwidths(int dlbw, int ulbw)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBandwidths", "int dlbw,int ulbw"));
1.878.2.13. httpClientTest()
private void httpClientTest()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"httpClientTest", ""));
1.878.2.14. refreshSmsc()
private void refreshSmsc()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshSmsc", ""));
1.878.2.15. isRadioOn()
private boolean isRadioOn()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRadioOn", ""));
1.878.2.16. updateRadioPowerState()
private void updateRadioPowerState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRadioPowerState", ""));
1.878.2.17. setImsVolteProvisionedState(boolean state)
void setImsVolteProvisionedState(boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setImsVolteProvisionedState", "boolean state"));
1.878.2.18. setImsVtProvisionedState(boolean state)
void setImsVtProvisionedState(boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setImsVtProvisionedState", "boolean state"));
1.878.2.19. setImsWfcProvisionedState(boolean state)
void setImsWfcProvisionedState(boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setImsWfcProvisionedState", "boolean state"));
1.878.2.20. setEabProvisionedState(boolean state)
void setEabProvisionedState(boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEabProvisionedState", "boolean state"));
1.878.2.21. setImsConfigProvisionedState(int configItem,boolean state)
void setImsConfigProvisionedState(int configItem, boolean state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setImsConfigProvisionedState", "int configItem,boolean state"));
1.878.2.22. isImsVolteProvisioned()
private boolean isImsVolteProvisioned()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isImsVolteProvisioned", ""));
1.878.2.23. isImsVtProvisioned()
private boolean isImsVtProvisioned()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isImsVtProvisioned", ""));
1.878.2.24. isImsWfcProvisioned()
private boolean isImsWfcProvisioned()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isImsWfcProvisioned", ""));
1.878.2.25. isEabProvisioned()
private boolean isEabProvisioned()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEabProvisioned", ""));
1.878.2.26. isFeatureProvisioned(int featureId,boolean defaultValue)
private boolean isFeatureProvisioned(int featureId, boolean defaultValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFeatureProvisioned", "int featureId,boolean defaultValue"));
1.878.2.27. updateImsProvisionedState()
private void updateImsProvisionedState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateImsProvisionedState", ""));
1.878.2.28. final updateSignalStrength(SignalStrength signalStrength)
private final void updateSignalStrength(SignalStrength signalStrength)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSignalStrength", "SignalStrength signalStrength"));
1.878.2.29. final updateLocation(CellLocation location)
private final void updateLocation(CellLocation location)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLocation", "CellLocation location"));
1.878.2.30. final updateNeighboringCids(List cids)
private final void updateNeighboringCids(List cids)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNeighboringCids", "List cids"));
1.878.2.31. final getCellInfoDisplayString(int i)
private final String getCellInfoDisplayString(int i)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCellInfoDisplayString", "int i"));
1.878.2.32. final getCellInfoDisplayString(long i)
private final String getCellInfoDisplayString(long i)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCellInfoDisplayString", "long i"));
1.878.2.33. final getConnectionStatusString(CellInfo ci)
private final String getConnectionStatusString(CellInfo ci)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConnectionStatusString", "CellInfo ci"));
1.878.2.34. final buildCdmaInfoString(CellInfoCdma ci)
private final String buildCdmaInfoString(CellInfoCdma ci)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildCdmaInfoString", "CellInfoCdma ci"));
1.878.2.35. final buildGsmInfoString(CellInfoGsm ci)
private final String buildGsmInfoString(CellInfoGsm ci)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildGsmInfoString", "CellInfoGsm ci"));
1.878.2.36. final buildLteInfoString(CellInfoLte ci)
private final String buildLteInfoString(CellInfoLte ci)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildLteInfoString", "CellInfoLte ci"));
1.878.2.37. final buildWcdmaInfoString(CellInfoWcdma ci)
private final String buildWcdmaInfoString(CellInfoWcdma ci)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildWcdmaInfoString", "CellInfoWcdma ci"));
1.878.2.38. final buildCellInfoString(List arrayCi)
private final String buildCellInfoString(List arrayCi)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildCellInfoString", "List arrayCi"));
1.878.2.39. final updateCellInfo(List arrayCi)
private final void updateCellInfo(List arrayCi)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCellInfo", "List arrayCi"));
1.878.2.40. final updateDcRtInfoTv(DataConnectionRealTimeInfo dcRtInfo)
private final void updateDcRtInfoTv(DataConnectionRealTimeInfo dcRtInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDcRtInfoTv", "DataConnectionRealTimeInfo dcRtInfo"));
1.878.2.41. final updateMessageWaiting()
private final void updateMessageWaiting()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateMessageWaiting", ""));
1.878.2.42. final updateCallRedirect()
private final void updateCallRedirect()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCallRedirect", ""));
1.878.2.43. final updateServiceState(ServiceState serviceState)
private final void updateServiceState(ServiceState serviceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateServiceState", "ServiceState serviceState"));
1.878.2.44. final updatePhoneState(int state)
private final void updatePhoneState(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePhoneState", "int state"));
1.878.2.45. final updateDataState()
private final void updateDataState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataState", ""));
1.878.2.46. final updateNetworkType()
private final void updateNetworkType()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNetworkType", ""));
1.878.2.47. final updateProperties()
private final void updateProperties()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateProperties", ""));
1.878.2.48. final updateDataStats2()
private final void updateDataStats2()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataStats2", ""));
1.878.2.49. final pingHostname()
private final void pingHostname()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pingHostname", ""));
1.878.2.50. final updateAllCellInfo()
private final void updateAllCellInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAllCellInfo", ""));
1.878.2.51. final updatePingState()
private final void updatePingState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePingState", ""));
1.878.2.52. static isEabEnabledByPlatform(Context context)
private static boolean isEabEnabledByPlatform(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEabEnabledByPlatform", "Context context"));
1.879. RecentAppsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/RecentAppsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.879.1. RecentAppsPreferenceController Field属性列表
1.879.1.1. Calendar mCal;
private Calendar mCal;
1.879.1.2. List mStats;
private List mStats;
1.879.1.3. PreferenceCategory mCategory;
private PreferenceCategory mCategory;
1.879.1.4. Preference mSeeAllPref;
private Preference mSeeAllPref;
1.879.1.5. Preference mDivider;
private Preference mDivider;
1.879.1.6. boolean mHasRecentApps;
private boolean mHasRecentApps;
1.879.1.7. final Fragment mHost;
private final Fragment mHost;
1.879.1.8. final PackageManager mPm;
private final PackageManager mPm;
1.879.1.9. final UsageStatsManager mUsageStatsManager;
private final UsageStatsManager mUsageStatsManager;
1.879.1.10. final ApplicationsState mApplicationsState;
private final ApplicationsState mApplicationsState;
1.879.1.11. final int mUserId;
private final int mUserId;
1.879.1.12. final IconDrawableFactory mIconDrawableFactory;
private final IconDrawableFactory mIconDrawableFactory;
1.879.1.13. static final String TAG
private static final String TAG = "RecentAppsCtrl";
1.879.1.14. static final String KEY_PREF_CATEGORY
private static final String KEY_PREF_CATEGORY = "recent_apps_category";
1.879.1.15. static final String KEY_DIVIDER
@VisibleForTesting
static final String KEY_DIVIDER = "all_app_info_divider";
1.879.1.16. static final String KEY_SEE_ALL
@VisibleForTesting
static final String KEY_SEE_ALL = "all_app_info";
1.879.1.17. static final int SHOW_RECENT_APP_COUNT
private static final int SHOW_RECENT_APP_COUNT = 5;
1.879.1.18. static final Set SKIP_SYSTEM_PACKAGES
private static final Set SKIP_SYSTEM_PACKAGES = new ArraySet<>();
1.879.2. RecentAppsPreferenceControllerMethod方法列表
1.879.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.879.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.879.2.3. updateNonIndexableKeys(List keys)
public void updateNonIndexableKeys(List keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNonIndexableKeys", "List keys"));
1.879.2.4. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.879.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.879.2.6. refreshUi(Context prefContext)
void refreshUi(Context prefContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "Context prefContext"));
1.879.2.7. reloadData()
void reloadData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadData", ""));
1.879.2.8. displayOnlyAppInfo()
private void displayOnlyAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayOnlyAppInfo", ""));
1.879.2.9. displayRecentApps(Context prefContext,List recentApps)
private void displayRecentApps(Context prefContext, List recentApps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayRecentApps", "Context prefContext,List recentApps"));
1.879.2.10. getDisplayableRecentAppList()
private List getDisplayableRecentAppList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getDisplayableRecentAppList", ""));
1.879.2.11. shouldIncludePkgInRecents(UsageStats stat)
private boolean shouldIncludePkgInRecents(UsageStats stat)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldIncludePkgInRecents", "UsageStats stat"));
1.879.2.12. final compare(UsageStats a,UsageStats b)
public final int compare(UsageStats a, UsageStats b)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compare", "UsageStats a,UsageStats b"));
1.880. RecentLocationRequestPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/RecentLocationRequestPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.880.1. RecentLocationRequestPreferenceController Field属性列表
1.880.1.1. PreferenceCategory mCategoryRecentLocationRequests;
private PreferenceCategory mCategoryRecentLocationRequests;
1.880.1.2. Preference mSeeAllButton;
private Preference mSeeAllButton;
1.880.1.3. final LocationSettings mFragment;
private final LocationSettings mFragment;
1.880.1.4. final RecentLocationApps mRecentLocationApps;
private final RecentLocationApps mRecentLocationApps;
1.880.1.5. static final String KEY_RECENT_LOCATION_REQUESTS
/** Key for preference category "Recent location requests" */
private static final String KEY_RECENT_LOCATION_REQUESTS = "recent_location_requests";
1.880.1.6. static final String KEY_SEE_ALL_BUTTON
@VisibleForTesting
static final String KEY_SEE_ALL_BUTTON = "recent_location_requests_see_all_button";
1.880.2. RecentLocationRequestPreferenceControllerMethod方法列表
1.880.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.880.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.880.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.880.2.4. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.880.2.5. createAppPreference(Context prefContext)
AppPreference createAppPreference(Context prefContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppPreference" ,"createAppPreference", "Context prefContext"));
1.880.2.6. createAppPreference(Context prefContext,RecentLocationApps.Request request)
AppPreference createAppPreference(Context prefContext, RecentLocationApps.Request request)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppPreference" ,"createAppPreference", "Context prefContext,RecentLocationApps.Request request"));
1.881. RecentLocationRequestSeeAllFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/RecentLocationRequestSeeAllFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.881.1. RecentLocationRequestSeeAllFragment Field属性列表
1.881.1.1. static final String TAG
private static final String TAG = "RecentLocationReqAll";
1.881.1.2. static final String PATH
public static final String PATH = "com.android.settings.location.RecentLocationRequestSeeAllFragment";
1.881.1.3. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.location_recent_requests_see_all;
return Arrays.asList(sir);
}
@Override
public List getPreferenceControllers(Context context) {
return buildPreferenceControllers(context, /* lifecycle = */
null, /* fragment = */
null);
}
};
1.881.2. RecentLocationRequestSeeAllFragmentMethod方法列表
1.881.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.881.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.881.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.881.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.881.2.5. static buildPreferenceControllers(Context context,Lifecycle lifecycle,RecentLocationRequestSeeAllFragment fragment)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle, RecentLocationRequestSeeAllFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle,RecentLocationRequestSeeAllFragment fragment"));
1.882. RecentLocationRequestSeeAllPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/RecentLocationRequestSeeAllPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.882.1. RecentLocationRequestSeeAllPreferenceController Field属性列表
1.882.1.1. PreferenceCategory mCategoryAllRecentLocationRequests;
private PreferenceCategory mCategoryAllRecentLocationRequests;
1.882.1.2. RecentLocationApps mRecentLocationApps;
private RecentLocationApps mRecentLocationApps;
1.882.1.3. final RecentLocationRequestSeeAllFragment mFragment;
private final RecentLocationRequestSeeAllFragment mFragment;
1.882.1.4. static final String KEY_ALL_RECENT_LOCATION_REQUESTS
/** Key for preference category "All recent location requests" */
private static final String KEY_ALL_RECENT_LOCATION_REQUESTS = "all_recent_location_requests";
1.882.2. RecentLocationRequestSeeAllPreferenceControllerMethod方法列表
1.882.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.882.2.2. onLocationModeChanged(int mode,boolean restricted)
public void onLocationModeChanged(int mode, boolean restricted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLocationModeChanged", "int mode,boolean restricted"));
1.882.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.882.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.882.2.5. createAppPreference(Context prefContext,RecentLocationApps.Request request)
AppPreference createAppPreference(Context prefContext, RecentLocationApps.Request request)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppPreference" ,"createAppPreference", "Context prefContext,RecentLocationApps.Request request"));
1.883. RecentNotifyingAppsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/RecentNotifyingAppsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.883.1. RecentNotifyingAppsPreferenceController Field属性列表
1.883.1.1. List mApps;
private List mApps;
1.883.1.2. PreferenceCategory mCategory;
private PreferenceCategory mCategory;
1.883.1.3. Preference mSeeAllPref;
private Preference mSeeAllPref;
1.883.1.4. Preference mDivider;
private Preference mDivider;
1.883.1.5. final Fragment mHost;
private final Fragment mHost;
1.883.1.6. final PackageManager mPm;
private final PackageManager mPm;
1.883.1.7. final NotificationBackend mNotificationBackend;
private final NotificationBackend mNotificationBackend;
1.883.1.8. final int mUserId;
private final int mUserId;
1.883.1.9. final IconDrawableFactory mIconDrawableFactory;
private final IconDrawableFactory mIconDrawableFactory;
1.883.1.10. final ApplicationsState mApplicationsState;
private final ApplicationsState mApplicationsState;
1.883.1.11. static final String TAG
private static final String TAG = "RecentNotisCtrl";
1.883.1.12. static final String KEY_PREF_CATEGORY
private static final String KEY_PREF_CATEGORY = "recent_notifications_category";
1.883.1.13. static final String KEY_DIVIDER
@VisibleForTesting
static final String KEY_DIVIDER = "all_notifications_divider";
1.883.1.14. static final String KEY_SEE_ALL
@VisibleForTesting
static final String KEY_SEE_ALL = "all_notifications";
1.883.1.15. static final int SHOW_RECENT_APP_COUNT
private static final int SHOW_RECENT_APP_COUNT = 5;
1.883.1.16. static final Set SKIP_SYSTEM_PACKAGES
private static final Set SKIP_SYSTEM_PACKAGES = new ArraySet<>();
1.883.2. RecentNotifyingAppsPreferenceControllerMethod方法列表
1.883.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.883.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.883.2.3. updateNonIndexableKeys(List keys)
public void updateNonIndexableKeys(List keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNonIndexableKeys", "List keys"));
1.883.2.4. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.883.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.883.2.6. refreshUi(Context prefContext)
void refreshUi(Context prefContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "Context prefContext"));
1.883.2.7. reloadData()
void reloadData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadData", ""));
1.883.2.8. displayOnlyAllAppsLink()
private void displayOnlyAllAppsLink()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayOnlyAllAppsLink", ""));
1.883.2.9. displayRecentApps(Context prefContext,List recentApps)
private void displayRecentApps(Context prefContext, List recentApps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayRecentApps", "Context prefContext,List recentApps"));
1.883.2.10. getDisplayableRecentAppList()
private List getDisplayableRecentAppList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getDisplayableRecentAppList", ""));
1.883.2.11. shouldIncludePkgInRecents(String pkgName)
private boolean shouldIncludePkgInRecents(String pkgName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldIncludePkgInRecents", "String pkgName"));
1.884. RedactionInterstitial.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/RedactionInterstitial.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.884.1. RedactionInterstitial Field属性列表
1.884.2. RedactionInterstitialMethod方法列表
1.884.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.884.2.2. onApplyThemeResource(Resources.Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Resources.Theme theme,int resid,boolean first"));
1.884.2.3. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.884.2.4. onCreate(Bundle savedInstance)
protected void onCreate(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstance"));
1.884.2.5. static createStartIntent(Context ctx,int userId)
public static Intent createStartIntent(Context ctx, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createStartIntent", "Context ctx,int userId"));
1.885. RedactionSettingsStandalone.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/RedactionSettingsStandalone.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.885.1. RedactionSettingsStandalone Field属性列表
1.885.2. RedactionSettingsStandaloneMethod方法列表
1.885.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.885.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.886. RegionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/RegionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.886.1. RegionPreferenceController Field属性列表
1.886.1.1. String mRegionId
private String mRegionId = "";
1.886.1.2. final LocaleDisplayNames mLocaleDisplayNames;
private final LocaleDisplayNames mLocaleDisplayNames;
1.886.1.3. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "region";
1.886.2. RegionPreferenceControllerMethod方法列表
1.886.2.1. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.886.2.2. setRegionId(String regionId)
public void setRegionId(String regionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRegionId", "String regionId"));
1.886.2.3. getRegionId()
public String getRegionId()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getRegionId", ""));
1.887. RegionSearchPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/RegionSearchPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.887.1. RegionSearchPicker Field属性列表
1.887.1.1. BaseTimeZoneAdapter mAdapter;
private BaseTimeZoneAdapter mAdapter;
1.887.1.2. TimeZoneData mTimeZoneData;
private TimeZoneData mTimeZoneData;
1.887.1.3. static final int REQUEST_CODE_ZONE_PICKER
private static final int REQUEST_CODE_ZONE_PICKER = 1;
1.887.1.4. static final String TAG
private static final String TAG = "RegionSearchPicker";
1.887.2. RegionSearchPickerMethod方法列表
1.887.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.887.2.2. createAdapter(TimeZoneData timeZoneData)
protected BaseTimeZoneAdapter createAdapter(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"BaseTimeZoneAdapter" ,"createAdapter", "TimeZoneData timeZoneData"));
1.887.2.3. onListItemClick(RegionItem item)
private void onListItemClick(RegionItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "RegionItem item"));
1.887.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.887.2.5. createAdapterItem(Set regionIds)
private List createAdapterItem(Set regionIds)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createAdapterItem", "Set regionIds"));
1.888. RegionZonePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/RegionZonePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.888.1. RegionZonePicker Field属性列表
1.888.1.1. String mRegionName;
@Nullable
private String mRegionName;
1.888.1.2. static final String EXTRA_REGION_ID
public static final String EXTRA_REGION_ID = "com.android.settings.datetime.timezone.region_id";
1.888.2. RegionZonePickerMethod方法列表
1.888.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.888.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.888.2.3. getHeaderText()
protected CharSequence getHeaderText()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getHeaderText", ""));
1.888.2.4. prepareResultData(TimeZoneInfo selectedTimeZoneInfo)
protected Intent prepareResultData(TimeZoneInfo selectedTimeZoneInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"prepareResultData", "TimeZoneInfo selectedTimeZoneInfo"));
1.888.2.5. getAllTimeZoneInfos(TimeZoneData timeZoneData)
public List getAllTimeZoneInfos(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAllTimeZoneInfos", "TimeZoneData timeZoneData"));
1.888.2.6. getRegionTimeZoneInfo(Collection timeZoneIds)
public List getRegionTimeZoneInfo(Collection timeZoneIds)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getRegionTimeZoneInfo", "Collection timeZoneIds"));
1.889. RegionZonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/RegionZonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.889.1. RegionZonePreferenceController Field属性列表
1.889.1.1. TimeZoneInfo mTimeZoneInfo;
private TimeZoneInfo mTimeZoneInfo;
1.889.1.2. boolean mIsClickable;
private boolean mIsClickable;
1.889.1.3. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "region_zone";
1.889.2. RegionZonePreferenceControllerMethod方法列表
1.889.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.889.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.889.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.889.2.4. setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTimeZoneInfo", "TimeZoneInfo timeZoneInfo"));
1.889.2.5. getTimeZoneInfo()
public TimeZoneInfo getTimeZoneInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneInfo" ,"getTimeZoneInfo", ""));
1.889.2.6. setClickable(boolean clickable)
public void setClickable(boolean clickable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setClickable", "boolean clickable"));
1.889.2.7. isClickable()
public boolean isClickable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isClickable", ""));
1.890. RegulatoryInfoDisplayActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RegulatoryInfoDisplayActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.890.1. RegulatoryInfoDisplayActivity Field属性列表
1.890.1.1. final String REGULATORY_INFO_RESOURCE
private final String REGULATORY_INFO_RESOURCE = "regulatory_info";
1.890.1.2. static final String DEFAULT_REGULATORY_INFO_FILEPATH
private static final String DEFAULT_REGULATORY_INFO_FILEPATH = "/data/misc/elabel/regulatory_info.png";
1.890.1.3. static final String REGULATORY_INFO_FILEPATH_TEMPLATE
private static final String REGULATORY_INFO_FILEPATH_TEMPLATE = "/data/misc/elabel/regulatory_info_%s.png";
1.890.2. RegulatoryInfoDisplayActivityMethod方法列表
1.890.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.890.2.2. getResourceId()
private int getResourceId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getResourceId", ""));
1.890.2.3. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.890.2.4. static getSku()
public static String getSku()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSku", ""));
1.890.2.5. static getRegulatoryInfoImageFileName()
public static String getRegulatoryInfoImageFileName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getRegulatoryInfoImageFileName", ""));
1.891. RegulatoryInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/RegulatoryInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.891.1. RegulatoryInfoPreferenceController Field属性列表
1.891.1.1. static final String KEY_REGULATORY_INFO
private static final String KEY_REGULATORY_INFO = "regulatory_info";
1.891.1.2. static final Intent INTENT_PROBE
private static final Intent INTENT_PROBE = new Intent(Settings.ACTION_SHOW_REGULATORY_INFO);
1.891.2. RegulatoryInfoPreferenceControllerMethod方法列表
1.891.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.891.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.892. RemoteBugreportActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RemoteBugreportActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.892.1. RemoteBugreportActivity Field属性列表
1.892.1.1. static final String TAG
private static final String TAG = "RemoteBugreportActivity";
1.892.2. RemoteBugreportActivityMethod方法列表
1.892.2.1. onCreate(@Nullable Bundle savedInstanceState)
protected void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.893. RemoteDeviceNameDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/RemoteDeviceNameDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.893.1. RemoteDeviceNameDialogFragment Field属性列表
1.893.1.1. CachedBluetoothDevice mDevice;
private CachedBluetoothDevice mDevice;
1.893.1.2. static final String TAG
public static final String TAG = "RemoteDeviceName";
1.893.1.3. static final String KEY_CACHED_DEVICE_ADDRESS
private static final String KEY_CACHED_DEVICE_ADDRESS = "cached_device";
1.893.2. RemoteDeviceNameDialogFragmentMethod方法列表
1.893.2.1. getDevice(Context context)
CachedBluetoothDevice getDevice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CachedBluetoothDevice" ,"getDevice", "Context context"));
1.893.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.893.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.893.2.4. getDialogTitle()
protected int getDialogTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogTitle", ""));
1.893.2.5. getDeviceName()
protected String getDeviceName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDeviceName", ""));
1.893.2.6. setDeviceName(String deviceName)
protected void setDeviceName(String deviceName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDeviceName", "String deviceName"));
1.893.2.7. static newInstance(CachedBluetoothDevice device)
public static RemoteDeviceNameDialogFragment newInstance(CachedBluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"RemoteDeviceNameDialogFragment" ,"newInstance", "CachedBluetoothDevice device"));
1.894. RemoveAccountPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/RemoveAccountPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.894.1. RemoveAccountPreferenceController Field属性列表
1.894.1.1. Account mAccount;
private Account mAccount;
1.894.1.2. Fragment mParentFragment;
private Fragment mParentFragment;
1.894.1.3. UserHandle mUserHandle;
private UserHandle mUserHandle;
1.894.1.4. static final String KEY_REMOVE_ACCOUNT
private static final String KEY_REMOVE_ACCOUNT = "remove_account";
1.894.2. RemoveAccountPreferenceControllerMethod方法列表
1.894.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.894.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.894.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.894.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.894.2.5. init(Account account,UserHandle userHandle)
public void init(Account account, UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "Account account,UserHandle userHandle"));
1.895. RemoveUserFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/RemoveUserFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.895.1. RemoveUserFragment Field属性列表
1.895.1.1. static final String ARG_USER_ID
private static final String ARG_USER_ID = "userId";
1.895.2. RemoveUserFragmentMethod方法列表
1.895.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.895.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.895.2.3. static newInstance(int userId)
static RemoveUserFragment newInstance(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"RemoveUserFragment" ,"newInstance", "int userId"));
1.896. RequestIgnoreBatteryOptimizations.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/RequestIgnoreBatteryOptimizations.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.896.1. RequestIgnoreBatteryOptimizations Field属性列表
1.896.1.1. IDeviceIdleController mDeviceIdleService;
IDeviceIdleController mDeviceIdleService;
1.896.1.2. String mPackageName;
String mPackageName;
1.896.1.3. static final String TAG
static final String TAG = "RequestIgnoreBatteryOptimizations";
1.896.1.4. static final String DEVICE_IDLE_SERVICE
private static final String DEVICE_IDLE_SERVICE = "deviceidle";
1.896.2. RequestIgnoreBatteryOptimizationsMethod方法列表
1.896.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.896.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.897. RequestPermissionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.897.1. RequestPermissionActivity Field属性列表
1.897.1.1. LocalBluetoothAdapter mLocalAdapter;
private LocalBluetoothAdapter mLocalAdapter;
1.897.1.2. int mTimeout
private int mTimeout = BluetoothDiscoverableEnabler.DEFAULT_DISCOVERABLE_TIMEOUT;
1.897.1.3. int mRequest;
private int mRequest;
1.897.1.4. AlertDialog mDialog;
private AlertDialog mDialog;
1.897.1.5. BroadcastReceiver mReceiver;
private BroadcastReceiver mReceiver;
1.897.1.6. CharSequence mAppLabel;
@NonNull
private CharSequence mAppLabel;
1.897.1.7. static final // adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLE // adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE // adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISABLE private String TAG
// Command line to test this
// adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLE
// adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLE
// adb shell am start -a android.bluetooth.adapter.action.REQUEST_DISABLE
private static final String TAG = "RequestPermissionActivity";
1.897.1.8. static final int MAX_DISCOVERABLE_TIMEOUT
// 1 hr
private static final int MAX_DISCOVERABLE_TIMEOUT = 3600;
1.897.1.9. static final int REQUEST_ENABLE
static final int REQUEST_ENABLE = 1;
1.897.1.10. static final int REQUEST_ENABLE_DISCOVERABLE
static final int REQUEST_ENABLE_DISCOVERABLE = 2;
1.897.1.11. static final int REQUEST_DISABLE
static final int REQUEST_DISABLE = 3;
1.897.2. RequestPermissionActivityMethod方法列表
1.897.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.897.2.2. createDialog()
private void createDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDialog", ""));
1.897.2.3. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.897.2.4. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.897.2.5. proceedAndFinish()
private void proceedAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"proceedAndFinish", ""));
1.897.2.6. cancelAndFinish()
private void cancelAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelAndFinish", ""));
1.897.2.7. parseIntent()
private boolean parseIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"parseIntent", ""));
1.897.2.8. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.897.2.9. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.898. RequestPermissionHelperActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.898.1. RequestPermissionHelperActivity Field属性列表
1.898.1.1. LocalBluetoothAdapter mLocalAdapter;
private LocalBluetoothAdapter mLocalAdapter;
1.898.1.2. CharSequence mAppLabel;
private CharSequence mAppLabel;
1.898.1.3. int mTimeout
private int mTimeout = -1;
1.898.1.4. int mRequest;
private int mRequest;
1.898.1.5. static final String TAG
private static final String TAG = "RequestPermissionHelperActivity";
1.898.1.6. static final String ACTION_INTERNAL_REQUEST_BT_ON
public static final String ACTION_INTERNAL_REQUEST_BT_ON = "com.android.settings.bluetooth.ACTION_INTERNAL_REQUEST_BT_ON";
1.898.1.7. static final String ACTION_INTERNAL_REQUEST_BT_OFF
public static final String ACTION_INTERNAL_REQUEST_BT_OFF = "com.android.settings.bluetooth.ACTION_INTERNAL_REQUEST_BT_OFF";
1.898.1.8. static final String EXTRA_APP_LABEL
public static final String EXTRA_APP_LABEL = "com.android.settings.bluetooth.extra.APP_LABEL";
1.898.2. RequestPermissionHelperActivityMethod方法列表
1.898.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.898.2.2. createDialog()
void createDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDialog", ""));
1.898.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.898.2.4. parseIntent()
private boolean parseIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"parseIntent", ""));
1.899. RequestToggleWiFiActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/RequestToggleWiFiActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.899.1. RequestToggleWiFiActivity Field属性列表
1.899.1.1. WifiManager mWiFiManager;
@NonNull
private WifiManager mWiFiManager;
1.899.1.2. CharSequence mAppLabel;
@NonNull
private CharSequence mAppLabel;
1.899.1.3. int mState
private int mState = STATE_UNKNOWN;
1.899.1.4. int mLastUpdateState
private int mLastUpdateState = STATE_UNKNOWN;
1.899.1.5. final StateChangeReceiver mReceiver
private final StateChangeReceiver mReceiver = new StateChangeReceiver();
1.899.1.6. final Runnable mTimeoutCommand
private final Runnable mTimeoutCommand = () -> {
if (!isFinishing() && !isDestroyed()) {
finish();
}
};
1.899.1.7. static final String LOG_TAG
private static final String LOG_TAG = "RequestToggleWiFiActivity";
1.899.1.8. static final long TOGGLE_TIMEOUT_MILLIS
// 10 sec
private static final long TOGGLE_TIMEOUT_MILLIS = 10000;
1.899.1.9. static final int STATE_UNKNOWN
private static final int STATE_UNKNOWN = -1;
1.899.1.10. static final int STATE_ENABLE
private static final int STATE_ENABLE = 1;
1.899.1.11. static final int STATE_ENABLING
private static final int STATE_ENABLING = 2;
1.899.1.12. static final int STATE_DISABLE
private static final int STATE_DISABLE = 3;
1.899.1.13. static final int STATE_DISABLING
private static final int STATE_DISABLING = 4;
1.899.2. RequestToggleWiFiActivityMethod方法列表
1.899.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.899.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.899.2.3. onStart()
protected void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.899.2.4. onStop()
protected void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.899.2.5. updateUi()
private void updateUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUi", ""));
1.899.2.6. dismiss()
public void dismiss()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismiss", ""));
1.899.2.7. scheduleToggleTimeout()
private void scheduleToggleTimeout()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleToggleTimeout", ""));
1.899.2.8. unscheduleToggleTimeout()
private void unscheduleToggleTimeout()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unscheduleToggleTimeout", ""));
1.900. ResetAppPrefPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ResetAppPrefPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.900.1. ResetAppPrefPreferenceController Field属性列表
1.900.1.1. ResetAppsHelper mResetAppsHelper;
private ResetAppsHelper mResetAppsHelper;
1.900.2. ResetAppPrefPreferenceControllerMethod方法列表
1.900.2.1. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.900.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.900.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.900.2.4. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.900.2.5. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.901. ResetAppsHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ResetAppsHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.901.1. ResetAppsHelper Field属性列表
1.901.1.1. AlertDialog mResetDialog;
private AlertDialog mResetDialog;
1.901.1.2. final PackageManager mPm;
private final PackageManager mPm;
1.901.1.3. final IPackageManager mIPm;
private final IPackageManager mIPm;
1.901.1.4. final INotificationManager mNm;
private final INotificationManager mNm;
1.901.1.5. final IWebViewUpdateService mWvus;
private final IWebViewUpdateService mWvus;
1.901.1.6. final NetworkPolicyManager mNpm;
private final NetworkPolicyManager mNpm;
1.901.1.7. final AppOpsManager mAom;
private final AppOpsManager mAom;
1.901.1.8. final Context mContext;
private final Context mContext;
1.901.1.9. static final String EXTRA_RESET_DIALOG
private static final String EXTRA_RESET_DIALOG = "resetDialog";
1.901.2. ResetAppsHelperMethod方法列表
1.901.2.1. onRestoreInstanceState(Bundle savedInstanceState)
public void onRestoreInstanceState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle savedInstanceState"));
1.901.2.2. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.901.2.3. stop()
public void stop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stop", ""));
1.901.2.4. buildResetDialog()
void buildResetDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildResetDialog", ""));
1.901.2.5. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.901.2.6. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.901.2.7. isNonEnableableFallback(String packageName)
private boolean isNonEnableableFallback(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNonEnableableFallback", "String packageName"));
1.902. ResetCredentialsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ResetCredentialsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.902.1. ResetCredentialsPreferenceController Field属性列表
1.902.1.1. RestrictedPreference mPreference;
private RestrictedPreference mPreference;
1.902.1.2. final KeyStore mKeyStore;
private final KeyStore mKeyStore;
1.902.1.3. static final String KEY_RESET_CREDENTIALS
private static final String KEY_RESET_CREDENTIALS = "credentials_reset";
1.902.2. ResetCredentialsPreferenceControllerMethod方法列表
1.902.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.902.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.902.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.903. ResetDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/ResetDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.903.1. ResetDashboardFragment Field属性列表
1.903.1.1. static final String TAG
private static final String TAG = "ResetDashboardFragment";
1.903.1.2. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.reset_dashboard_fragment;
result.add(sir);
return result;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.903.2. ResetDashboardFragmentMethod方法列表
1.903.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.903.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.903.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.903.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.903.2.5. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.904. ResetNetwork.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ResetNetwork.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.904.1. ResetNetwork Field属性列表
1.904.1.1. List mSubscriptions;
private List mSubscriptions;
1.904.1.2. View mContentView;
private View mContentView;
1.904.1.3. Spinner mSubscriptionSpinner;
private Spinner mSubscriptionSpinner;
1.904.1.4. Button mInitiateButton;
private Button mInitiateButton;
1.904.1.5. View mEsimContainer;
private View mEsimContainer;
1.904.1.6. CheckBox mEsimCheckbox;
private CheckBox mEsimCheckbox;
1.904.1.7. final Button.OnClickListener mInitiateListener
/**
* If the user clicks to begin the reset sequence, we next require a
* keyguard confirmation if the user has currently enabled one. If there
* is no keyguard available, we simply go to the final confirmation prompt.
*/
private final Button.OnClickListener mInitiateListener = new Button.OnClickListener() {
@Override
public void onClick(View v) {
if (!runKeyguardConfirmation(KEYGUARD_REQUEST)) {
showFinalConfirmation();
}
}
};
1.904.1.8. static final String TAG
private static final String TAG = "ResetNetwork";
1.904.1.9. static final int KEYGUARD_REQUEST
// Arbitrary to avoid conficts
private static final int KEYGUARD_REQUEST = 55;
1.904.2. ResetNetworkMethod方法列表
1.904.2.1. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.904.2.2. runKeyguardConfirmation(int request)
private boolean runKeyguardConfirmation(int request)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"runKeyguardConfirmation", "int request"));
1.904.2.3. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.904.2.4. showFinalConfirmation()
private void showFinalConfirmation()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showFinalConfirmation", ""));
1.904.2.5. establishInitialState()
private void establishInitialState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"establishInitialState", ""));
1.904.2.6. showEuiccSettings(Context context)
private boolean showEuiccSettings(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showEuiccSettings", "Context context"));
1.904.2.7. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.904.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.905. ResetNetworkConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/ResetNetworkConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.905.1. ResetNetworkConfirm Field属性列表
1.905.1.1. View mContentView;
private View mContentView;
1.905.1.2. int mSubId
private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
1.905.1.3. boolean mEraseEsim;
@VisibleForTesting
boolean mEraseEsim;
1.905.1.4. EraseEsimAsyncTask mEraseEsimTask;
@VisibleForTesting
EraseEsimAsyncTask mEraseEsimTask;
1.905.1.5. Button.OnClickListener mFinalClickListener
/**
* The user has gone through the multiple confirmation, so now we go ahead
* and reset the network settings to its factory-default state.
*/
private Button.OnClickListener mFinalClickListener = new Button.OnClickListener() {
@Override
public void onClick(View v) {
if (Utils.isMonkeyRunning()) {
return;
}
// TODO maybe show a progress screen if this ends up taking a while and won't let user
// go back until the tasks finished.
Context context = getActivity();
ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
if (connectivityManager != null) {
connectivityManager.factoryReset();
}
WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE);
if (wifiManager != null) {
wifiManager.factoryReset();
}
TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);
if (telephonyManager != null) {
telephonyManager.factoryReset(mSubId);
}
NetworkPolicyManager policyManager = (NetworkPolicyManager) context.getSystemService(Context.NETWORK_POLICY_SERVICE);
if (policyManager != null) {
String subscriberId = telephonyManager.getSubscriberId(mSubId);
policyManager.factoryReset(subscriberId);
}
BluetoothManager btManager = (BluetoothManager) context.getSystemService(Context.BLUETOOTH_SERVICE);
if (btManager != null) {
BluetoothAdapter btAdapter = btManager.getAdapter();
if (btAdapter != null) {
btAdapter.factoryReset();
}
}
ImsManager.factoryReset(context);
restoreDefaultApn(context);
esimFactoryReset(context, context.getPackageName());
// There has been issues when Sms raw table somehow stores orphan
// fragments. They lead to garbled message when new fragments come
// in and combied with those stale ones. In case this happens again,
// user can reset all network settings which will clean up this table.
cleanUpSmsRawTable(context);
}
};
1.905.2. ResetNetworkConfirmMethod方法列表
1.905.2.1. cleanUpSmsRawTable(Context context)
private void cleanUpSmsRawTable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cleanUpSmsRawTable", "Context context"));
1.905.2.2. esimFactoryReset(Context context,String packageName)
void esimFactoryReset(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"esimFactoryReset", "Context context,String packageName"));
1.905.2.3. restoreDefaultApn(Context context)
private void restoreDefaultApn(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restoreDefaultApn", "Context context"));
1.905.2.4. establishFinalConfirmationState()
private void establishFinalConfirmationState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"establishFinalConfirmationState", ""));
1.905.2.5. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.905.2.6. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.905.2.7. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.905.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.906. ResetPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/ResetPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.906.1. ResetPreferenceController Field属性列表
1.906.2. ResetPreferenceControllerMethod方法列表
1.906.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.907. ResizableActivityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ResizableActivityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.907.1. ResizableActivityPreferenceController Field属性列表
1.907.1.1. static final String FORCE_RESIZABLE_KEY
private static final String FORCE_RESIZABLE_KEY = "force_resizable_activities";
1.907.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.907.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.907.2. ResizableActivityPreferenceControllerMethod方法列表
1.907.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.907.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.907.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.907.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.908. RestrictAppAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/RestrictAppAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.908.1. RestrictAppAction Field属性列表
1.908.1.1. RestrictAppTip mRestrictAppTip;
private RestrictAppTip mRestrictAppTip;
1.908.1.2. BatteryDatabaseManager mBatteryDatabaseManager;
@VisibleForTesting
BatteryDatabaseManager mBatteryDatabaseManager;
1.908.1.3. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.908.2. RestrictAppActionMethod方法列表
1.908.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.909. RestrictAppDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/RestrictAppDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.909.1. RestrictAppDetector Field属性列表
1.909.1.1. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.909.1.2. BatteryDatabaseManager mBatteryDatabaseManager;
@VisibleForTesting
BatteryDatabaseManager mBatteryDatabaseManager;
1.909.1.3. Context mContext;
private Context mContext;
1.909.1.4. AppRestrictionPredicate mAppRestrictionPredicate;
private AppRestrictionPredicate mAppRestrictionPredicate;
1.909.1.5. AppLabelPredicate mAppLabelPredicate;
private AppLabelPredicate mAppLabelPredicate;
1.909.1.6. static final boolean USE_FAKE_DATA
@VisibleForTesting
static final boolean USE_FAKE_DATA = false;
1.909.2. RestrictAppDetectorMethod方法列表
1.909.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.909.2.2. getFakeData()
private BatteryTip getFakeData()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"getFakeData", ""));
1.910. RestrictAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/RestrictAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.910.1. RestrictAppPreferenceController Field属性列表
1.910.1.1. List mAppInfos;
@VisibleForTesting
List mAppInfos;
1.910.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.910.1.3. InstrumentedPreferenceFragment mPreferenceFragment;
private InstrumentedPreferenceFragment mPreferenceFragment;
1.910.1.4. UserManager mUserManager;
private UserManager mUserManager;
1.910.1.5. static final String KEY_RESTRICT_APP
@VisibleForTesting
static final String KEY_RESTRICT_APP = "restricted_app";
1.910.2. RestrictAppPreferenceControllerMethod方法列表
1.910.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.910.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.910.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.911. RestrictAppTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/RestrictAppTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.911.1. RestrictAppTip Field属性列表
1.911.1.1. List mRestrictAppList;
private List mRestrictAppList;
1.911.1.2. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new RestrictAppTip(in);
}
public BatteryTip[] newArray(int size) {
return new RestrictAppTip[size];
}
};
1.911.2. RestrictAppTipMethod方法列表
1.911.2.1. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.911.2.2. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.911.2.3. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.911.2.4. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.911.2.5. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.911.2.6. getRestrictAppList()
public List getRestrictAppList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getRestrictAppList", ""));
1.911.2.7. getRestrictAppsString(Context context)
public CharSequence getRestrictAppsString(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getRestrictAppsString", "Context context"));
1.911.2.8. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.911.2.9. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.912. RestrictedAppDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/RestrictedAppDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.912.1. RestrictedAppDetails Field属性列表
1.912.1.1. List mAppInfos;
@VisibleForTesting
List mAppInfos;
1.912.1.2. IconDrawableFactory mIconDrawableFactory;
@VisibleForTesting
IconDrawableFactory mIconDrawableFactory;
1.912.1.3. PreferenceGroup mRestrictedAppListGroup;
@VisibleForTesting
PreferenceGroup mRestrictedAppListGroup;
1.912.1.4. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.912.1.5. PackageManager mPackageManager;
@VisibleForTesting
PackageManager mPackageManager;
1.912.1.6. final FooterPreferenceMixin mFooterPreferenceMixin
private final FooterPreferenceMixin mFooterPreferenceMixin = new FooterPreferenceMixin(this, getLifecycle());
1.912.1.7. static final String TAG
public static final String TAG = "RestrictedAppDetails";
1.912.1.8. static final String EXTRA_APP_INFO_LIST
@VisibleForTesting
static final String EXTRA_APP_INFO_LIST = "app_info_list";
1.912.1.9. static final String KEY_PREF_RESTRICTED_APP_LIST
private static final String KEY_PREF_RESTRICTED_APP_LIST = "restrict_app_list";
1.912.2. RestrictedAppDetailsMethod方法列表
1.912.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.912.2.2. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.912.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.912.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.912.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.912.2.6. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.912.2.7. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.912.2.8. refreshUi()
void refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", ""));
1.912.2.9. onBatteryTipHandled(BatteryTip batteryTip)
public void onBatteryTipHandled(BatteryTip batteryTip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBatteryTipHandled", "BatteryTip batteryTip"));
1.912.2.10. createDialogFragment(AppInfo appInfo,boolean toRestrict)
BatteryTipDialogFragment createDialogFragment(AppInfo appInfo, boolean toRestrict)
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTipDialogFragment" ,"createDialogFragment", "AppInfo appInfo,boolean toRestrict"));
1.912.2.11. getKeyFromAppInfo(AppInfo appInfo)
String getKeyFromAppInfo(AppInfo appInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeyFromAppInfo", "AppInfo appInfo"));
1.912.2.12. static startRestrictedAppDetails(InstrumentedPreferenceFragment fragment,List appInfos)
public static void startRestrictedAppDetails(InstrumentedPreferenceFragment fragment, List appInfos)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startRestrictedAppDetails", "InstrumentedPreferenceFragment fragment,List appInfos"));
1.913. RestrictedAppPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/RestrictedAppPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.913.1. RestrictedAppPreference Field属性列表
1.913.1.1. RestrictedPreferenceHelper mHelper;
private RestrictedPreferenceHelper mHelper;
1.913.1.2. String userRestriction;
private String userRestriction;
1.913.2. RestrictedAppPreferenceMethod方法列表
1.913.2.1. initialize(AttributeSet attrs,String userRestriction)
private void initialize(AttributeSet attrs, String userRestriction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", "AttributeSet attrs,String userRestriction"));
1.913.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.913.2.3. performClick()
public void performClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performClick", ""));
1.913.2.4. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.913.2.5. setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
public void setDisabledByAdmin(RestrictedLockUtils.EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "RestrictedLockUtils.EnforcedAdmin admin"));
1.913.2.6. isDisabledByAdmin()
public boolean isDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledByAdmin", ""));
1.913.2.7. useAdminDisabledSummary(boolean useSummary)
public void useAdminDisabledSummary(boolean useSummary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"useAdminDisabledSummary", "boolean useSummary"));
1.913.2.8. onAttachedToHierarchy(PreferenceManager preferenceManager)
protected void onAttachedToHierarchy(PreferenceManager preferenceManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttachedToHierarchy", "PreferenceManager preferenceManager"));
1.913.2.9. checkRestrictionAndSetDisabled()
public void checkRestrictionAndSetDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkRestrictionAndSetDisabled", ""));
1.913.2.10. checkRestrictionAndSetDisabled(String userRestriction)
public void checkRestrictionAndSetDisabled(String userRestriction)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkRestrictionAndSetDisabled", "String userRestriction"));
1.913.2.11. checkRestrictionAndSetDisabled(String userRestriction,int userId)
public void checkRestrictionAndSetDisabled(String userRestriction, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkRestrictionAndSetDisabled", "String userRestriction,int userId"));
1.914. RestrictedCheckBox.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RestrictedCheckBox.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.914.1. RestrictedCheckBox Field属性列表
1.914.1.1. Context mContext;
private Context mContext;
1.914.1.2. boolean mDisabledByAdmin;
private boolean mDisabledByAdmin;
1.914.1.3. EnforcedAdmin mEnforcedAdmin;
private EnforcedAdmin mEnforcedAdmin;
1.914.2. RestrictedCheckBoxMethod方法列表
1.914.2.1. performClick()
public boolean performClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"performClick", ""));
1.914.2.2. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.914.2.3. isDisabledByAdmin()
public boolean isDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledByAdmin", ""));
1.915. RestrictedDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/RestrictedDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.915.1. RestrictedDashboardFragment Field属性列表
1.915.1.1. boolean mChallengeSucceeded;
// If the restriction PIN is entered correctly.
private boolean mChallengeSucceeded;
1.915.1.2. boolean mChallengeRequested;
private boolean mChallengeRequested;
1.915.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.915.1.4. RestrictionsManager mRestrictionsManager;
private RestrictionsManager mRestrictionsManager;
1.915.1.5. EnforcedAdmin mEnforcedAdmin;
private EnforcedAdmin mEnforcedAdmin;
1.915.1.6. TextView mEmptyTextView;
private TextView mEmptyTextView;
1.915.1.7. boolean mOnlyAvailableForAdmins
private boolean mOnlyAvailableForAdmins = false;
1.915.1.8. boolean mIsAdminUser;
private boolean mIsAdminUser;
1.915.1.9. BroadcastReceiver mScreenOffReceiver
// Receiver to clear pin status when the screen is turned off.
private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (!mChallengeRequested) {
mChallengeSucceeded = false;
mChallengeRequested = false;
}
}
};
1.915.1.10. AlertDialog mActionDisabledDialog;
private AlertDialog mActionDisabledDialog;
1.915.1.11. final String mRestrictionKey;
private final String mRestrictionKey;
1.915.1.12. static final String RESTRICT_IF_OVERRIDABLE
protected static final String RESTRICT_IF_OVERRIDABLE = "restrict_if_overridable";
1.915.1.13. static final int REQUEST_PIN_CHALLENGE
// No RestrictedSettingsFragment screens should use this number in startActivityForResult.
private static final int REQUEST_PIN_CHALLENGE = 12309;
1.915.1.14. static final String KEY_CHALLENGE_SUCCEEDED
private static final String KEY_CHALLENGE_SUCCEEDED = "chsc";
1.915.1.15. static final String KEY_CHALLENGE_REQUESTED
private static final String KEY_CHALLENGE_REQUESTED = "chrq";
1.915.2. RestrictedDashboardFragmentMethod方法列表
1.915.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.915.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.915.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.915.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.915.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.915.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.915.2.7. ensurePin()
private void ensurePin()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ensurePin", ""));
1.915.2.8. isRestrictedAndNotProviderProtected()
protected boolean isRestrictedAndNotProviderProtected()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRestrictedAndNotProviderProtected", ""));
1.915.2.9. hasChallengeSucceeded()
protected boolean hasChallengeSucceeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasChallengeSucceeded", ""));
1.915.2.10. shouldBeProviderProtected(String restrictionKey)
protected boolean shouldBeProviderProtected(String restrictionKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldBeProviderProtected", "String restrictionKey"));
1.915.2.11. initEmptyTextView()
protected TextView initEmptyTextView()
methodList.add(new ZMethod(mZAndroidAPPClass,"TextView" ,"initEmptyTextView", ""));
1.915.2.12. getRestrictionEnforcedAdmin()
public EnforcedAdmin getRestrictionEnforcedAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getRestrictionEnforcedAdmin", ""));
1.915.2.13. getEmptyTextView()
public TextView getEmptyTextView()
methodList.add(new ZMethod(mZAndroidAPPClass,"TextView" ,"getEmptyTextView", ""));
1.915.2.14. onDataSetChanged()
protected void onDataSetChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSetChanged", ""));
1.915.2.15. setIfOnlyAvailableForAdmins(boolean onlyForAdmins)
public void setIfOnlyAvailableForAdmins(boolean onlyForAdmins)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIfOnlyAvailableForAdmins", "boolean onlyForAdmins"));
1.915.2.16. isUiRestricted()
protected boolean isUiRestricted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUiRestricted", ""));
1.915.2.17. isUiRestrictedByOnlyAdmin()
protected boolean isUiRestrictedByOnlyAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUiRestrictedByOnlyAdmin", ""));
1.916. RestrictedEncryptionPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/RestrictedEncryptionPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.916.1. RestrictedEncryptionPreferenceController Field属性列表
1.916.1.1. final UserManager mUserManager;
protected final UserManager mUserManager;
1.916.1.2. final UserHandle mUserHandle;
private final UserHandle mUserHandle;
1.916.1.3. final String mUserRestriction;
private final String mUserRestriction;
1.916.2. RestrictedEncryptionPreferenceControllerMethod方法列表
1.916.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.917. RestrictedListPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RestrictedListPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.917.1. RestrictedListPreference Field属性列表
1.917.1.1. boolean mRequiresActiveUnlockedProfile
private boolean mRequiresActiveUnlockedProfile = false;
1.917.1.2. int mProfileUserId;
private int mProfileUserId;
1.917.1.3. final RestrictedPreferenceHelper mHelper;
private final RestrictedPreferenceHelper mHelper;
1.917.1.4. final List mRestrictedItems
private final List mRestrictedItems = new ArrayList<>();
1.917.2. RestrictedListPreferenceMethod方法列表
1.917.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.917.2.2. performClick()
public void performClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performClick", ""));
1.917.2.3. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.917.2.4. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.917.2.5. isDisabledByAdmin()
public boolean isDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledByAdmin", ""));
1.917.2.6. setRequiresActiveUnlockedProfile(boolean reqState)
public void setRequiresActiveUnlockedProfile(boolean reqState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRequiresActiveUnlockedProfile", "boolean reqState"));
1.917.2.7. setProfileUserId(int profileUserId)
public void setProfileUserId(int profileUserId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProfileUserId", "int profileUserId"));
1.917.2.8. isRestrictedForEntry(CharSequence entry)
public boolean isRestrictedForEntry(CharSequence entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRestrictedForEntry", "CharSequence entry"));
1.917.2.9. addRestrictedItem(RestrictedItem item)
public void addRestrictedItem(RestrictedItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addRestrictedItem", "RestrictedItem item"));
1.917.2.10. clearRestrictedItems()
public void clearRestrictedItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearRestrictedItems", ""));
1.917.2.11. getRestrictedItemForEntryValue(CharSequence entryValue)
private RestrictedItem getRestrictedItemForEntryValue(CharSequence entryValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedItem" ,"getRestrictedItemForEntryValue", "CharSequence entryValue"));
1.917.2.12. createListAdapter()
protected ListAdapter createListAdapter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ListAdapter" ,"createListAdapter", ""));
1.917.2.13. getSelectedValuePos()
public int getSelectedValuePos()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSelectedValuePos", ""));
1.917.2.14. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.918. RestrictedProfileSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/RestrictedProfileSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.918.1. RestrictedProfileSettings Field属性列表
1.918.1.1. View mHeaderView;
private View mHeaderView;
1.918.1.2. ImageView mUserIconView;
private ImageView mUserIconView;
1.918.1.3. TextView mUserNameView;
private TextView mUserNameView;
1.918.1.4. ImageView mDeleteButton;
private ImageView mDeleteButton;
1.918.1.5. EditUserInfoController mEditUserInfoController
private EditUserInfoController mEditUserInfoController = new EditUserInfoController();
1.918.1.6. static final String FILE_PROVIDER_AUTHORITY
public static final String FILE_PROVIDER_AUTHORITY = "com.android.settings.files";
1.918.1.7. static final int DIALOG_ID_EDIT_USER_INFO
static final int DIALOG_ID_EDIT_USER_INFO = 1;
1.918.1.8. static final int DIALOG_CONFIRM_REMOVE
private static final int DIALOG_CONFIRM_REMOVE = 2;
1.918.2. RestrictedProfileSettingsMethod方法列表
1.918.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.918.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.918.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.918.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.918.2.5. startActivityForResult(Intent intent,int requestCode)
public void startActivityForResult(Intent intent, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startActivityForResult", "Intent intent,int requestCode"));
1.918.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.918.2.7. onClick(View view)
public void onClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View view"));
1.918.2.8. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.918.2.9. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.918.2.10. removeUser()
private void removeUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeUser", ""));
1.918.2.11. onPhotoChanged(Drawable photo)
public void onPhotoChanged(Drawable photo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPhotoChanged", "Drawable photo"));
1.918.2.12. onLabelChanged(CharSequence label)
public void onLabelChanged(CharSequence label)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLabelChanged", "CharSequence label"));
1.919. RestrictedRadioButton.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RestrictedRadioButton.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.919.1. RestrictedRadioButton Field属性列表
1.919.1.1. Context mContext;
private Context mContext;
1.919.1.2. boolean mDisabledByAdmin;
private boolean mDisabledByAdmin;
1.919.1.3. EnforcedAdmin mEnforcedAdmin;
private EnforcedAdmin mEnforcedAdmin;
1.919.2. RestrictedRadioButtonMethod方法列表
1.919.2.1. performClick()
public boolean performClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"performClick", ""));
1.919.2.2. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.919.2.3. isDisabledByAdmin()
public boolean isDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledByAdmin", ""));
1.920. RestrictedSettingsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RestrictedSettingsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.920.1. RestrictedSettingsFragment Field属性列表
1.920.1.1. boolean mChallengeSucceeded;
// If the restriction PIN is entered correctly.
private boolean mChallengeSucceeded;
1.920.1.2. boolean mChallengeRequested;
private boolean mChallengeRequested;
1.920.1.3. UserManager mUserManager;
private UserManager mUserManager;
1.920.1.4. RestrictionsManager mRestrictionsManager;
private RestrictionsManager mRestrictionsManager;
1.920.1.5. EnforcedAdmin mEnforcedAdmin;
private EnforcedAdmin mEnforcedAdmin;
1.920.1.6. TextView mEmptyTextView;
private TextView mEmptyTextView;
1.920.1.7. boolean mOnlyAvailableForAdmins
private boolean mOnlyAvailableForAdmins = false;
1.920.1.8. boolean mIsAdminUser;
private boolean mIsAdminUser;
1.920.1.9. BroadcastReceiver mScreenOffReceiver
// Receiver to clear pin status when the screen is turned off.
private BroadcastReceiver mScreenOffReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (!mChallengeRequested) {
mChallengeSucceeded = false;
mChallengeRequested = false;
}
}
};
1.920.1.10. AlertDialog mActionDisabledDialog;
@VisibleForTesting
AlertDialog mActionDisabledDialog;
1.920.1.11. final String mRestrictionKey;
private final String mRestrictionKey;
1.920.1.12. static final String RESTRICT_IF_OVERRIDABLE
protected static final String RESTRICT_IF_OVERRIDABLE = "restrict_if_overridable";
1.920.1.13. static final @VisibleForTesting static int REQUEST_PIN_CHALLENGE
// No RestrictedSettingsFragment screens should use this number in startActivityForResult.
@VisibleForTesting
static final int REQUEST_PIN_CHALLENGE = 12309;
1.920.1.14. static final String KEY_CHALLENGE_SUCCEEDED
private static final String KEY_CHALLENGE_SUCCEEDED = "chsc";
1.920.1.15. static final String KEY_CHALLENGE_REQUESTED
private static final String KEY_CHALLENGE_REQUESTED = "chrq";
1.920.2. RestrictedSettingsFragmentMethod方法列表
1.920.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.920.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.920.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.920.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.920.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.920.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.920.2.7. ensurePin()
private void ensurePin()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ensurePin", ""));
1.920.2.8. isRestrictedAndNotProviderProtected()
protected boolean isRestrictedAndNotProviderProtected()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRestrictedAndNotProviderProtected", ""));
1.920.2.9. hasChallengeSucceeded()
protected boolean hasChallengeSucceeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasChallengeSucceeded", ""));
1.920.2.10. shouldBeProviderProtected(String restrictionKey)
protected boolean shouldBeProviderProtected(String restrictionKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldBeProviderProtected", "String restrictionKey"));
1.920.2.11. initEmptyTextView()
protected TextView initEmptyTextView()
methodList.add(new ZMethod(mZAndroidAPPClass,"TextView" ,"initEmptyTextView", ""));
1.920.2.12. getRestrictionEnforcedAdmin()
public EnforcedAdmin getRestrictionEnforcedAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"getRestrictionEnforcedAdmin", ""));
1.920.2.13. getEmptyTextView()
public TextView getEmptyTextView()
methodList.add(new ZMethod(mZAndroidAPPClass,"TextView" ,"getEmptyTextView", ""));
1.920.2.14. onDataSetChanged()
protected void onDataSetChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSetChanged", ""));
1.920.2.15. setIfOnlyAvailableForAdmins(boolean onlyForAdmins)
public void setIfOnlyAvailableForAdmins(boolean onlyForAdmins)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIfOnlyAvailableForAdmins", "boolean onlyForAdmins"));
1.920.2.16. isUiRestricted()
protected boolean isUiRestricted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUiRestricted", ""));
1.920.2.17. isUiRestrictedByOnlyAdmin()
protected boolean isUiRestrictedByOnlyAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUiRestrictedByOnlyAdmin", ""));
1.921. RestrictionUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/RestrictionUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.921.1. RestrictionUtils Field属性列表
1.921.1.1. static final String[] sRestrictionKeys
public static final String[] sRestrictionKeys = { // UserManager.DISALLOW_CONFIG_BLUETOOTH,
UserManager.DISALLOW_SHARE_LOCATION };
1.921.1.2. static final int[] sRestrictionTitles
public static final int[] sRestrictionTitles = { // R.string.restriction_bluetooth_config_title,
R.string.restriction_location_enable_title };
1.921.1.3. static final int[] sRestrictionDescriptions
public static final int[] sRestrictionDescriptions = { // R.string.restriction_bluetooth_config_summary,
R.string.restriction_location_enable_summary };
1.921.2. RestrictionUtilsMethod方法列表
1.921.2.1. static getRestrictions(Context context,UserHandle user)
public static ArrayList getRestrictions(Context context, UserHandle user)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getRestrictions", "Context context,UserHandle user"));
1.921.2.2. static setRestrictions(Context context,ArrayList entries,UserHandle user)
public static void setRestrictions(Context context, ArrayList entries, UserHandle user)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRestrictions", "Context context,ArrayList entries,UserHandle user"));
1.922. RestrictionUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/RestrictionUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.922.1. RestrictionUtils Field属性列表
1.922.2. RestrictionUtilsMethod方法列表
1.922.2.1. checkIfRestrictionEnforced(Context context,String restriction)
public EnforcedAdmin checkIfRestrictionEnforced(Context context, String restriction)
methodList.add(new ZMethod(mZAndroidAPPClass,"EnforcedAdmin" ,"checkIfRestrictionEnforced", "Context context,String restriction"));
1.923. ResultPayload.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/ResultPayload.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.923.1. ResultPayload Field属性列表
1.923.1.1. final Intent mIntent;
protected final Intent mIntent;
1.923.1.2. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
@Override
public ResultPayload createFromParcel(Parcel in) {
return new ResultPayload(in);
}
@Override
public ResultPayload[] newArray(int size) {
return new ResultPayload[size];
}
};
1.923.2. ResultPayloadMethod方法列表
1.923.2.1. getType()
public int getType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getType", ""));
1.923.2.2. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.923.2.3. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.923.2.4. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.924. ResultPayloadUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/ResultPayloadUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.924.1. ResultPayloadUtils Field属性列表
1.924.1.1. static final String TAG
private static final String TAG = "PayloadUtil";
1.924.2. ResultPayloadUtilsMethod方法列表
1.924.2.1. static marshall(ResultPayload payload)
public static byte[] marshall(ResultPayload payload)
methodList.add(new ZMethod(mZAndroidAPPClass,"byte[]" ,"marshall", "ResultPayload payload"));
1.924.2.2. static unmarshall(byte[] bytes,Parcelable.Creator creator)
public static T unmarshall(byte[] bytes, Parcelable.Creator creator)
methodList.add(new ZMethod(mZAndroidAPPClass,"T" ,"unmarshall", "byte[] bytes,Parcelable.Creator creator"));
1.924.2.3. static unmarshall(byte[] bytes)
private static Parcel unmarshall(byte[] bytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcel" ,"unmarshall", "byte[] bytes"));
1.925. RingerMutedCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/RingerMutedCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.925.1. RingerMutedCondition Field属性列表
1.925.1.1. final NotificationManager mNotificationManager;
private final NotificationManager mNotificationManager;
1.925.2. RingerMutedConditionMethod方法列表
1.925.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.925.2.2. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.925.2.3. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.925.2.4. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.925.2.5. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.926. RingerVibrateCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/RingerVibrateCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.926.1. RingerVibrateCondition Field属性列表
1.926.2. RingerVibrateConditionMethod方法列表
1.926.2.1. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.926.2.2. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.926.2.3. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.926.2.4. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.926.2.5. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.927. RingProgressBar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/RingProgressBar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.927.1. RingProgressBar Field属性列表
1.927.2. RingProgressBarMethod方法列表
1.927.2.1. sync onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected synchronized void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.928. RingtonePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/RingtonePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.928.1. RingtonePreference Field属性列表
1.928.1.1. int mRingtoneType;
private int mRingtoneType;
1.928.1.2. boolean mShowDefault;
private boolean mShowDefault;
1.928.1.3. boolean mShowSilent;
private boolean mShowSilent;
1.928.1.4. int mRequestCode;
private int mRequestCode;
1.928.1.5. int mUserId;
protected int mUserId;
1.928.1.6. Context mUserContext;
protected Context mUserContext;
1.928.1.7. static final String TAG
private static final String TAG = "RingtonePreference";
1.928.2. RingtonePreferenceMethod方法列表
1.928.2.1. setUserId(int userId)
public void setUserId(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserId", "int userId"));
1.928.2.2. getUserId()
public int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.928.2.3. getRingtoneType()
public int getRingtoneType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingtoneType", ""));
1.928.2.4. setRingtoneType(int type)
public void setRingtoneType(int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRingtoneType", "int type"));
1.928.2.5. getShowDefault()
public boolean getShowDefault()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getShowDefault", ""));
1.928.2.6. setShowDefault(boolean showDefault)
public void setShowDefault(boolean showDefault)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowDefault", "boolean showDefault"));
1.928.2.7. getShowSilent()
public boolean getShowSilent()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getShowSilent", ""));
1.928.2.8. setShowSilent(boolean showSilent)
public void setShowSilent(boolean showSilent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShowSilent", "boolean showSilent"));
1.928.2.9. getRequestCode()
public int getRequestCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRequestCode", ""));
1.928.2.10. onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
public void onPrepareRingtonePickerIntent(Intent ringtonePickerIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareRingtonePickerIntent", "Intent ringtonePickerIntent"));
1.928.2.11. onSaveRingtone(Uri ringtoneUri)
protected void onSaveRingtone(Uri ringtoneUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveRingtone", "Uri ringtoneUri"));
1.928.2.12. onRestoreRingtone()
protected Uri onRestoreRingtone()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"onRestoreRingtone", ""));
1.928.2.13. onGetDefaultValue(TypedArray a,int index)
protected Object onGetDefaultValue(TypedArray a, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"onGetDefaultValue", "TypedArray a,int index"));
1.928.2.14. onSetInitialValue(boolean restorePersistedValue,Object defaultValueObj)
protected void onSetInitialValue(boolean restorePersistedValue, Object defaultValueObj)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetInitialValue", "boolean restorePersistedValue,Object defaultValueObj"));
1.928.2.15. onAttachedToHierarchy(PreferenceManager preferenceManager)
protected void onAttachedToHierarchy(PreferenceManager preferenceManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttachedToHierarchy", "PreferenceManager preferenceManager"));
1.928.2.16. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.929. RingtonePreferenceControllerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/RingtonePreferenceControllerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.929.1. RingtonePreferenceControllerBase Field属性列表
1.929.2. RingtonePreferenceControllerBaseMethod方法列表
1.929.2.1. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.929.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.929.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.929.2.4. abstract getRingtoneType()
public abstract int getRingtoneType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRingtoneType", ""));
1.930. RingVolumePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/RingVolumePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.930.1. RingVolumePreferenceController Field属性列表
1.930.1.1. Vibrator mVibrator;
private Vibrator mVibrator;
1.930.1.2. int mRingerMode
private int mRingerMode = -1;
1.930.1.3. ComponentName mSuppressor;
private ComponentName mSuppressor;
1.930.1.4. int mMuteIcon;
private int mMuteIcon;
1.930.1.5. final RingReceiver mReceiver
private final RingReceiver mReceiver = new RingReceiver();
1.930.1.6. final H mHandler
private final H mHandler = new H();
1.930.1.7. static final String TAG
private static final String TAG = "RingVolumeController";
1.930.1.8. static final String KEY_RING_VOLUME
private static final String KEY_RING_VOLUME = "ring_volume";
1.930.2. RingVolumePreferenceControllerMethod方法列表
1.930.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.930.2.2. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.930.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.930.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.930.2.5. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.930.2.6. getAudioStream()
public int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.930.2.7. getMuteIcon()
public int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.930.2.8. updateRingerMode()
private void updateRingerMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRingerMode", ""));
1.930.2.9. updateEffectsSuppressor()
private void updateEffectsSuppressor()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEffectsSuppressor", ""));
1.930.2.10. updatePreferenceIcon()
private void updatePreferenceIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceIcon", ""));
1.931. RoundedHomepageIcon.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/RoundedHomepageIcon.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.931.1. RoundedHomepageIcon Field属性列表
1.931.1.1. @VisibleForTesting(otherwise
@VisibleForTesting(otherwise = NONE)
int mBackgroundColor = -1;
1.931.2. RoundedHomepageIconMethod方法列表
1.931.2.1. setBackgroundColor(int color)
public void setBackgroundColor(int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBackgroundColor", "int color"));
1.932. RtlCompatibleViewPager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/RtlCompatibleViewPager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.932.1. RtlCompatibleViewPager Field属性列表
1.932.2. RtlCompatibleViewPagerMethod方法列表
1.932.2.1. getCurrentItem()
public int getCurrentItem()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentItem", ""));
1.932.2.2. setCurrentItem(int item)
public void setCurrentItem(int item)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentItem", "int item"));
1.932.2.3. onSaveInstanceState()
public Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.932.2.4. onRestoreInstanceState(Parcelable state)
public void onRestoreInstanceState(Parcelable state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable state"));
1.932.2.5. getRtlAwareIndex(int index)
public int getRtlAwareIndex(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getRtlAwareIndex", "int index"));
1.933. RtlLayoutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/RtlLayoutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.933.1. RtlLayoutPreferenceController Field属性列表
1.933.1.1. static final String FORCE_RTL_LAYOUT_KEY
private static final String FORCE_RTL_LAYOUT_KEY = "force_rtl_layout_all_locales";
1.933.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.933.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.933.2. RtlLayoutPreferenceControllerMethod方法列表
1.933.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.933.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.933.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.933.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.933.2.5. updateLocales()
void updateLocales()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLocales", ""));
1.933.2.6. writeToForceRtlLayoutSetting(boolean isEnabled)
private void writeToForceRtlLayoutSetting(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToForceRtlLayoutSetting", "boolean isEnabled"));
1.934. RunningProcessesView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/RunningProcessesView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.934.1. RunningProcessesView Field属性列表
1.934.1.1. long SECONDARY_SERVER_MEM;
long SECONDARY_SERVER_MEM;
1.934.1.2. ActivityManager mAm;
ActivityManager mAm;
1.934.1.3. RunningState mState;
RunningState mState;
1.934.1.4. SettingsPreferenceFragment mOwner;
SettingsPreferenceFragment mOwner;
1.934.1.5. Runnable mDataAvail;
Runnable mDataAvail;
1.934.1.6. StringBuilder mBuilder
StringBuilder mBuilder = new StringBuilder(128);
1.934.1.7. RunningState.BaseItem mCurSelected;
RunningState.BaseItem mCurSelected;
1.934.1.8. ListView mListView;
ListView mListView;
1.934.1.9. View mHeader;
View mHeader;
1.934.1.10. ServiceListAdapter mAdapter;
ServiceListAdapter mAdapter;
1.934.1.11. ProgressBar mColorBar;
ProgressBar mColorBar;
1.934.1.12. TextView mBackgroundProcessPrefix;
TextView mBackgroundProcessPrefix;
1.934.1.13. TextView mAppsProcessPrefix;
TextView mAppsProcessPrefix;
1.934.1.14. TextView mForegroundProcessPrefix;
TextView mForegroundProcessPrefix;
1.934.1.15. TextView mBackgroundProcessText;
TextView mBackgroundProcessText;
1.934.1.16. TextView mAppsProcessText;
TextView mAppsProcessText;
1.934.1.17. TextView mForegroundProcessText;
TextView mForegroundProcessText;
1.934.1.18. long mCurTotalRam
long mCurTotalRam = -1;
1.934.1.19. long mCurHighRam
// "System" or "Used"
long mCurHighRam = -1;
1.934.1.20. long mCurMedRam
// "Apps" or "Cached"
long mCurMedRam = -1;
1.934.1.21. long mCurLowRam
// "Free"
long mCurLowRam = -1;
1.934.1.22. boolean mCurShowCached
boolean mCurShowCached = false;
1.934.1.23. Dialog mCurDialog;
Dialog mCurDialog;
1.934.1.24. MemInfoReader mMemInfoReader
MemInfoReader mMemInfoReader = new MemInfoReader();
1.934.1.25. final int mMyUserId;
final int mMyUserId;
1.934.1.26. final HashMap mActiveItems
final HashMap mActiveItems = new HashMap();
1.934.2. RunningProcessesViewMethod方法列表
1.934.2.1. refreshUi(boolean dataChanged)
void refreshUi(boolean dataChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "boolean dataChanged"));
1.934.2.2. onItemClick(AdapterView parent,View v,int position,long id)
public void onItemClick(AdapterView parent, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemClick", "AdapterView parent,View v,int position,long id"));
1.934.2.3. startServiceDetailsActivity(RunningState.MergedItem mi)
private void startServiceDetailsActivity(RunningState.MergedItem mi)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startServiceDetailsActivity", "RunningState.MergedItem mi"));
1.934.2.4. onMovedToScrapHeap(View view)
public void onMovedToScrapHeap(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMovedToScrapHeap", "View view"));
1.934.2.5. doCreate()
public void doCreate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doCreate", ""));
1.934.2.6. doPause()
public void doPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doPause", ""));
1.934.2.7. doResume(SettingsPreferenceFragment owner,Runnable dataAvail)
public boolean doResume(SettingsPreferenceFragment owner, Runnable dataAvail)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"doResume", "SettingsPreferenceFragment owner,Runnable dataAvail"));
1.934.2.8. updateTimes()
void updateTimes()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTimes", ""));
1.934.2.9. onRefreshUi(int what)
public void onRefreshUi(int what)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRefreshUi", "int what"));
1.935. RunningServiceDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/RunningServiceDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.935.1. RunningServiceDetails Field属性列表
1.935.1.1. ActivityManager mAm;
ActivityManager mAm;
1.935.1.2. LayoutInflater mInflater;
LayoutInflater mInflater;
1.935.1.3. RunningState mState;
RunningState mState;
1.935.1.4. boolean mHaveData;
boolean mHaveData;
1.935.1.5. int mUid;
int mUid;
1.935.1.6. int mUserId;
int mUserId;
1.935.1.7. String mProcessName;
String mProcessName;
1.935.1.8. boolean mShowBackground;
boolean mShowBackground;
1.935.1.9. RunningState.MergedItem mMergedItem;
RunningState.MergedItem mMergedItem;
1.935.1.10. View mRootView;
View mRootView;
1.935.1.11. ViewGroup mAllDetails;
ViewGroup mAllDetails;
1.935.1.12. ViewGroup mSnippet;
ViewGroup mSnippet;
1.935.1.13. RunningProcessesView.ActiveItem mSnippetActiveItem;
RunningProcessesView.ActiveItem mSnippetActiveItem;
1.935.1.14. RunningProcessesView.ViewHolder mSnippetViewHolder;
RunningProcessesView.ViewHolder mSnippetViewHolder;
1.935.1.15. int mNumServices, mNumProcesses;
int mNumServices, mNumProcesses;
1.935.1.16. TextView mServicesHeader;
TextView mServicesHeader;
1.935.1.17. TextView mProcessesHeader;
TextView mProcessesHeader;
1.935.1.18. StringBuilder mBuilder
StringBuilder mBuilder = new StringBuilder(128);
1.935.1.19. final ArrayList mActiveDetails
final ArrayList mActiveDetails = new ArrayList();
1.935.1.20. static final String TAG
static final String TAG = "RunningServicesDetails";
1.935.1.21. static final String KEY_UID
static final String KEY_UID = "uid";
1.935.1.22. static final String KEY_USER_ID
static final String KEY_USER_ID = "user_id";
1.935.1.23. static final String KEY_PROCESS
static final String KEY_PROCESS = "process";
1.935.1.24. static final String KEY_BACKGROUND
static final String KEY_BACKGROUND = "background";
1.935.1.25. static final int DIALOG_CONFIRM_STOP
static final int DIALOG_CONFIRM_STOP = 1;
1.935.2. RunningServiceDetailsMethod方法列表
1.935.2.1. findMergedItem()
boolean findMergedItem()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"findMergedItem", ""));
1.935.2.2. addServicesHeader()
void addServicesHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addServicesHeader", ""));
1.935.2.3. addProcessesHeader()
void addProcessesHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addProcessesHeader", ""));
1.935.2.4. addServiceDetailsView(RunningState.ServiceItem si,RunningState.MergedItem mi,boolean isService,boolean inclDetails)
void addServiceDetailsView(RunningState.ServiceItem si, RunningState.MergedItem mi, boolean isService, boolean inclDetails)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addServiceDetailsView", "RunningState.ServiceItem si,RunningState.MergedItem mi,boolean isService,boolean inclDetails"));
1.935.2.5. addProcessDetailsView(RunningState.ProcessItem pi,boolean isMain)
void addProcessDetailsView(RunningState.ProcessItem pi, boolean isMain)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addProcessDetailsView", "RunningState.ProcessItem pi,boolean isMain"));
1.935.2.6. addDetailsViews(RunningState.MergedItem item,boolean inclServices,boolean inclProcesses)
void addDetailsViews(RunningState.MergedItem item, boolean inclServices, boolean inclProcesses)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDetailsViews", "RunningState.MergedItem item,boolean inclServices,boolean inclProcesses"));
1.935.2.7. addDetailViews()
void addDetailViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addDetailViews", ""));
1.935.2.8. refreshUi(boolean dataChanged)
void refreshUi(boolean dataChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshUi", "boolean dataChanged"));
1.935.2.9. finish()
private void finish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finish", ""));
1.935.2.10. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.935.2.11. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.935.2.12. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.935.2.13. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.935.2.14. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.935.2.15. activeDetailForService(ComponentName comp)
ActiveDetail activeDetailForService(ComponentName comp)
methodList.add(new ZMethod(mZAndroidAPPClass,"ActiveDetail" ,"activeDetailForService", "ComponentName comp"));
1.935.2.16. showConfirmStopDialog(ComponentName comp)
private void showConfirmStopDialog(ComponentName comp)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showConfirmStopDialog", "ComponentName comp"));
1.935.2.17. ensureData()
void ensureData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ensureData", ""));
1.935.2.18. updateTimes()
void updateTimes()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTimes", ""));
1.935.2.19. onRefreshUi(int what)
public void onRefreshUi(int what)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRefreshUi", "int what"));
1.936. RunningServices.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/RunningServices.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.936.1. RunningServices Field属性列表
1.936.1.1. RunningProcessesView mRunningProcessesView;
private RunningProcessesView mRunningProcessesView;
1.936.1.2. Menu mOptionsMenu;
private Menu mOptionsMenu;
1.936.1.3. View mLoadingContainer;
private View mLoadingContainer;
1.936.1.4. LoadingViewController mLoadingViewController;
private LoadingViewController mLoadingViewController;
1.936.1.5. final Runnable mRunningProcessesAvail
private final Runnable mRunningProcessesAvail = new Runnable() {
@Override
public void run() {
mLoadingViewController.showContent(true);
}
};
1.936.1.6. static final int SHOW_RUNNING_SERVICES
private static final int SHOW_RUNNING_SERVICES = 1;
1.936.1.7. static final int SHOW_BACKGROUND_PROCESSES
private static final int SHOW_BACKGROUND_PROCESSES = 2;
1.936.2. RunningServicesMethod方法列表
1.936.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.936.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.936.2.3. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.936.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.936.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.936.2.6. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.936.2.7. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.936.2.8. updateOptionsMenu()
private void updateOptionsMenu()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateOptionsMenu", ""));
1.936.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.937. RunningState.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/RunningState.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.937.1. RunningState Field属性列表
1.937.1.1. OnRefreshUiListener mRefreshUiListener;
OnRefreshUiListener mRefreshUiListener;
1.937.1.2. int mSequence
int mSequence = 0;
1.937.1.3. boolean mResumed;
boolean mResumed;
1.937.1.4. boolean mHaveData;
boolean mHaveData;
1.937.1.5. boolean mWatchingBackgroundItems;
boolean mWatchingBackgroundItems;
1.937.1.6. ArrayList mItems
ArrayList mItems = new ArrayList();
1.937.1.7. ArrayList mMergedItems
ArrayList mMergedItems = new ArrayList();
1.937.1.8. ArrayList mBackgroundItems
ArrayList mBackgroundItems = new ArrayList();
1.937.1.9. ArrayList mUserBackgroundItems
ArrayList mUserBackgroundItems = new ArrayList();
1.937.1.10. int mNumBackgroundProcesses;
int mNumBackgroundProcesses;
1.937.1.11. long mBackgroundProcessMemory;
long mBackgroundProcessMemory;
1.937.1.12. int mNumForegroundProcesses;
int mNumForegroundProcesses;
1.937.1.13. long mForegroundProcessMemory;
long mForegroundProcessMemory;
1.937.1.14. int mNumServiceProcesses;
int mNumServiceProcesses;
1.937.1.15. long mServiceProcessMemory;
long mServiceProcessMemory;
1.937.1.16. final Context mApplicationContext;
final Context mApplicationContext;
1.937.1.17. final ActivityManager mAm;
final ActivityManager mAm;
1.937.1.18. final PackageManager mPm;
final PackageManager mPm;
1.937.1.19. final UserManager mUm;
final UserManager mUm;
1.937.1.20. final int mMyUserId;
final int mMyUserId;
1.937.1.21. final boolean mHideManagedProfiles;
final boolean mHideManagedProfiles;
1.937.1.22. final InterestingConfigChanges mInterestingConfigChanges
final InterestingConfigChanges mInterestingConfigChanges = new InterestingConfigChanges();
1.937.1.23. final // by uid and name. Note that this mapping does not change even across // service restarts, and during a restart there will still be a process // entry. final SparseArray> mServiceProcessesByName
// Processes that are hosting a service we are interested in, organized
// by uid and name. Note that this mapping does not change even across
// service restarts, and during a restart there will still be a process
// entry.
final SparseArray> mServiceProcessesByName = new SparseArray>();
1.937.1.24. final // by their pid. These disappear and re-appear as services are restarted. final SparseArray mServiceProcessesByPid
// Processes that are hosting a service we are interested in, organized
// by their pid. These disappear and re-appear as services are restarted.
final SparseArray mServiceProcessesByPid = new SparseArray();
1.937.1.25. final ServiceProcessComparator mServiceProcessComparator
// Used to sort the interesting processes.
final ServiceProcessComparator mServiceProcessComparator = new ServiceProcessComparator();
1.937.1.26. final // there is no service running in them. final ArrayList mInterestingProcesses
// Additional interesting processes to be shown to the user, even if
// there is no service running in them.
final ArrayList mInterestingProcesses = new ArrayList();
1.937.1.27. final SparseArray mRunningProcesses
// All currently running processes, for finding dependencies etc.
final SparseArray mRunningProcesses = new SparseArray();
1.937.1.28. final ArrayList mProcessItems
// The processes associated with services, in sorted order.
final ArrayList mProcessItems = new ArrayList();
1.937.1.29. final ArrayList mAllProcessItems
// All processes, used for retrieving memory information.
final ArrayList mAllProcessItems = new ArrayList();
1.937.1.30. final // representing all items that would be put in mMergedItems for that user. final SparseArray mOtherUserMergedItems
// If there are other users on the device, these are the merged items
// representing all items that would be put in mMergedItems for that user.
final SparseArray mOtherUserMergedItems = new SparseArray();
1.937.1.31. final // representing all items that would be put in mUserBackgroundItems for that user. final SparseArray mOtherUserBackgroundItems
// If there are other users on the device, these are the merged items
// representing all items that would be put in mUserBackgroundItems for that user.
final SparseArray mOtherUserBackgroundItems = new SparseArray();
1.937.1.32. final SparseArray mTmpAppProcesses
// Temporary structure used when updating above information.
final SparseArray mTmpAppProcesses = new SparseArray();
1.937.1.33. final Comparator mBackgroundComparator
final Comparator mBackgroundComparator = new Comparator() {
@Override
public int compare(MergedItem lhs, MergedItem rhs) {
if (DEBUG_COMPARE) {
Log.i(TAG, "Comparing " + lhs + " with " + rhs);
Log.i(TAG, " Proc " + lhs.mProcess + " with " + rhs.mProcess);
Log.i(TAG, " UserId " + lhs.mUserId + " with " + rhs.mUserId);
}
if (lhs.mUserId != rhs.mUserId) {
if (lhs.mUserId == mMyUserId)
return -1;
if (rhs.mUserId == mMyUserId)
return 1;
return lhs.mUserId < rhs.mUserId ? -1 : 1;
}
if (lhs.mProcess == rhs.mProcess) {
if (lhs.mLabel == rhs.mLabel) {
return 0;
}
return lhs.mLabel != null ? lhs.mLabel.compareTo(rhs.mLabel) : -1;
}
if (lhs.mProcess == null)
return -1;
if (rhs.mProcess == null)
return 1;
if (DEBUG_COMPARE)
Log.i(TAG, " Label " + lhs.mProcess.mLabel + " with " + rhs.mProcess.mLabel);
final ActivityManager.RunningAppProcessInfo lhsInfo = lhs.mProcess.mRunningProcessInfo;
final ActivityManager.RunningAppProcessInfo rhsInfo = rhs.mProcess.mRunningProcessInfo;
final boolean lhsBg = lhsInfo.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_BACKGROUND;
final boolean rhsBg = rhsInfo.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_BACKGROUND;
if (DEBUG_COMPARE)
Log.i(TAG, " Bg " + lhsBg + " with " + rhsBg);
if (lhsBg != rhsBg) {
return lhsBg ? 1 : -1;
}
final boolean lhsA = (lhsInfo.flags & ActivityManager.RunningAppProcessInfo.FLAG_HAS_ACTIVITIES) != 0;
final boolean rhsA = (rhsInfo.flags & ActivityManager.RunningAppProcessInfo.FLAG_HAS_ACTIVITIES) != 0;
if (DEBUG_COMPARE)
Log.i(TAG, " Act " + lhsA + " with " + rhsA);
if (lhsA != rhsA) {
return lhsA ? -1 : 1;
}
if (DEBUG_COMPARE)
Log.i(TAG, " Lru " + lhsInfo.lru + " with " + rhsInfo.lru);
if (lhsInfo.lru != rhsInfo.lru) {
return lhsInfo.lru < rhsInfo.lru ? -1 : 1;
}
if (lhs.mProcess.mLabel == rhs.mProcess.mLabel) {
return 0;
}
if (lhs.mProcess.mLabel == null)
return 1;
if (rhs.mProcess.mLabel == null)
return -1;
return lhs.mProcess.mLabel.compareTo(rhs.mProcess.mLabel);
}
};
1.937.1.34. final // Lock for protecting the state that will be shared between the // background update thread and the UI thread. final Object mLock
// ----- following protected by mLock -----
// Lock for protecting the state that will be shared between the
// background update thread and the UI thread.
final Object mLock = new Object();
1.937.1.35. final HandlerThread mBackgroundThread;
// ----- BACKGROUND MONITORING THREAD -----
final HandlerThread mBackgroundThread;
1.937.1.36. final BackgroundHandler mBackgroundHandler;
final BackgroundHandler mBackgroundHandler;
1.937.1.37. final Handler mHandler
final Handler mHandler = new Handler() {
int mNextUpdate = OnRefreshUiListener.REFRESH_TIME;
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case MSG_REFRESH_UI:
mNextUpdate = msg.arg1 != 0 ? OnRefreshUiListener.REFRESH_STRUCTURE : OnRefreshUiListener.REFRESH_DATA;
break;
case MSG_UPDATE_TIME:
synchronized (mLock) {
if (!mResumed) {
return;
}
}
removeMessages(MSG_UPDATE_TIME);
Message m = obtainMessage(MSG_UPDATE_TIME);
sendMessageDelayed(m, TIME_UPDATE_DELAY);
if (mRefreshUiListener != null) {
//Log.i("foo", "Refresh UI: " + mNextUpdate
// + " @ " + SystemClock.uptimeMillis());
mRefreshUiListener.onRefreshUi(mNextUpdate);
mNextUpdate = OnRefreshUiListener.REFRESH_TIME;
}
break;
}
}
};
1.937.1.38. final UserManagerBroadcastReceiver mUmBroadcastReceiver
private final UserManagerBroadcastReceiver mUmBroadcastReceiver = new UserManagerBroadcastReceiver();
1.937.1.39. static Object sGlobalLock
static Object sGlobalLock = new Object();
1.937.1.40. static RunningState sInstance;
static RunningState sInstance;
1.937.1.41. static final String TAG
static final String TAG = "RunningState";
1.937.1.42. static final boolean DEBUG_COMPARE
static final boolean DEBUG_COMPARE = false;
1.937.1.43. static final int MSG_RESET_CONTENTS
static final int MSG_RESET_CONTENTS = 1;
1.937.1.44. static final int MSG_UPDATE_CONTENTS
static final int MSG_UPDATE_CONTENTS = 2;
1.937.1.45. static final int MSG_REFRESH_UI
static final int MSG_REFRESH_UI = 3;
1.937.1.46. static final int MSG_UPDATE_TIME
static final int MSG_UPDATE_TIME = 4;
1.937.1.47. static final long TIME_UPDATE_DELAY
static final long TIME_UPDATE_DELAY = 1000;
1.937.1.48. static final long CONTENTS_UPDATE_DELAY
static final long CONTENTS_UPDATE_DELAY = 2000;
1.937.1.49. static final int MAX_SERVICES
static final int MAX_SERVICES = 100;
1.937.2. RunningStateMethod方法列表
1.937.2.1. resume(OnRefreshUiListener listener)
void resume(OnRefreshUiListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", "OnRefreshUiListener listener"));
1.937.2.2. updateNow()
void updateNow()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNow", ""));
1.937.2.3. hasData()
boolean hasData()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasData", ""));
1.937.2.4. waitForData()
void waitForData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"waitForData", ""));
1.937.2.5. pause()
void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.937.2.6. isInterestingProcess(ActivityManager.RunningAppProcessInfo pi)
private boolean isInterestingProcess(ActivityManager.RunningAppProcessInfo pi)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInterestingProcess", "ActivityManager.RunningAppProcessInfo pi"));
1.937.2.7. reset()
private void reset()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reset", ""));
1.937.2.8. addOtherUserItem(Context context,ArrayList newMergedItems,SparseArray userItems,MergedItem newItem)
private void addOtherUserItem(Context context, ArrayList newMergedItems, SparseArray userItems, MergedItem newItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addOtherUserItem", "Context context,ArrayList newMergedItems,SparseArray userItems,MergedItem newItem"));
1.937.2.9. update(Context context,ActivityManager am)
private boolean update(Context context, ActivityManager am)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"update", "Context context,ActivityManager am"));
1.937.2.10. setWatchingBackgroundItems(boolean watching)
void setWatchingBackgroundItems(boolean watching)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWatchingBackgroundItems", "boolean watching"));
1.937.2.11. getCurrentMergedItems()
ArrayList getCurrentMergedItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getCurrentMergedItems", ""));
1.937.2.12. getCurrentBackgroundItems()
ArrayList getCurrentBackgroundItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getCurrentBackgroundItems", ""));
1.937.2.13. static makeLabel(PackageManager pm,String className,PackageItemInfo item)
static CharSequence makeLabel(PackageManager pm, String className, PackageItemInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"makeLabel", "PackageManager pm,String className,PackageItemInfo item"));
1.937.2.14. static getInstance(Context context)
static RunningState getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"RunningState" ,"getInstance", "Context context"));
1.938. SafetyInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/SafetyInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.938.1. SafetyInfoPreferenceController Field属性列表
1.938.1.1. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.938.1.2. static final Intent INTENT_PROBE
private static final Intent INTENT_PROBE = new Intent("android.settings.SHOW_SAFETY_AND_REGULATORY_INFO");
1.938.2. SafetyInfoPreferenceControllerMethod方法列表
1.938.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.938.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.939. SafetyLegalPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/SafetyLegalPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.939.1. SafetyLegalPreferenceController Field属性列表
1.939.1.1. static final String KEY_SAFETY_LEGAL
private static final String KEY_SAFETY_LEGAL = "safetylegal";
1.939.1.2. static final String PROPERTY_URL_SAFETYLEGAL
private static final String PROPERTY_URL_SAFETYLEGAL = "ro.url.safetylegal";
1.939.2. SafetyLegalPreferenceControllerMethod方法列表
1.939.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.939.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.940. SaveChosenLockWorkerBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SaveChosenLockWorkerBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.940.1. SaveChosenLockWorkerBase Field属性列表
1.940.1.1. Listener mListener;
private Listener mListener;
1.940.1.2. boolean mFinished;
private boolean mFinished;
1.940.1.3. Intent mResultData;
private Intent mResultData;
1.940.1.4. LockPatternUtils mUtils;
protected LockPatternUtils mUtils;
1.940.1.5. boolean mHasChallenge;
protected boolean mHasChallenge;
1.940.1.6. long mChallenge;
protected long mChallenge;
1.940.1.7. boolean mWasSecureBefore;
protected boolean mWasSecureBefore;
1.940.1.8. int mUserId;
protected int mUserId;
1.940.1.9. boolean mBlocking;
private boolean mBlocking;
1.940.2. SaveChosenLockWorkerBaseMethod方法列表
1.940.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.940.2.2. setListener(Listener listener)
public void setListener(Listener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "Listener listener"));
1.940.2.3. prepare(LockPatternUtils utils,boolean credentialRequired,boolean hasChallenge,long challenge,int userId)
protected void prepare(LockPatternUtils utils, boolean credentialRequired, boolean hasChallenge, long challenge, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"prepare", "LockPatternUtils utils,boolean credentialRequired,boolean hasChallenge,long challenge,int userId"));
1.940.2.4. start()
protected void start()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"start", ""));
1.940.2.5. finish(Intent resultData)
protected void finish(Intent resultData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finish", "Intent resultData"));
1.940.2.6. setBlocking(boolean blocking)
public void setBlocking(boolean blocking)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBlocking", "boolean blocking"));
1.940.2.7. abstract saveAndVerifyInBackground()
protected abstract Intent saveAndVerifyInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"saveAndVerifyInBackground", ""));
1.941. SavedAccessPointsWifiSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/SavedAccessPointsWifiSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.941.1. SavedAccessPointsWifiSettings Field属性列表
1.941.1.1. WifiDialog mDialog;
private WifiDialog mDialog;
1.941.1.2. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.941.1.3. AccessPoint mDlgAccessPoint;
private AccessPoint mDlgAccessPoint;
1.941.1.4. Bundle mAccessPointSavedState;
private Bundle mAccessPointSavedState;
1.941.1.5. AccessPoint mSelectedAccessPoint;
private AccessPoint mSelectedAccessPoint;
1.941.1.6. Preference mAddNetworkPreference;
private Preference mAddNetworkPreference;
1.941.1.7. AccessPointPreference.UserBadgeCache mUserBadgeCache;
private AccessPointPreference.UserBadgeCache mUserBadgeCache;
1.941.1.8. final WifiManager.ActionListener mForgetListener
@VisibleForTesting
final WifiManager.ActionListener mForgetListener = new WifiManager.ActionListener() {
@Override
public void onSuccess() {
postUpdatePreference();
}
@Override
public void onFailure(int reason) {
postUpdatePreference();
}
};
1.941.1.9. final Handler mHandler
@VisibleForTesting
final Handler mHandler = new Handler() {
@Override
public void handleMessage(android.os.Message msg) {
if (msg.what == MSG_UPDATE_PREFERENCES) {
initPreferences();
}
}
};
1.941.1.10. final WifiManager.ActionListener mSaveListener
private final WifiManager.ActionListener mSaveListener = new WifiManager.ActionListener() {
@Override
public void onSuccess() {
postUpdatePreference();
}
@Override
public void onFailure(int reason) {
Activity activity = getActivity();
if (activity != null) {
Toast.makeText(activity, R.string.wifi_failed_save_message, Toast.LENGTH_SHORT).show();
}
}
};
1.941.1.11. static final String TAG
private static final String TAG = "SavedAccessPoints";
1.941.1.12. static final int MSG_UPDATE_PREFERENCES
@VisibleForTesting
static final int MSG_UPDATE_PREFERENCES = 1;
1.941.1.13. static final Comparator SAVED_NETWORK_COMPARATOR
private static final Comparator SAVED_NETWORK_COMPARATOR = new Comparator() {
final Collator mCollator = Collator.getInstance();
@Override
public int compare(AccessPoint ap1, AccessPoint ap2) {
return mCollator.compare(nullToEmpty(ap1.getConfigName()), nullToEmpty(ap2.getConfigName()));
}
private String nullToEmpty(String string) {
return (string == null) ? "" : string;
}
};
1.941.1.14. static final String SAVE_DIALOG_ACCESS_POINT_STATE
// Instance state key
private static final String SAVE_DIALOG_ACCESS_POINT_STATE = "wifi_ap_state";
1.941.2. SavedAccessPointsWifiSettingsMethod方法列表
1.941.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.941.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.941.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.941.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.941.2.5. initPreferences()
private void initPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreferences", ""));
1.941.2.6. postUpdatePreference()
private void postUpdatePreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"postUpdatePreference", ""));
1.941.2.7. showWifiDialog(@Nullable LongPressAccessPointPreference accessPoint)
private void showWifiDialog(@Nullable LongPressAccessPointPreference accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showWifiDialog", "@Nullable LongPressAccessPointPreference accessPoint"));
1.941.2.8. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.941.2.9. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.941.2.10. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.941.2.11. onForget(WifiDialog dialog)
public void onForget(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForget", "WifiDialog dialog"));
1.941.2.12. onSubmit(WifiDialog dialog)
public void onSubmit(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSubmit", "WifiDialog dialog"));
1.941.2.13. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.942. SavedBluetoothDeviceUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/SavedBluetoothDeviceUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.942.1. SavedBluetoothDeviceUpdater Field属性列表
1.942.1.1. static final String TAG
private static final String TAG = "SavedBluetoothDeviceUpdater";
1.942.2. SavedBluetoothDeviceUpdaterMethod方法列表
1.942.2.1. onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile)
public void onProfileConnectionStateChanged(CachedBluetoothDevice cachedDevice, int state, int bluetoothProfile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProfileConnectionStateChanged", "CachedBluetoothDevice cachedDevice,int state,int bluetoothProfile"));
1.942.2.2. isFilterMatched(CachedBluetoothDevice cachedDevice)
public boolean isFilterMatched(CachedBluetoothDevice cachedDevice)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFilterMatched", "CachedBluetoothDevice cachedDevice"));
1.942.2.3. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.943. SavedDeviceGroupController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/SavedDeviceGroupController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.943.1. SavedDeviceGroupController Field属性列表
1.943.1.1. PreferenceGroup mPreferenceGroup;
@VisibleForTesting
PreferenceGroup mPreferenceGroup;
1.943.1.2. BluetoothDeviceUpdater mBluetoothDeviceUpdater;
private BluetoothDeviceUpdater mBluetoothDeviceUpdater;
1.943.1.3. DockUpdater mSavedDockUpdater;
private DockUpdater mSavedDockUpdater;
1.943.1.4. static final String KEY
private static final String KEY = "saved_device_list";
1.943.2. SavedDeviceGroupControllerMethod方法列表
1.943.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.943.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.943.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.943.2.4. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.943.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.943.2.6. onDeviceAdded(Preference preference)
public void onDeviceAdded(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceAdded", "Preference preference"));
1.943.2.7. onDeviceRemoved(Preference preference)
public void onDeviceRemoved(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeviceRemoved", "Preference preference"));
1.943.2.8. init(DashboardFragment fragment)
public void init(DashboardFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "DashboardFragment fragment"));
1.943.2.9. setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
public void setBluetoothDeviceUpdater(BluetoothDeviceUpdater bluetoothDeviceUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBluetoothDeviceUpdater", "BluetoothDeviceUpdater bluetoothDeviceUpdater"));
1.943.2.10. setSavedDockUpdater(DockUpdater savedDockUpdater)
public void setSavedDockUpdater(DockUpdater savedDockUpdater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSavedDockUpdater", "DockUpdater savedDockUpdater"));
1.944. ScanningSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/ScanningSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.944.1. ScanningSettings Field属性列表
1.944.1.1. static final String TAG
private static final String TAG = "ScanningSettings";
1.944.1.2. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.location_scanning;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.944.2. ScanningSettingsMethod方法列表
1.944.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.944.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.944.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.944.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.944.2.5. static buildPreferenceControllers(Context context)
private static List buildPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context"));
1.945. ScreenLockSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/screenlock/ScreenLockSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.945.1. ScreenLockSettings Field属性列表
1.945.1.1. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.945.1.2. static final String TAG
private static final String TAG = "ScreenLockSettings";
1.945.1.3. static final String KEY_LOCK_SCREEN_TITLE
private static final String KEY_LOCK_SCREEN_TITLE = "security_settings_password_sub_screen";
1.945.1.4. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.945.1.5. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.screen_lock_settings;
result.add(sir);
return result;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* parent */
null, /* lifecycle */
new LockPatternUtils(context));
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
keys.add(KEY_LOCK_SCREEN_TITLE);
return keys;
}
};
1.945.2. ScreenLockSettingsMethod方法列表
1.945.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.945.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.945.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.945.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.945.2.5. onOwnerInfoUpdated()
public void onOwnerInfoUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onOwnerInfoUpdated", ""));
1.945.2.6. static buildPreferenceControllers(Context context,Fragment parent,Lifecycle lifecycle,LockPatternUtils lockPatternUtils)
private static List buildPreferenceControllers(Context context, Fragment parent, Lifecycle lifecycle, LockPatternUtils lockPatternUtils)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Fragment parent,Lifecycle lifecycle,LockPatternUtils lockPatternUtils"));
1.946. ScreenLockSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ScreenLockSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.946.1. ScreenLockSoundPreferenceController Field属性列表
1.946.1.1. static final String KEY_SCREEN_LOCKING_SOUNDS
private static final String KEY_SCREEN_LOCKING_SOUNDS = "screen_locking_sounds";
1.946.2. ScreenLockSoundPreferenceControllerMethod方法列表
1.946.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.947. ScreenLockSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ScreenLockSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.947.1. ScreenLockSuggestionActivity Field属性列表
1.947.2. ScreenLockSuggestionActivityMethod方法列表
1.947.2.1. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.948. ScreenLockType.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/ScreenLockType.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.949. ScreenPinningPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ScreenPinningPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.949.1. ScreenPinningPreferenceController Field属性列表
1.949.1.1. static final String KEY_SCREEN_PINNING
private static final String KEY_SCREEN_PINNING = "screen_pinning_settings";
1.949.2. ScreenPinningPreferenceControllerMethod方法列表
1.949.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.949.2.2. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.950. ScreenPinningSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ScreenPinningSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.950.1. ScreenPinningSettings Field属性列表
1.950.1.1. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.950.1.2. SwitchPreference mUseScreenLock;
private SwitchPreference mUseScreenLock;
1.950.1.3. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.950.1.4. static final CharSequence KEY_USE_SCREEN_LOCK
private static final CharSequence KEY_USE_SCREEN_LOCK = "use_screen_lock";
1.950.1.5. static final int CHANGE_LOCK_METHOD_REQUEST
private static final int CHANGE_LOCK_METHOD_REQUEST = 43;
1.950.1.6. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For search
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.screen_pinning_settings;
return Arrays.asList(sir);
}
};
1.950.2. ScreenPinningSettingsMethod方法列表
1.950.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.950.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.950.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.950.2.4. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.950.2.5. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.950.2.6. setLockToAppEnabled(boolean isEnabled)
private void setLockToAppEnabled(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLockToAppEnabled", "boolean isEnabled"));
1.950.2.7. isScreenLockUsed()
private boolean isScreenLockUsed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isScreenLockUsed", ""));
1.950.2.8. setScreenLockUsed(boolean isEnabled)
private boolean setScreenLockUsed(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setScreenLockUsed", "boolean isEnabled"));
1.950.2.9. setScreenLockUsedSetting(boolean isEnabled)
private void setScreenLockUsedSetting(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setScreenLockUsedSetting", "boolean isEnabled"));
1.950.2.10. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.950.2.11. getCurrentSecurityTitle()
private int getCurrentSecurityTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCurrentSecurityTitle", ""));
1.950.2.12. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.950.2.13. updateDisplay()
public void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.950.2.14. static isLockToAppEnabled(Context context)
private static boolean isLockToAppEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLockToAppEnabled", "Context context"));
1.951. ScreenSaverPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ScreenSaverPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.951.1. ScreenSaverPreferenceController Field属性列表
1.951.1.1. static final String KEY_SCREEN_SAVER
private static final String KEY_SCREEN_SAVER = "screensaver";
1.951.2. ScreenSaverPreferenceControllerMethod方法列表
1.951.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.951.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.951.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.952. ScreenZoomPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ScreenZoomPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.952.1. ScreenZoomPreference Field属性列表
1.952.2. ScreenZoomPreferenceMethod方法列表
1.953. ScreenZoomPreferenceFragmentForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ScreenZoomPreferenceFragmentForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.953.1. ScreenZoomPreferenceFragmentForSetupWizard Field属性列表
1.953.2. ScreenZoomPreferenceFragmentForSetupWizardMethod方法列表
1.953.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.953.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.954. ScreenZoomSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ScreenZoomSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.954.1. ScreenZoomSettings Field属性列表
1.954.1.1. int mDefaultDensity;
private int mDefaultDensity;
1.954.1.2. int[] mValues;
private int[] mValues;
1.954.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/** Index provider used to expose this fragment in search. */
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final Resources res = context.getResources();
final SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = res.getString(R.string.screen_zoom_title);
data.key = "screen_zoom_settings";
data.screenTitle = res.getString(R.string.screen_zoom_title);
data.keywords = res.getString(R.string.screen_zoom_keywords);
final List result = new ArrayList<>(1);
result.add(data);
return result;
}
};
1.954.2. ScreenZoomSettingsMethod方法列表
1.954.2.1. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.954.2.2. createConfig(Configuration origConfig,int index)
protected Configuration createConfig(Configuration origConfig, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Configuration" ,"createConfig", "Configuration origConfig,int index"));
1.954.2.3. commit()
protected void commit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"commit", ""));
1.954.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.954.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.955. ScrollToParentEditText.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ScrollToParentEditText.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.955.1. ScrollToParentEditText Field属性列表
1.955.1.1. Rect mRect
private Rect mRect = new Rect();
1.955.2. ScrollToParentEditTextMethod方法列表
1.955.2.1. requestRectangleOnScreen(Rect rectangle,boolean immediate)
public boolean requestRectangleOnScreen(Rect rectangle, boolean immediate)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"requestRectangleOnScreen", "Rect rectangle,boolean immediate"));
1.956. SearchFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.957. SearchFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.957.1. SearchFeatureProviderImpl Field属性列表
1.957.1.1. DatabaseIndexingManager mDatabaseIndexingManager;
private DatabaseIndexingManager mDatabaseIndexingManager;
1.957.1.2. SearchIndexableResources mSearchIndexableResources;
private SearchIndexableResources mSearchIndexableResources;
1.957.1.3. static final String TAG
private static final String TAG = "SearchFeatureProvider";
1.957.1.4. static final String METRICS_ACTION_SETTINGS_INDEX
private static final String METRICS_ACTION_SETTINGS_INDEX = "search_synchronous_indexing";
1.957.2. SearchFeatureProviderImplMethod方法列表
1.957.2.1. verifyLaunchSearchResultPageCaller(Context context,ComponentName caller)
public void verifyLaunchSearchResultPageCaller(Context context, ComponentName caller)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"verifyLaunchSearchResultPageCaller", "Context context,ComponentName caller"));
1.957.2.2. getIndexingManager(Context context)
public DatabaseIndexingManager getIndexingManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"DatabaseIndexingManager" ,"getIndexingManager", "Context context"));
1.957.2.3. updateIndex(Context context)
public void updateIndex(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateIndex", "Context context"));
1.957.2.4. getSearchIndexableResources()
public SearchIndexableResources getSearchIndexableResources()
methodList.add(new ZMethod(mZAndroidAPPClass,"SearchIndexableResources" ,"getSearchIndexableResources", ""));
1.957.2.5. isSignatureWhitelisted(Context context,String callerPackage)
protected boolean isSignatureWhitelisted(Context context, String callerPackage)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSignatureWhitelisted", "Context context,String callerPackage"));
1.957.2.6. cleanQuery(String query)
String cleanQuery(String query)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"cleanQuery", "String query"));
1.958. SearchIndexableRaw.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchIndexableRaw.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.958.1. SearchIndexableRaw Field属性列表
1.958.1.1. String title;
/**
* Title's raw data.
*/
public String title;
1.958.1.2. String summaryOn;
/**
* Summary's raw data when the data is "ON".
*/
public String summaryOn;
1.958.1.3. String summaryOff;
/**
* Summary's raw data when the data is "OFF".
*/
public String summaryOff;
1.958.1.4. String entries;
/**
* Entries associated with the raw data (when the data can have several values).
*/
public String entries;
1.958.1.5. String keywords;
/**
* Keywords' raw data.
*/
public String keywords;
1.958.1.6. String screenTitle;
/**
* Fragment's or Activity's title associated with the raw data.
*/
public String screenTitle;
1.958.2. SearchIndexableRawMethod方法列表
1.959. SearchIndexableResources.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchIndexableResources.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.960. SearchIndexableResourcesImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchIndexableResourcesImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.960.1. SearchIndexableResourcesImpl Field属性列表
1.960.1.1. final Set sProviders
private final Set sProviders = new HashSet<>();
1.960.2. SearchIndexableResourcesImplMethod方法列表
1.960.2.1. addIndex(Class indexClass)
void addIndex(Class indexClass)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addIndex", "Class indexClass"));
1.960.2.2. getProviderValues()
public Collection getProviderValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"Collection" ,"getProviderValues", ""));
1.961. SearchMenuController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/actionbar/SearchMenuController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.961.1. SearchMenuController Field属性列表
1.961.1.1. final Fragment mHost;
private final Fragment mHost;
1.961.1.2. static final String NEED_SEARCH_ICON_IN_ACTION_BAR
public static final String NEED_SEARCH_ICON_IN_ACTION_BAR = "need_search_icon_in_action_bar";
1.961.2. SearchMenuControllerMethod方法列表
1.961.2.1. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.961.2.2. static init(@NonNull ObservablePreferenceFragment host)
public static void init(@NonNull ObservablePreferenceFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "@NonNull ObservablePreferenceFragment host"));
1.961.2.3. static init(@NonNull ObservableFragment host)
public static void init(@NonNull ObservableFragment host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", "@NonNull ObservableFragment host"));
1.962. SearchResultTrampoline.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SearchResultTrampoline.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.962.1. SearchResultTrampoline Field属性列表
1.962.2. SearchResultTrampolineMethod方法列表
1.962.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.963. SecondaryDisplayPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/SecondaryDisplayPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.963.1. SecondaryDisplayPreferenceController Field属性列表
1.963.1.1. final String[] mListValues;
private final String[] mListValues;
1.963.1.2. final String[] mListSummaries;
private final String[] mListSummaries;
1.963.1.3. static final String OVERLAY_DISPLAY_DEVICES_KEY
private static final String OVERLAY_DISPLAY_DEVICES_KEY = "overlay_display_devices";
1.963.2. SecondaryDisplayPreferenceControllerMethod方法列表
1.963.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.963.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.963.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.963.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.963.2.5. updateSecondaryDisplayDevicesOptions()
private void updateSecondaryDisplayDevicesOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSecondaryDisplayDevicesOptions", ""));
1.963.2.6. writeSecondaryDisplayDevicesOption(String newValue)
private void writeSecondaryDisplayDevicesOption(String newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeSecondaryDisplayDevicesOption", "String newValue"));
1.964. SecondaryUserController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/SecondaryUserController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.964.1. SecondaryUserController Field属性列表
1.964.1.1. UserInfo mUser;
@NonNull
private UserInfo mUser;
1.964.1.2. StorageItemPreference mStoragePreference;
@Nullable
private StorageItemPreference mStoragePreference;
1.964.1.3. Drawable mUserIcon;
private Drawable mUserIcon;
1.964.1.4. long mSize;
private long mSize;
1.964.1.5. long mTotalSizeBytes;
private long mTotalSizeBytes;
1.964.1.6. static final String TARGET_PREFERENCE_GROUP_KEY
// PreferenceGroupKey to try to add our preference onto.
private static final String TARGET_PREFERENCE_GROUP_KEY = "pref_secondary_users";
1.964.1.7. static final String PREFERENCE_KEY_BASE
private static final String PREFERENCE_KEY_BASE = "pref_user_";
1.964.1.8. static final int USER_PROFILE_INSERTION_LOCATION
private static final int USER_PROFILE_INSERTION_LOCATION = 6;
1.964.1.9. static final int SIZE_NOT_SET
private static final int SIZE_NOT_SET = -1;
1.964.2. SecondaryUserControllerMethod方法列表
1.964.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.964.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.964.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.964.2.4. getUser()
public UserInfo getUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"UserInfo" ,"getUser", ""));
1.964.2.5. setSize(long size)
public void setSize(long size)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSize", "long size"));
1.964.2.6. setTotalSize(long totalSizeBytes)
public void setTotalSize(long totalSizeBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTotalSize", "long totalSizeBytes"));
1.964.2.7. handleResult(SparseArray stats)
public void handleResult(SparseArray stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleResult", "SparseArray stats"));
1.964.2.8. handleUserIcons(SparseArray fetchedIcons)
public void handleUserIcons(SparseArray fetchedIcons)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUserIcons", "SparseArray fetchedIcons"));
1.964.2.9. maybeSetIcon()
private void maybeSetIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeSetIcon", ""));
1.964.2.10. static getSecondaryUserControllers(Context context,UserManager userManager)
public static List getSecondaryUserControllers(Context context, UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSecondaryUserControllers", "Context context,UserManager userManager"));
1.965. SecureSettingSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/SecureSettingSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.965.1. SecureSettingSwitchPreferenceController Field属性列表
1.965.1.1. final String mSettingsKey;
private final String mSettingsKey;
1.965.1.2. static final int SETTING_VALUE_OFF
private static final int SETTING_VALUE_OFF = 0;
1.965.1.3. static final int SETTING_VALUE_ON
private static final int SETTING_VALUE_ON = 1;
1.965.2. SecureSettingSwitchPreferenceControllerMethod方法列表
1.965.2.1. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.965.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.965.2.3. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.966. SecurityFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/SecurityFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.967. SecurityFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/SecurityFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.967.1. SecurityFeatureProviderImpl Field属性列表
1.967.1.1. TrustAgentManager mTrustAgentManager;
private TrustAgentManager mTrustAgentManager;
1.967.1.2. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.967.2. SecurityFeatureProviderImplMethod方法列表
1.967.2.1. getTrustAgentManager()
public TrustAgentManager getTrustAgentManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"TrustAgentManager" ,"getTrustAgentManager", ""));
1.967.2.2. getLockPatternUtils(Context context)
public LockPatternUtils getLockPatternUtils(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"LockPatternUtils" ,"getLockPatternUtils", "Context context"));
1.968. SecurityLogsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/enterprise/SecurityLogsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.968.1. SecurityLogsPreferenceController Field属性列表
1.968.1.1. static final String KEY_SECURITY_LOGS
private static final String KEY_SECURITY_LOGS = "security_logs";
1.968.2. SecurityLogsPreferenceControllerMethod方法列表
1.968.2.1. getAdminActionTimestamp()
protected Date getAdminActionTimestamp()
methodList.add(new ZMethod(mZAndroidAPPClass,"Date" ,"getAdminActionTimestamp", ""));
1.968.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.968.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.969. SecurityPatchLevelDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/SecurityPatchLevelDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.969.1. SecurityPatchLevelDialogController Field属性列表
1.969.1.1. final FirmwareVersionDialogFragment mDialog;
private final FirmwareVersionDialogFragment mDialog;
1.969.1.2. final Context mContext;
private final Context mContext;
1.969.1.3. final PackageManagerWrapper mPackageManager;
private final PackageManagerWrapper mPackageManager;
1.969.1.4. final String mCurrentPatch;
private final String mCurrentPatch;
1.969.1.5. static final String TAG
private static final String TAG = "SecurityPatchCtrl";
1.969.1.6. static final Uri INTENT_URI_DATA
private static final Uri INTENT_URI_DATA = Uri.parse("https://source.android.com/security/bulletin/");
1.969.1.7. static final int SECURITY_PATCH_VALUE_ID
@VisibleForTesting
static final int SECURITY_PATCH_VALUE_ID = R.id.security_patch_level_value;
1.969.1.8. static final int SECURITY_PATCH_LABEL_ID
@VisibleForTesting
static final int SECURITY_PATCH_LABEL_ID = R.id.security_patch_level_label;
1.969.2. SecurityPatchLevelDialogControllerMethod方法列表
1.969.2.1. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.969.2.2. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.969.2.3. registerListeners()
private void registerListeners()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerListeners", ""));
1.970. SecuritySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/SecuritySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.970.1. SecuritySettings Field属性列表
1.970.1.1. static final String TAG
private static final String TAG = "SecuritySettings";
1.970.1.2. static final String SECURITY_CATEGORY
private static final String SECURITY_CATEGORY = "security_category";
1.970.1.3. static final String WORK_PROFILE_SECURITY_CATEGORY
private static final String WORK_PROFILE_SECURITY_CATEGORY = "security_category_profile";
1.970.1.4. static final int CHANGE_TRUST_AGENT_SETTINGS
public static final int CHANGE_TRUST_AGENT_SETTINGS = 126;
1.970.1.5. static final int UNIFY_LOCK_CONFIRM_DEVICE_REQUEST
public static final int UNIFY_LOCK_CONFIRM_DEVICE_REQUEST = 128;
1.970.1.6. static final int UNIFY_LOCK_CONFIRM_PROFILE_REQUEST
public static final int UNIFY_LOCK_CONFIRM_PROFILE_REQUEST = 129;
1.970.1.7. static final int UNUNIFY_LOCK_CONFIRM_DEVICE_REQUEST
public static final int UNUNIFY_LOCK_CONFIRM_DEVICE_REQUEST = 130;
1.970.1.8. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search. Please keep it in sync when updating "createPreferenceHierarchy()"
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final List index = new ArrayList<>();
// Append the rest of the settings
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.security_dashboard_settings;
index.add(sir);
return index;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* lifecycle */
null);
}
};
1.970.1.9. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.970.2. SecuritySettingsMethod方法列表
1.970.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.970.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.970.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.970.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.970.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.970.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.970.2.7. launchConfirmDeviceLockForUnification()
void launchConfirmDeviceLockForUnification()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchConfirmDeviceLockForUnification", ""));
1.970.2.8. unifyUncompliantLocks()
void unifyUncompliantLocks()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unifyUncompliantLocks", ""));
1.970.2.9. updateUnificationPreference()
void updateUnificationPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUnificationPreference", ""));
1.970.2.10. static buildPreferenceControllers(Context context,Lifecycle lifecycle,SecuritySettings host)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle, SecuritySettings host)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle,SecuritySettings host"));
1.971. SeekBarDialogPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SeekBarDialogPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.971.1. SeekBarDialogPreference Field属性列表
1.971.1.1. final Drawable mMyIcon;
private final Drawable mMyIcon;
1.971.2. SeekBarDialogPreferenceMethod方法列表
1.971.2.1. createActionButtons()
public void createActionButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createActionButtons", ""));
1.971.2.2. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.971.2.3. static getSeekBar(View dialogView)
protected static SeekBar getSeekBar(View dialogView)
methodList.add(new ZMethod(mZAndroidAPPClass,"SeekBar" ,"getSeekBar", "View dialogView"));
1.972. SeekBarPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SeekBarPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.972.1. SeekBarPreference Field属性列表
1.972.1.1. int mProgress;
private int mProgress;
1.972.1.2. int mMax;
private int mMax;
1.972.1.3. int mMin;
private int mMin;
1.972.1.4. boolean mTrackingTouch;
private boolean mTrackingTouch;
1.972.1.5. boolean mContinuousUpdates;
private boolean mContinuousUpdates;
1.972.1.6. int mDefaultProgress
private int mDefaultProgress = -1;
1.972.1.7. SeekBar mSeekBar;
private SeekBar mSeekBar;
1.972.1.8. boolean mShouldBlink;
private boolean mShouldBlink;
1.972.1.9. int mAccessibilityRangeInfoType
private int mAccessibilityRangeInfoType = AccessibilityNodeInfo.RangeInfo.RANGE_TYPE_INT;
1.972.1.10. CharSequence mSeekBarContentDescription;
private CharSequence mSeekBarContentDescription;
1.972.2. SeekBarPreferenceMethod方法列表
1.972.2.1. setShouldBlink(boolean shouldBlink)
public void setShouldBlink(boolean shouldBlink)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShouldBlink", "boolean shouldBlink"));
1.972.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.972.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.972.2.4. onSetInitialValue(boolean restoreValue,Object defaultValue)
protected void onSetInitialValue(boolean restoreValue, Object defaultValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSetInitialValue", "boolean restoreValue,Object defaultValue"));
1.972.2.5. onGetDefaultValue(TypedArray a,int index)
protected Object onGetDefaultValue(TypedArray a, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"onGetDefaultValue", "TypedArray a,int index"));
1.972.2.6. onKey(View v,int keyCode,KeyEvent event)
public boolean onKey(View v, int keyCode, KeyEvent event)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onKey", "View v,int keyCode,KeyEvent event"));
1.972.2.7. setMax(int max)
public void setMax(int max)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMax", "int max"));
1.972.2.8. setMin(int min)
public void setMin(int min)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMin", "int min"));
1.972.2.9. getMax()
public int getMax()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMax", ""));
1.972.2.10. getMin()
public int getMin()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMin", ""));
1.972.2.11. setProgress(int progress)
public void setProgress(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "int progress"));
1.972.2.12. setDefaultProgress(int defaultProgress)
public void setDefaultProgress(int defaultProgress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultProgress", "int defaultProgress"));
1.972.2.13. setContinuousUpdates(boolean continuousUpdates)
public void setContinuousUpdates(boolean continuousUpdates)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setContinuousUpdates", "boolean continuousUpdates"));
1.972.2.14. setProgress(int progress,boolean notifyChanged)
private void setProgress(int progress, boolean notifyChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgress", "int progress,boolean notifyChanged"));
1.972.2.15. getProgress()
public int getProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getProgress", ""));
1.972.2.16. syncProgress(SeekBar seekBar)
void syncProgress(SeekBar seekBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"syncProgress", "SeekBar seekBar"));
1.972.2.17. onProgressChanged(SeekBar seekBar,int progress,boolean fromUser)
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProgressChanged", "SeekBar seekBar,int progress,boolean fromUser"));
1.972.2.18. onStartTrackingTouch(SeekBar seekBar)
public void onStartTrackingTouch(SeekBar seekBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStartTrackingTouch", "SeekBar seekBar"));
1.972.2.19. onStopTrackingTouch(SeekBar seekBar)
public void onStopTrackingTouch(SeekBar seekBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStopTrackingTouch", "SeekBar seekBar"));
1.972.2.20. setAccessibilityRangeInfoType(int rangeInfoType)
public void setAccessibilityRangeInfoType(int rangeInfoType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccessibilityRangeInfoType", "int rangeInfoType"));
1.972.2.21. setSeekBarContentDescription(CharSequence contentDescription)
public void setSeekBarContentDescription(CharSequence contentDescription)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSeekBarContentDescription", "CharSequence contentDescription"));
1.972.2.22. onSaveInstanceState()
protected Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.972.2.23. onRestoreInstanceState(Parcelable state)
protected void onRestoreInstanceState(Parcelable state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable state"));
1.973. SelectDebugAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/SelectDebugAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.973.1. SelectDebugAppPreferenceController Field属性列表
1.973.1.1. final DevelopmentSettingsDashboardFragment mFragment;
private final DevelopmentSettingsDashboardFragment mFragment;
1.973.1.2. final PackageManagerWrapper mPackageManager;
private final PackageManagerWrapper mPackageManager;
1.973.1.3. static final String DEBUG_APP_KEY
private static final String DEBUG_APP_KEY = "debug_app";
1.973.2. SelectDebugAppPreferenceControllerMethod方法列表
1.973.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.973.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.973.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.973.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.973.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.973.2.6. getActivityStartIntent()
Intent getActivityStartIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getActivityStartIntent", ""));
1.973.2.7. updatePreferenceSummary()
private void updatePreferenceSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceSummary", ""));
1.973.2.8. getAppLabel(String debugApp)
private String getAppLabel(String debugApp)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAppLabel", "String debugApp"));
1.974. SelfAvailablePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SelfAvailablePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.975. SetFullBackupPassword.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SetFullBackupPassword.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.975.1. SetFullBackupPassword Field属性列表
1.975.1.1. IBackupManager mBackupManager;
IBackupManager mBackupManager;
1.975.1.2. TextView mCurrentPw, mNewPw, mConfirmNewPw;
TextView mCurrentPw, mNewPw, mConfirmNewPw;
1.975.1.3. Button mCancel, mSet;
Button mCancel, mSet;
1.975.1.4. OnClickListener mButtonListener
OnClickListener mButtonListener = new OnClickListener() {
@Override
public void onClick(View v) {
if (v == mSet) {
final String curPw = mCurrentPw.getText().toString();
final String newPw = mNewPw.getText().toString();
final String confirmPw = mConfirmNewPw.getText().toString();
if (!newPw.equals(confirmPw)) {
// Mismatch between new pw and its confirmation re-entry
Log.i(TAG, "password mismatch");
Toast.makeText(SetFullBackupPassword.this, R.string.local_backup_password_toast_confirmation_mismatch, Toast.LENGTH_LONG).show();
return;
}
if (setBackupPassword(curPw, newPw)) {
// success
Log.i(TAG, "password set successfully");
Toast.makeText(SetFullBackupPassword.this, R.string.local_backup_password_toast_success, Toast.LENGTH_LONG).show();
finish();
} else {
// failure -- bad existing pw, usually
Log.i(TAG, "failure; password mismatch?");
Toast.makeText(SetFullBackupPassword.this, R.string.local_backup_password_toast_validation_failure, Toast.LENGTH_LONG).show();
}
} else if (v == mCancel) {
finish();
} else {
Log.w(TAG, "Click on unknown view");
}
}
};
1.975.1.5. static final String TAG
static final String TAG = "SetFullBackupPassword";
1.975.2. SetFullBackupPasswordMethod方法列表
1.975.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.975.2.2. setBackupPassword(String currentPw,String newPw)
private boolean setBackupPassword(String currentPw, String newPw)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setBackupPassword", "String currentPw,String newPw"));
1.976. SetNewPasswordActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetNewPasswordActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.976.1. SetNewPasswordActivity Field属性列表
1.976.1.1. String mNewPasswordAction;
private String mNewPasswordAction;
1.976.1.2. SetNewPasswordController mSetNewPasswordController;
private SetNewPasswordController mSetNewPasswordController;
1.976.1.3. static final String TAG
private static final String TAG = "SetNewPasswordActivity";
1.976.2. SetNewPasswordActivityMethod方法列表
1.976.2.1. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.976.2.2. launchChooseLock(Bundle chooseLockFingerprintExtras)
public void launchChooseLock(Bundle chooseLockFingerprintExtras)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchChooseLock", "Bundle chooseLockFingerprintExtras"));
1.977. SetNewPasswordController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetNewPasswordController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.977.1. SetNewPasswordController Field属性列表
1.977.1.1. final int mTargetUserId;
/**
* Which user is setting new password.
*/
private final int mTargetUserId;
1.977.1.2. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.977.1.3. final FingerprintManager mFingerprintManager;
@Nullable
private final FingerprintManager mFingerprintManager;
1.977.1.4. final DevicePolicyManager mDevicePolicyManager;
private final DevicePolicyManager mDevicePolicyManager;
1.977.1.5. final Ui mUi;
private final Ui mUi;
1.977.2. SetNewPasswordControllerMethod方法列表
1.977.2.1. dispatchSetNewPasswordIntent()
public void dispatchSetNewPasswordIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dispatchSetNewPasswordIntent", ""));
1.977.2.2. getFingerprintChooseLockExtras()
private Bundle getFingerprintChooseLockExtras()
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"getFingerprintChooseLockExtras", ""));
1.977.2.3. isFingerprintDisabledByAdmin()
private boolean isFingerprintDisabledByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFingerprintDisabledByAdmin", ""));
1.977.2.4. static create(Context context,Ui ui,Intent intent,IBinder activityToken)
public static SetNewPasswordController create(Context context, Ui ui, Intent intent, IBinder activityToken)
methodList.add(new ZMethod(mZAndroidAPPClass,"SetNewPasswordController" ,"create", "Context context,Ui ui,Intent intent,IBinder activityToken"));
1.978. SettingIntentProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/defaultapps/SettingIntentProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.979. SettingPref.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SettingPref.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.979.1. SettingPref Field属性列表
1.979.1.1. TwoStatePreference mTwoState;
protected TwoStatePreference mTwoState;
1.979.1.2. DropDownPreference mDropDown;
protected DropDownPreference mDropDown;
1.979.1.3. final int mType;
protected final int mType;
1.979.1.4. final String mKey;
private final String mKey;
1.979.1.5. final String mSetting;
protected final String mSetting;
1.979.1.6. final int mDefault;
protected final int mDefault;
1.979.1.7. final int[] mValues;
private final int[] mValues;
1.979.1.8. final Uri mUri;
private final Uri mUri;
1.979.1.9. static final int TYPE_GLOBAL
public static final int TYPE_GLOBAL = 1;
1.979.1.10. static final int TYPE_SYSTEM
public static final int TYPE_SYSTEM = 2;
1.979.2. SettingPrefMethod方法列表
1.979.2.1. isApplicable(Context context)
public boolean isApplicable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isApplicable", "Context context"));
1.979.2.2. getCaption(Resources res,int value)
protected String getCaption(Resources res, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCaption", "Resources res,int value"));
1.979.2.3. init(SettingsPreferenceFragment settings)
public Preference init(SettingsPreferenceFragment settings)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"init", "SettingsPreferenceFragment settings"));
1.979.2.4. setSetting(Context context,int value)
protected boolean setSetting(Context context, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSetting", "Context context,int value"));
1.979.2.5. getUri()
public Uri getUri()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUri", ""));
1.979.2.6. getKey()
public String getKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", ""));
1.979.2.7. update(Context context)
public void update(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", "Context context"));
1.979.2.8. static getUriFor(int type,String setting)
private static Uri getUriFor(int type, String setting)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUriFor", "int type,String setting"));
1.979.2.9. static putInt(int type,ContentResolver cr,String setting,int value)
protected static boolean putInt(int type, ContentResolver cr, String setting, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"putInt", "int type,ContentResolver cr,String setting,int value"));
1.979.2.10. static getInt(int type,ContentResolver cr,String setting,int def)
protected static int getInt(int type, ContentResolver cr, String setting, int def)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getInt", "int type,ContentResolver cr,String setting,int def"));
1.980. SettingPrefController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SettingPrefController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.980.1. SettingPrefController Field属性列表
1.980.1.1. SettingsPreferenceFragment mParent;
private SettingsPreferenceFragment mParent;
1.980.1.2. SettingsObserver mSettingsObserver;
protected SettingsObserver mSettingsObserver;
1.980.1.3. SettingPref mPreference;
protected SettingPref mPreference;
1.980.1.4. static final int DEFAULT_ON
protected static final int DEFAULT_ON = 1;
1.980.2. SettingPrefControllerMethod方法列表
1.980.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.980.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.980.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.980.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.980.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.980.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.981. Settings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/Settings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.981.1. Settings Field属性列表
1.981.2. SettingsMethod方法列表
1.982. SettingsActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SettingsActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.982.1. SettingsActivity Field属性列表
1.982.1.1. String mFragmentClass;
private String mFragmentClass;
1.982.1.2. CharSequence mInitialTitle;
private CharSequence mInitialTitle;
1.982.1.3. int mInitialTitleResId;
private int mInitialTitleResId;
1.982.1.4. BroadcastReceiver mDevelopmentSettingsListener;
private BroadcastReceiver mDevelopmentSettingsListener;
1.982.1.5. boolean mBatteryPresent
private boolean mBatteryPresent = true;
1.982.1.6. BroadcastReceiver mBatteryInfoReceiver
private BroadcastReceiver mBatteryInfoReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (Intent.ACTION_BATTERY_CHANGED.equals(action)) {
boolean batteryPresent = Utils.isBatteryPresent(intent);
if (mBatteryPresent != batteryPresent) {
mBatteryPresent = batteryPresent;
updateTilesList();
}
}
}
};
1.982.1.7. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.982.1.8. Button mNextButton;
private Button mNextButton;
1.982.1.9. boolean mIsShowingDashboard;
private boolean mIsShowingDashboard;
1.982.1.10. ViewGroup mContent;
private ViewGroup mContent;
1.982.1.11. ArrayList mCategories
// Categories
private ArrayList mCategories = new ArrayList<>();
1.982.1.12. DashboardFeatureProvider mDashboardFeatureProvider;
private DashboardFeatureProvider mDashboardFeatureProvider;
1.982.1.13. static final String LOG_TAG
private static final String LOG_TAG = "SettingsActivity";
1.982.1.14. static final String SAVE_KEY_CATEGORIES
// Constants for state save/restore
private static final String SAVE_KEY_CATEGORIES = ":settings:categories";
1.982.1.15. static final String EXTRA_SHOW_FRAGMENT
/** * When starting this activity, the invoking Intent can contain this extra * string to specify which fragment should be initially displayed. *
Starting from Key Lime Pie, when this argument is passed in, the activity * will call isValidFragment() to confirm that the fragment class name is valid for this * activity. */ public static final String EXTRA_SHOW_FRAGMENT = ":settings:show_fragment";
1.982.1.16. static final String EXTRA_SHOW_FRAGMENT_ARGUMENTS
/**
* When starting this activity and using {@link #EXTRA_SHOW_FRAGMENT},
* this extra can also be specified to supply a Bundle of arguments to pass
* to that fragment when it is instantiated during the initial creation
* of the activity.
*/
public static final String EXTRA_SHOW_FRAGMENT_ARGUMENTS = ":settings:show_fragment_args";
1.982.1.17. static final String EXTRA_FRAGMENT_ARG_KEY
/**
* Fragment "key" argument passed thru {@link #EXTRA_SHOW_FRAGMENT_ARGUMENTS}
*/
public static final String EXTRA_FRAGMENT_ARG_KEY = ":settings:fragment_args_key";
1.982.1.18. static final String BACK_STACK_PREFS
public static final String BACK_STACK_PREFS = ":settings:prefs";
1.982.1.19. static final // show Back and Next buttons? takes boolean parameter // Back will then return RESULT_CANCELED and Next RESULT_OK protected String EXTRA_PREFS_SHOW_BUTTON_BAR
// extras that allow any preference activity to be launched as part of a wizard
// show Back and Next buttons? takes boolean parameter
// Back will then return RESULT_CANCELED and Next RESULT_OK
protected static final String EXTRA_PREFS_SHOW_BUTTON_BAR = "extra_prefs_show_button_bar";
1.982.1.20. static final String EXTRA_PREFS_SHOW_SKIP
// add a Skip button?
private static final String EXTRA_PREFS_SHOW_SKIP = "extra_prefs_show_skip";
1.982.1.21. static final // at all by setting it to null protected String EXTRA_PREFS_SET_NEXT_TEXT
// specify custom text for the Back or Next buttons, or cause a button to not appear
// at all by setting it to null
protected static final String EXTRA_PREFS_SET_NEXT_TEXT = "extra_prefs_set_next_text";
1.982.1.22. static final String EXTRA_PREFS_SET_BACK_TEXT
protected static final String EXTRA_PREFS_SET_BACK_TEXT = "extra_prefs_set_back_text";
1.982.1.23. static final String EXTRA_SHOW_FRAGMENT_TITLE
/**
* When starting this activity and using {@link #EXTRA_SHOW_FRAGMENT},
* those extra can also be specify to supply the title or title res id to be shown for
* that fragment.
*/
public static final String EXTRA_SHOW_FRAGMENT_TITLE = ":settings:show_fragment_title";
1.982.1.24. static final String EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME
/**
* The package name used to resolve the title resource id.
*/
public static final String EXTRA_SHOW_FRAGMENT_TITLE_RES_PACKAGE_NAME = ":settings:show_fragment_title_res_package_name";
1.982.1.25. static final String EXTRA_SHOW_FRAGMENT_TITLE_RESID
public static final String EXTRA_SHOW_FRAGMENT_TITLE_RESID = ":settings:show_fragment_title_resid";
1.982.1.26. static final String EXTRA_SHOW_FRAGMENT_AS_SHORTCUT
public static final String EXTRA_SHOW_FRAGMENT_AS_SHORTCUT = ":settings:show_fragment_as_shortcut";
1.982.1.27. static final String EXTRA_SHOW_FRAGMENT_AS_SUBSETTING
public static final String EXTRA_SHOW_FRAGMENT_AS_SUBSETTING = ":settings:show_fragment_as_subsetting";
1.982.1.28. static final String EXTRA_HIDE_DRAWER
@Deprecated
public static final String EXTRA_HIDE_DRAWER = ":settings:hide_drawer";
1.982.1.29. static final String META_DATA_KEY_FRAGMENT_CLASS
public static final String META_DATA_KEY_FRAGMENT_CLASS = "com.android.settings.FRAGMENT_CLASS";
1.982.1.30. static final String EXTRA_UI_OPTIONS
private static final String EXTRA_UI_OPTIONS = "settings:ui_options";
1.982.2. SettingsActivityMethod方法列表
1.982.2.1. getSwitchBar()
public SwitchBar getSwitchBar()
methodList.add(new ZMethod(mZAndroidAPPClass,"SwitchBar" ,"getSwitchBar", ""));
1.982.2.2. onPreferenceStartFragment(PreferenceFragment caller,Preference pref)
public boolean onPreferenceStartFragment(PreferenceFragment caller, Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceStartFragment", "PreferenceFragment caller,Preference pref"));
1.982.2.3. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.982.2.4. getSharedPreferences(String name,int mode)
public SharedPreferences getSharedPreferences(String name, int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"SharedPreferences" ,"getSharedPreferences", "String name,int mode"));
1.982.2.5. getMetricsTag()
private String getMetricsTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getMetricsTag", ""));
1.982.2.6. onCreate(Bundle savedState)
protected void onCreate(Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedState"));
1.982.2.7. launchSettingFragment(String initialFragmentName,boolean isSubSettings,Intent intent)
void launchSettingFragment(String initialFragmentName, boolean isSubSettings, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchSettingFragment", "String initialFragmentName,boolean isSubSettings,Intent intent"));
1.982.2.8. setTitleFromIntent(Intent intent)
private void setTitleFromIntent(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitleFromIntent", "Intent intent"));
1.982.2.9. onBackStackChanged()
public void onBackStackChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackStackChanged", ""));
1.982.2.10. setTitleFromBackStack()
private void setTitleFromBackStack()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitleFromBackStack", ""));
1.982.2.11. setTitleFromBackStackEntry(FragmentManager.BackStackEntry bse)
private void setTitleFromBackStackEntry(FragmentManager.BackStackEntry bse)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitleFromBackStackEntry", "FragmentManager.BackStackEntry bse"));
1.982.2.12. onSaveInstanceState(Bundle outState)
protected void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.982.2.13. saveState(Bundle outState)
void saveState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveState", "Bundle outState"));
1.982.2.14. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.982.2.15. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.982.2.16. setTaskDescription(ActivityManager.TaskDescription taskDescription)
public void setTaskDescription(ActivityManager.TaskDescription taskDescription)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTaskDescription", "ActivityManager.TaskDescription taskDescription"));
1.982.2.17. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.982.2.18. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.982.2.19. getStartingFragmentClass(Intent intent)
private String getStartingFragmentClass(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getStartingFragmentClass", "Intent intent"));
1.982.2.20. finishPreferencePanel(int resultCode,Intent resultData)
public void finishPreferencePanel(int resultCode, Intent resultData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finishPreferencePanel", "int resultCode,Intent resultData"));
1.982.2.21. switchToFragment(String fragmentName,Bundle args,boolean validate,boolean addToBackStack,int titleResId,CharSequence title,boolean withTransition)
private Fragment switchToFragment(String fragmentName, Bundle args, boolean validate, boolean addToBackStack, int titleResId, CharSequence title, boolean withTransition)
methodList.add(new ZMethod(mZAndroidAPPClass,"Fragment" ,"switchToFragment", "String fragmentName,Bundle args,boolean validate,boolean addToBackStack,int titleResId,CharSequence title,boolean withTransition"));
1.982.2.22. updateTilesList()
private void updateTilesList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTilesList", ""));
1.982.2.23. updateDeviceIndex()
private void updateDeviceIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDeviceIndex", ""));
1.982.2.24. doUpdateTilesList()
private void doUpdateTilesList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doUpdateTilesList", ""));
1.982.2.25. setTileEnabled(StringBuilder changedList,ComponentName component,boolean enabled,boolean isAdmin)
private boolean setTileEnabled(StringBuilder changedList, ComponentName component, boolean enabled, boolean isAdmin)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setTileEnabled", "StringBuilder changedList,ComponentName component,boolean enabled,boolean isAdmin"));
1.982.2.26. getMetaData()
private void getMetaData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getMetaData", ""));
1.982.2.27. hasNextButton()
public boolean hasNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasNextButton", ""));
1.982.2.28. getNextButton()
public Button getNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getNextButton", ""));
1.982.2.29. getBitmapFromXmlResource(int drawableRes)
Bitmap getBitmapFromXmlResource(int drawableRes)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bitmap" ,"getBitmapFromXmlResource", "int drawableRes"));
1.983. SettingsAppWidgetProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SettingsAppWidgetProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.983.1. SettingsAppWidgetProvider Field属性列表
1.983.1.1. static LocalBluetoothAdapter sLocalBluetoothAdapter
private static LocalBluetoothAdapter sLocalBluetoothAdapter = null;
1.983.1.2. static SettingsObserver sSettingsObserver;
private static SettingsObserver sSettingsObserver;
1.983.1.3. static final String TAG
static final String TAG = "SettingsAppWidgetProvider";
1.983.1.4. static final ComponentName THIS_APPWIDGET
static final ComponentName THIS_APPWIDGET = new ComponentName("com.android.settings", "com.android.settings.widget.SettingsAppWidgetProvider");
1.983.1.5. static final int BUTTON_WIFI
private static final int BUTTON_WIFI = 0;
1.983.1.6. static final int BUTTON_BRIGHTNESS
private static final int BUTTON_BRIGHTNESS = 1;
1.983.1.7. static final int BUTTON_SYNC
private static final int BUTTON_SYNC = 2;
1.983.1.8. static final int BUTTON_LOCATION
private static final int BUTTON_LOCATION = 3;
1.983.1.9. static final int BUTTON_BLUETOOTH
private static final int BUTTON_BLUETOOTH = 4;
1.983.1.10. static final // "3-state": STATE_DISABLED, STATE_ENABLED, STATE_INTERMEDIATE // "5-state": STATE_DISABLED, STATE_ENABLED, STATE_TURNING_ON, STATE_TURNING_OFF, STATE_UNKNOWN private int STATE_DISABLED
// This widget keeps track of two sets of states:
// "3-state": STATE_DISABLED, STATE_ENABLED, STATE_INTERMEDIATE
// "5-state": STATE_DISABLED, STATE_ENABLED, STATE_TURNING_ON, STATE_TURNING_OFF, STATE_UNKNOWN
private static final int STATE_DISABLED = 0;
1.983.1.11. static final int STATE_ENABLED
private static final int STATE_ENABLED = 1;
1.983.1.12. static final int STATE_TURNING_ON
private static final int STATE_TURNING_ON = 2;
1.983.1.13. static final int STATE_TURNING_OFF
private static final int STATE_TURNING_OFF = 3;
1.983.1.14. static final int STATE_UNKNOWN
private static final int STATE_UNKNOWN = 4;
1.983.1.15. static final int STATE_INTERMEDIATE
private static final int STATE_INTERMEDIATE = 5;
1.983.1.16. static final int POS_LEFT
// Position in the widget bar, to enable different graphics for left, center and right buttons
private static final int POS_LEFT = 0;
1.983.1.17. static final int POS_CENTER
private static final int POS_CENTER = 1;
1.983.1.18. static final int POS_RIGHT
private static final int POS_RIGHT = 2;
1.983.1.19. static final int[] IND_DRAWABLE_OFF
private static final int[] IND_DRAWABLE_OFF = { R.drawable.appwidget_settings_ind_off_l_holo, R.drawable.appwidget_settings_ind_off_c_holo, R.drawable.appwidget_settings_ind_off_r_holo };
1.983.1.20. static final int[] IND_DRAWABLE_MID
private static final int[] IND_DRAWABLE_MID = { R.drawable.appwidget_settings_ind_mid_l_holo, R.drawable.appwidget_settings_ind_mid_c_holo, R.drawable.appwidget_settings_ind_mid_r_holo };
1.983.1.21. static final int[] IND_DRAWABLE_ON
private static final int[] IND_DRAWABLE_ON = { R.drawable.appwidget_settings_ind_on_l_holo, R.drawable.appwidget_settings_ind_on_c_holo, R.drawable.appwidget_settings_ind_on_r_holo };
1.983.1.22. static final float HALF_BRIGHTNESS_THRESHOLD
/** Minimum brightness at which the indicator is shown at half-full and ON */
private static final float HALF_BRIGHTNESS_THRESHOLD = 0.3f;
1.983.1.23. static final float FULL_BRIGHTNESS_THRESHOLD
/** Minimum brightness at which the indicator is shown at full */
private static final float FULL_BRIGHTNESS_THRESHOLD = 0.8f;
1.983.1.24. static final StateTracker sWifiState
private static final StateTracker sWifiState = new WifiStateTracker();
1.983.1.25. static final StateTracker sBluetoothState
private static final StateTracker sBluetoothState = new BluetoothStateTracker();
1.983.1.26. static final StateTracker sLocationState
private static final StateTracker sLocationState = new LocationStateTracker();
1.983.1.27. static final StateTracker sSyncState
private static final StateTracker sSyncState = new SyncStateTracker();
1.983.2. SettingsAppWidgetProviderMethod方法列表
1.983.2.1. onUpdate(Context context,AppWidgetManager appWidgetManager,int[] appWidgetIds)
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUpdate", "Context context,AppWidgetManager appWidgetManager,int[] appWidgetIds"));
1.983.2.2. onEnabled(Context context)
public void onEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onEnabled", "Context context"));
1.983.2.3. onDisabled(Context context)
public void onDisabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisabled", "Context context"));
1.983.2.4. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.983.2.5. toggleBrightness(Context context)
private void toggleBrightness(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toggleBrightness", "Context context"));
1.983.2.6. static checkObserver(Context context)
private static void checkObserver(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkObserver", "Context context"));
1.983.2.7. static buildUpdate(Context context)
static RemoteViews buildUpdate(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"RemoteViews" ,"buildUpdate", "Context context"));
1.983.2.8. static updateWidget(Context context)
public static void updateWidget(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWidget", "Context context"));
1.983.2.9. static updateButtons(RemoteViews views,Context context)
private static void updateButtons(RemoteViews views, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateButtons", "RemoteViews views,Context context"));
1.983.2.10. static getLaunchPendingIntent(Context context,int buttonId)
private static PendingIntent getLaunchPendingIntent(Context context, int buttonId)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getLaunchPendingIntent", "Context context,int buttonId"));
1.983.2.11. static getBrightness(Context context)
private static int getBrightness(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBrightness", "Context context"));
1.983.2.12. static getBrightnessMode(Context context)
private static boolean getBrightnessMode(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getBrightnessMode", "Context context"));
1.984. SettingsContentObserver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/SettingsContentObserver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.984.1. SettingsContentObserver Field属性列表
1.984.1.1. final List mKeysToObserve
private final List mKeysToObserve = new ArrayList<>(2);
1.984.2. SettingsContentObserverMethod方法列表
1.984.2.1. register(ContentResolver contentResolver)
public void register(ContentResolver contentResolver)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", "ContentResolver contentResolver"));
1.984.2.2. unregister(ContentResolver contentResolver)
public void unregister(ContentResolver contentResolver)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregister", "ContentResolver contentResolver"));
1.984.2.3. abstract onChange(boolean selfChange,Uri uri)
public abstract void onChange(boolean selfChange, Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onChange", "boolean selfChange,Uri uri"));
1.985. SettingsDividerItemDecoration.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/SettingsDividerItemDecoration.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.985.1. SettingsDividerItemDecoration Field属性列表
1.985.2. SettingsDividerItemDecorationMethod方法列表
1.985.2.1. isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder)
protected boolean isDividerAllowedAbove(RecyclerView.ViewHolder viewHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDividerAllowedAbove", "RecyclerView.ViewHolder viewHolder"));
1.985.2.2. isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder)
protected boolean isDividerAllowedBelow(RecyclerView.ViewHolder viewHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDividerAllowedBelow", "RecyclerView.ViewHolder viewHolder"));
1.986. SettingsDumpService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SettingsDumpService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.986.1. SettingsDumpService Field属性列表
1.986.1.1. static final String KEY_SERVICE
@VisibleForTesting
static final String KEY_SERVICE = "service";
1.986.1.2. static final String KEY_STORAGE
@VisibleForTesting
static final String KEY_STORAGE = "storage";
1.986.1.3. static final String KEY_DATAUSAGE
@VisibleForTesting
static final String KEY_DATAUSAGE = "datausage";
1.986.1.4. static final String KEY_MEMORY
@VisibleForTesting
static final String KEY_MEMORY = "memory";
1.986.1.5. static final String KEY_DEFAULT_BROWSER_APP
@VisibleForTesting
static final String KEY_DEFAULT_BROWSER_APP = "default_browser_app";
1.986.1.6. static final String KEY_ANOMALY_DETECTION
@VisibleForTesting
static final String KEY_ANOMALY_DETECTION = "anomaly_detection";
1.986.1.7. static final Intent BROWSER_INTENT
@VisibleForTesting
static final Intent BROWSER_INTENT = new Intent("android.intent.action.VIEW", Uri.parse("http://"));
1.986.2. SettingsDumpServiceMethod方法列表
1.986.2.1. onBind(Intent intent)
public IBinder onBind(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"IBinder" ,"onBind", "Intent intent"));
1.986.2.2. dump(FileDescriptor fd,PrintWriter writer,String[] args)
protected void dump(FileDescriptor fd, PrintWriter writer, String[] args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dump", "FileDescriptor fd,PrintWriter writer,String[] args"));
1.986.2.3. dumpMemory()
private JSONObject dumpMemory() throws JSONException
methodList.add(new ZMethod(mZAndroidAPPClass,"JSONObject" ,"dumpMemory", ""));
1.986.2.4. dumpDataUsage()
private JSONObject dumpDataUsage() throws JSONException
methodList.add(new ZMethod(mZAndroidAPPClass,"JSONObject" ,"dumpDataUsage", ""));
1.986.2.5. dumpDataUsage(NetworkTemplate template,DataUsageController controller)
private JSONObject dumpDataUsage(NetworkTemplate template, DataUsageController controller) throws JSONException
methodList.add(new ZMethod(mZAndroidAPPClass,"JSONObject" ,"dumpDataUsage", "NetworkTemplate template,DataUsageController controller"));
1.986.2.6. dumpStorage()
private JSONObject dumpStorage() throws JSONException
methodList.add(new ZMethod(mZAndroidAPPClass,"JSONObject" ,"dumpStorage", ""));
1.986.2.7. dumpDefaultBrowser()
String dumpDefaultBrowser()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"dumpDefaultBrowser", ""));
1.986.2.8. dumpAnomalyDetection()
JSONObject dumpAnomalyDetection() throws JSONException
methodList.add(new ZMethod(mZAndroidAPPClass,"JSONObject" ,"dumpAnomalyDetection", ""));
1.987. SettingsEnableZenModeDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SettingsEnableZenModeDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.987.1. SettingsEnableZenModeDialog Field属性列表
1.987.2. SettingsEnableZenModeDialogMethod方法列表
1.987.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.987.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.988. SettingsGateway.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/gateway/SettingsGateway.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.988.1. SettingsGateway Field属性列表
1.988.1.1. static final String[] ENTRY_FRAGMENTS
/**
* A list of fragment that can be hosted by SettingsActivity. SettingsActivity will throw a
* security exception if the fragment it needs to display is not in this list.
*/
public static final String[] ENTRY_FRAGMENTS = { AdvancedConnectedDeviceDashboardFragment.class.getName(), WifiSettings.class.getName(), ConfigureWifiSettings.class.getName(), SavedAccessPointsWifiSettings.class.getName(), SimSettings.class.getName(), TetherSettings.class.getName(), WifiP2pSettings.class.getName(), WifiTetherSettings.class.getName(), BackgroundCheckSummary.class.getName(), VpnSettings.class.getName(), DateTimeSettings.class.getName(), LocaleListEditor.class.getName(), AvailableVirtualKeyboardFragment.class.getName(), LanguageAndInputSettings.class.getName(), SpellCheckersSettings.class.getName(), UserDictionaryList.class.getName(), UserDictionarySettings.class.getName(), DisplaySettings.class.getName(), DeviceInfoSettings.class.getName(), MyDeviceInfoFragment.class.getName(), ManageApplications.class.getName(), ManageAssist.class.getName(), ProcessStatsUi.class.getName(), NotificationStation.class.getName(), LocationSettings.class.getName(), ScanningSettings.class.getName(), SecuritySettings.class.getName(), UsageAccessDetails.class.getName(), PrivacySettings.class.getName(), DeviceAdminSettings.class.getName(), AccessibilitySettings.class.getName(), AccessibilitySettingsForSetupWizard.class.getName(), CaptionPropertiesFragment.class.getName(), ToggleDaltonizerPreferenceFragment.class.getName(), TextToSpeechSettings.class.getName(), StorageSettings.class.getName(), PrivateVolumeForget.class.getName(), PrivateVolumeSettings.class.getName(), PublicVolumeSettings.class.getName(), DevelopmentSettingsDashboardFragment.class.getName(), AndroidBeam.class.getName(), WifiDisplaySettings.class.getName(), PowerUsageSummary.class.getName(), AccountSyncSettings.class.getName(), AssistGestureSettings.class.getName(), SwipeToNotificationSettings.class.getName(), DoubleTapPowerSettings.class.getName(), DoubleTapScreenSettings.class.getName(), PickupGestureSettings.class.getName(), DoubleTwistGestureSettings.class.getName(), SwipeUpGestureSettings.class.getName(), CryptKeeperSettings.class.getName(), DataUsageSummary.class.getName(), DataUsageSummaryLegacy.class.getName(), DreamSettings.class.getName(), UserSettings.class.getName(), NotificationAccessSettings.class.getName(), ZenAccessSettings.class.getName(), ZenModeAutomationSettings.class.getName(), PrintSettingsFragment.class.getName(), PrintJobSettingsFragment.class.getName(), TrustedCredentialsSettings.class.getName(), PaymentSettings.class.getName(), KeyboardLayoutPickerFragment.class.getName(), PhysicalKeyboardFragment.class.getName(), ZenModeSettings.class.getName(), SoundSettings.class.getName(), ConfigureNotificationSettings.class.getName(), ChooseLockPassword.ChooseLockPasswordFragment.class.getName(), ChooseLockPattern.ChooseLockPatternFragment.class.getName(), AppInfoDashboardFragment.class.getName(), BatterySaverSettings.class.getName(), AppNotificationSettings.class.getName(), ChannelNotificationSettings.class.getName(), ChannelGroupNotificationSettings.class.getName(), ApnSettings.class.getName(), ApnEditor.class.getName(), WifiCallingSettings.class.getName(), ZenModeScheduleRuleSettings.class.getName(), ZenModeEventRuleSettings.class.getName(), ZenModeBlockedEffectsSettings.class.getName(), ProcessStatsUi.class.getName(), AdvancedPowerUsageDetail.class.getName(), ProcessStatsSummary.class.getName(), DrawOverlayDetails.class.getName(), WriteSettingsDetails.class.getName(), ExternalSourcesDetails.class.getName(), DefaultAppSettings.class.getName(), WallpaperTypeSettings.class.getName(), VrListenerSettings.class.getName(), PictureInPictureSettings.class.getName(), PictureInPictureDetails.class.getName(), ManagedProfileSettings.class.getName(), ChooseAccountActivity.class.getName(), IccLockSettings.class.getName(), TestingSettings.class.getName(), WifiAPITest.class.getName(), WifiInfo.class.getName(), MasterClear.class.getName(), ResetDashboardFragment.class.getName(), NightDisplaySettings.class.getName(), ManageDomainUrls.class.getName(), AutomaticStorageManagerSettings.class.getName(), StorageDashboardFragment.class.getName(), SystemDashboardFragment.class.getName(), NetworkDashboardFragment.class.getName(), ConnectedDeviceDashboardFragment.class.getName(), UsbDetailsFragment.class.getName(), AppAndNotificationDashboardFragment.class.getName(), AccountDashboardFragment.class.getName(), EnterprisePrivacySettings.class.getName(), WebViewAppPicker.class.getName(), LockscreenDashboardFragment.class.getName(), BluetoothDeviceDetailsFragment.class.getName(), DataUsageList.class.getName(), DirectoryAccessDetails.class.getName(), ToggleBackupSettingFragment.class.getName(), PreviouslyConnectedDeviceDashboardFragment.class.getName() };
1.988.1.2. static final String[] SETTINGS_FOR_RESTRICTED
public static final String[] SETTINGS_FOR_RESTRICTED = { // Home page
Settings.NetworkDashboardActivity.class.getName(), Settings.ConnectedDeviceDashboardActivity.class.getName(), Settings.AppAndNotificationDashboardActivity.class.getName(), Settings.DisplaySettingsActivity.class.getName(), Settings.SoundSettingsActivity.class.getName(), Settings.StorageDashboardActivity.class.getName(), Settings.PowerUsageSummaryActivity.class.getName(), Settings.AccountDashboardActivity.class.getName(), Settings.SecurityDashboardActivity.class.getName(), Settings.AccessibilitySettingsActivity.class.getName(), Settings.SystemDashboardActivity.class.getName(), SupportDashboardActivity.class.getName(), // Home page > Network & Internet
Settings.WifiSettingsActivity.class.getName(), Settings.DataUsageSummaryActivity.class.getName(), Settings.SimSettingsActivity.class.getName(), // Home page > Connected devices
Settings.BluetoothSettingsActivity.class.getName(), Settings.WifiDisplaySettingsActivity.class.getName(), Settings.PrintSettingsActivity.class.getName(), // Home page > Apps & Notifications
Settings.UserSettingsActivity.class.getName(), Settings.ConfigureNotificationSettingsActivity.class.getName(), Settings.AdvancedAppsActivity.class.getName(), Settings.ManageApplicationsActivity.class.getName(), Settings.PaymentSettingsActivity.class.getName(), // Home page > Security & screen lock
Settings.LocationSettingsActivity.class.getName(), // Home page > System
Settings.LanguageAndInputSettingsActivity.class.getName(), Settings.DateTimeSettingsActivity.class.getName(), Settings.DeviceInfoSettingsActivity.class.getName(), Settings.EnterprisePrivacySettingsActivity.class.getName(), Settings.MyDeviceInfoActivity.class.getName() };
1.988.2. SettingsGatewayMethod方法列表
1.989. SettingsInitialize.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SettingsInitialize.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.989.1. SettingsInitialize Field属性列表
1.989.1.1. static final String TAG
private static final String TAG = "Settings";
1.989.1.2. static final String PRIMARY_PROFILE_SETTING
private static final String PRIMARY_PROFILE_SETTING = "com.android.settings.PRIMARY_PROFILE_CONTROLLED";
1.989.1.3. static final String SETTINGS_PACKAGE
private static final String SETTINGS_PACKAGE = "com.android.settings";
1.989.1.4. static final String WEBVIEW_IMPLEMENTATION_ACTIVITY
private static final String WEBVIEW_IMPLEMENTATION_ACTIVITY = ".WebViewImplementation";
1.989.2. SettingsInitializeMethod方法列表
1.989.2.1. onReceive(Context context,Intent broadcast)
public void onReceive(Context context, Intent broadcast)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent broadcast"));
1.989.2.2. managedProfileSetup(Context context,final PackageManager pm,Intent broadcast,UserInfo userInfo)
private void managedProfileSetup(Context context, final PackageManager pm, Intent broadcast, UserInfo userInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"managedProfileSetup", "Context context,final PackageManager pm,Intent broadcast,UserInfo userInfo"));
1.989.2.3. webviewSettingSetup(Context context,PackageManager pm,UserInfo userInfo)
private void webviewSettingSetup(Context context, PackageManager pm, UserInfo userInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"webviewSettingSetup", "Context context,PackageManager pm,UserInfo userInfo"));
1.989.2.4. refreshExistingShortcuts(Context context)
void refreshExistingShortcuts(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshExistingShortcuts", "Context context"));
1.990. SettingsInjector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/SettingsInjector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.990.1. SettingsInjector Field属性列表
1.990.1.1. final Context mContext;
private final Context mContext;
1.990.1.2. final Set mSettings;
/**
* The settings that were injected
*/
private final Set mSettings;
1.990.1.3. final Handler mHandler;
private final Handler mHandler;
1.990.1.4. static final String TAG
static final String TAG = "SettingsInjector";
1.990.1.5. static final long INJECTED_STATUS_UPDATE_TIMEOUT_MILLIS
/**
* If reading the status of a setting takes longer than this, we go ahead and start reading
* the next setting.
*/
private static final long INJECTED_STATUS_UPDATE_TIMEOUT_MILLIS = 1000;
1.990.1.6. static final int WHAT_RELOAD
/**
* {@link Message#what} value for starting to load status values
* in case we aren't already in the process of loading them.
*/
private static final int WHAT_RELOAD = 1;
1.990.1.7. static final int WHAT_RECEIVED_STATUS
/**
* {@link Message#what} value sent after receiving a status message.
*/
private static final int WHAT_RECEIVED_STATUS = 2;
1.990.1.8. static final int WHAT_TIMEOUT
/**
* {@link Message#what} value sent after the timeout waiting for a status message.
*/
private static final int WHAT_TIMEOUT = 3;
1.990.2. SettingsInjectorMethod方法列表
1.990.2.1. getSettings(final UserHandle userHandle)
private List getSettings(final UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSettings", "final UserHandle userHandle"));
1.990.2.2. getInjectedSettings(Context prefContext,final int profileId)
public List getInjectedSettings(Context prefContext, final int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getInjectedSettings", "Context prefContext,final int profileId"));
1.990.2.3. hasInjectedSettings(final int profileId)
public boolean hasInjectedSettings(final int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasInjectedSettings", "final int profileId"));
1.990.2.4. reloadStatusMessages()
public void reloadStatusMessages()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadStatusMessages", ""));
1.990.2.5. addServiceSetting(Context prefContext,List prefs,InjectedSetting info)
private Preference addServiceSetting(Context prefContext, List prefs, InjectedSetting info)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"addServiceSetting", "Context prefContext,List prefs,InjectedSetting info"));
1.990.2.6. static parseServiceInfo(ResolveInfo service,UserHandle userHandle,PackageManager pm)
private static InjectedSetting parseServiceInfo(ResolveInfo service, UserHandle userHandle, PackageManager pm) throws XmlPullParserException, IOException
methodList.add(new ZMethod(mZAndroidAPPClass,"InjectedSetting" ,"parseServiceInfo", "ResolveInfo service,UserHandle userHandle,PackageManager pm"));
1.990.2.7. static parseAttributes(String packageName,String className,UserHandle userHandle,Resources res,AttributeSet attrs)
private static InjectedSetting parseAttributes(String packageName, String className, UserHandle userHandle, Resources res, AttributeSet attrs)
methodList.add(new ZMethod(mZAndroidAPPClass,"InjectedSetting" ,"parseAttributes", "String packageName,String className,UserHandle userHandle,Resources res,AttributeSet attrs"));
1.991. SettingsLicenseActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SettingsLicenseActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.991.1. SettingsLicenseActivity Field属性列表
1.991.1.1. static final String TAG
private static final String TAG = "SettingsLicenseActivity";
1.991.1.2. static final String DEFAULT_LICENSE_PATH
private static final String DEFAULT_LICENSE_PATH = "/system/etc/NOTICE.html.gz";
1.991.1.3. static final String PROPERTY_LICENSE_PATH
private static final String PROPERTY_LICENSE_PATH = "ro.config.license_path";
1.991.1.4. static final int LOADER_ID_LICENSE_HTML_LOADER
private static final int LOADER_ID_LICENSE_HTML_LOADER = 0;
1.991.2. SettingsLicenseActivityMethod方法列表
1.991.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.991.2.2. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.991.2.3. onLoadFinished(Loader loader,File generatedHtmlFile)
public void onLoadFinished(Loader loader, File generatedHtmlFile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,File generatedHtmlFile"));
1.991.2.4. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.991.2.5. showHtmlFromDefaultXmlFiles()
private void showHtmlFromDefaultXmlFiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showHtmlFromDefaultXmlFiles", ""));
1.991.2.6. getUriFromGeneratedHtmlFile(File generatedHtmlFile)
Uri getUriFromGeneratedHtmlFile(File generatedHtmlFile)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUriFromGeneratedHtmlFile", "File generatedHtmlFile"));
1.991.2.7. showGeneratedHtmlFile(File generatedHtmlFile)
private void showGeneratedHtmlFile(File generatedHtmlFile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showGeneratedHtmlFile", "File generatedHtmlFile"));
1.991.2.8. showSelectedFile(final String path)
private void showSelectedFile(final String path)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showSelectedFile", "final String path"));
1.991.2.9. showHtmlFromUri(Uri uri)
private void showHtmlFromUri(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showHtmlFromUri", "Uri uri"));
1.991.2.10. showErrorAndFinish()
private void showErrorAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showErrorAndFinish", ""));
1.991.2.11. isFilePathValid(final String path)
private boolean isFilePathValid(final String path)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFilePathValid", "final String path"));
1.991.2.12. isFileValid(final File file)
boolean isFileValid(final File file)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFileValid", "final File file"));
1.992. SettingsPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SettingsPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.992.1. SettingsPreferenceFragment Field属性列表
1.992.1.1. SettingsDialogFragment mDialogFragment;
private SettingsDialogFragment mDialogFragment;
1.992.1.2. ContentResolver mContentResolver;
// Cache the content resolver for async callbacks
private ContentResolver mContentResolver;
1.992.1.3. RecyclerView.Adapter mCurrentRootAdapter;
private RecyclerView.Adapter mCurrentRootAdapter;
1.992.1.4. boolean mIsDataSetObserverRegistered
private boolean mIsDataSetObserverRegistered = false;
1.992.1.5. RecyclerView.AdapterDataObserver mDataSetObserver
private RecyclerView.AdapterDataObserver mDataSetObserver = new RecyclerView.AdapterDataObserver() {
@Override
public void onChanged() {
onDataSetChanged();
}
@Override
public void onItemRangeChanged(int positionStart, int itemCount) {
onDataSetChanged();
}
@Override
public void onItemRangeChanged(int positionStart, int itemCount, Object payload) {
onDataSetChanged();
}
@Override
public void onItemRangeInserted(int positionStart, int itemCount) {
onDataSetChanged();
}
@Override
public void onItemRangeRemoved(int positionStart, int itemCount) {
onDataSetChanged();
}
@Override
public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
onDataSetChanged();
}
};
1.992.1.6. ViewGroup mPinnedHeaderFrameLayout;
private ViewGroup mPinnedHeaderFrameLayout;
1.992.1.7. ViewGroup mButtonBar;
private ViewGroup mButtonBar;
1.992.1.8. LayoutPreference mHeader;
private LayoutPreference mHeader;
1.992.1.9. View mEmptyView;
private View mEmptyView;
1.992.1.10. LinearLayoutManager mLayoutManager;
private LinearLayoutManager mLayoutManager;
1.992.1.11. ArrayMap mPreferenceCache;
private ArrayMap mPreferenceCache;
1.992.1.12. boolean mAnimationAllowed;
private boolean mAnimationAllowed;
1.992.1.13. HighlightablePreferenceGroupAdapter mAdapter;
@VisibleForTesting
public HighlightablePreferenceGroupAdapter mAdapter;
1.992.1.14. boolean mPreferenceHighlighted
@VisibleForTesting
public boolean mPreferenceHighlighted = false;
1.992.1.15. final FooterPreferenceMixin mFooterPreferenceMixin
protected final FooterPreferenceMixin mFooterPreferenceMixin = new FooterPreferenceMixin(this, getLifecycle());
1.992.1.16. static final String TAG
private static final String TAG = "SettingsPreference";
1.992.1.17. static final String SAVE_HIGHLIGHTED_KEY
private static final String SAVE_HIGHLIGHTED_KEY = "android:preference_highlighted";
1.992.1.18. static final int ORDER_FIRST
private static final int ORDER_FIRST = -1;
1.992.2. SettingsPreferenceFragmentMethod方法列表
1.992.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.992.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.992.2.3. addPreferencesFromResource(@XmlRes int preferencesResId)
public void addPreferencesFromResource(@XmlRes int preferencesResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferencesFromResource", "@XmlRes int preferencesResId"));
1.992.2.4. checkAvailablePrefs(PreferenceGroup preferenceGroup)
private void checkAvailablePrefs(PreferenceGroup preferenceGroup)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkAvailablePrefs", "PreferenceGroup preferenceGroup"));
1.992.2.5. getButtonBar()
public ViewGroup getButtonBar()
methodList.add(new ZMethod(mZAndroidAPPClass,"ViewGroup" ,"getButtonBar", ""));
1.992.2.6. setPinnedHeaderView(int layoutResId)
public View setPinnedHeaderView(int layoutResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"setPinnedHeaderView", "int layoutResId"));
1.992.2.7. setPinnedHeaderView(View pinnedHeader)
public void setPinnedHeaderView(View pinnedHeader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPinnedHeaderView", "View pinnedHeader"));
1.992.2.8. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.992.2.9. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.992.2.10. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.992.2.11. onBindPreferences()
protected void onBindPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindPreferences", ""));
1.992.2.12. onUnbindPreferences()
protected void onUnbindPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUnbindPreferences", ""));
1.992.2.13. setLoading(boolean loading,boolean animate)
public void setLoading(boolean loading, boolean animate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLoading", "boolean loading,boolean animate"));
1.992.2.14. registerObserverIfNeeded()
public void registerObserverIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerObserverIfNeeded", ""));
1.992.2.15. unregisterObserverIfNeeded()
public void unregisterObserverIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterObserverIfNeeded", ""));
1.992.2.16. highlightPreferenceIfNeeded()
public void highlightPreferenceIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"highlightPreferenceIfNeeded", ""));
1.992.2.17. getInitialExpandedChildCount()
public int getInitialExpandedChildCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getInitialExpandedChildCount", ""));
1.992.2.18. onDataSetChanged()
protected void onDataSetChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSetChanged", ""));
1.992.2.19. getHeaderView()
public LayoutPreference getHeaderView()
methodList.add(new ZMethod(mZAndroidAPPClass,"LayoutPreference" ,"getHeaderView", ""));
1.992.2.20. setHeaderView(int resource)
protected void setHeaderView(int resource)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderView", "int resource"));
1.992.2.21. setHeaderView(View view)
protected void setHeaderView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderView", "View view"));
1.992.2.22. addPreferenceToTop(LayoutPreference preference)
private void addPreferenceToTop(LayoutPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferenceToTop", "LayoutPreference preference"));
1.992.2.23. setPreferenceScreen(PreferenceScreen preferenceScreen)
public void setPreferenceScreen(PreferenceScreen preferenceScreen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceScreen", "PreferenceScreen preferenceScreen"));
1.992.2.24. updateEmptyView()
void updateEmptyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEmptyView", ""));
1.992.2.25. setEmptyView(View v)
public void setEmptyView(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEmptyView", "View v"));
1.992.2.26. getEmptyView()
public View getEmptyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"getEmptyView", ""));
1.992.2.27. onCreateLayoutManager()
public RecyclerView.LayoutManager onCreateLayoutManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"RecyclerView.LayoutManager" ,"onCreateLayoutManager", ""));
1.992.2.28. onCreateAdapter(PreferenceScreen preferenceScreen)
protected RecyclerView.Adapter onCreateAdapter(PreferenceScreen preferenceScreen)
methodList.add(new ZMethod(mZAndroidAPPClass,"RecyclerView.Adapter" ,"onCreateAdapter", "PreferenceScreen preferenceScreen"));
1.992.2.29. setAnimationAllowed(boolean animationAllowed)
protected void setAnimationAllowed(boolean animationAllowed)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAnimationAllowed", "boolean animationAllowed"));
1.992.2.30. cacheRemoveAllPrefs(PreferenceGroup group)
protected void cacheRemoveAllPrefs(PreferenceGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cacheRemoveAllPrefs", "PreferenceGroup group"));
1.992.2.31. getCachedPreference(String key)
protected Preference getCachedPreference(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"getCachedPreference", "String key"));
1.992.2.32. removeCachedPrefs(PreferenceGroup group)
protected void removeCachedPrefs(PreferenceGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeCachedPrefs", "PreferenceGroup group"));
1.992.2.33. getCachedCount()
protected int getCachedCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCachedCount", ""));
1.992.2.34. removePreference(String key)
public boolean removePreference(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"removePreference", "String key"));
1.992.2.35. removePreference(PreferenceGroup group,String key)
boolean removePreference(PreferenceGroup group, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"removePreference", "PreferenceGroup group,String key"));
1.992.2.36. getContentResolver()
protected ContentResolver getContentResolver()
methodList.add(new ZMethod(mZAndroidAPPClass,"ContentResolver" ,"getContentResolver", ""));
1.992.2.37. getSystemService(final String name)
protected Object getSystemService(final String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getSystemService", "final String name"));
1.992.2.38. getPackageManager()
protected PackageManager getPackageManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageManager" ,"getPackageManager", ""));
1.992.2.39. onDetach()
public void onDetach()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetach", ""));
1.992.2.40. showDialog(int dialogId)
protected void showDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialog", "int dialogId"));
1.992.2.41. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.992.2.42. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.992.2.43. removeDialog(int dialogId)
protected void removeDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeDialog", "int dialogId"));
1.992.2.44. setOnCancelListener(DialogInterface.OnCancelListener listener)
protected void setOnCancelListener(DialogInterface.OnCancelListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnCancelListener", "DialogInterface.OnCancelListener listener"));
1.992.2.45. setOnDismissListener(DialogInterface.OnDismissListener listener)
protected void setOnDismissListener(DialogInterface.OnDismissListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnDismissListener", "DialogInterface.OnDismissListener listener"));
1.992.2.46. onDialogShowing()
public void onDialogShowing()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogShowing", ""));
1.992.2.47. onDisplayPreferenceDialog(Preference preference)
public void onDisplayPreferenceDialog(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisplayPreferenceDialog", "Preference preference"));
1.992.2.48. hasNextButton()
protected boolean hasNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasNextButton", ""));
1.992.2.49. getNextButton()
protected Button getNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getNextButton", ""));
1.992.2.50. finish()
public void finish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finish", ""));
1.992.2.51. getIntent()
protected Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.992.2.52. setResult(int result,Intent intent)
protected void setResult(int result, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setResult", "int result,Intent intent"));
1.992.2.53. setResult(int result)
protected void setResult(int result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setResult", "int result"));
1.992.2.54. final finishFragment()
public final void finishFragment()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finishFragment", ""));
1.993. SettingsSearchIndexablesProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/search/SettingsSearchIndexablesProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.993.1. SettingsSearchIndexablesProvider Field属性列表
1.993.1.1. static final boolean DEBUG
public static final boolean DEBUG = false;
1.993.1.2. static final String SYSPROP_CRASH_ON_ERROR
/**
* Flag for a system property which checks if we should crash if there are issues in the
* indexing pipeline.
*/
public static final String SYSPROP_CRASH_ON_ERROR = "debug.com.android.settings.search.crash_on_error";
1.993.1.3. static final String TAG
private static final String TAG = "SettingsSearchProvider";
1.993.1.4. static final Collection INVALID_KEYS;
private static final Collection INVALID_KEYS;
1.993.2. SettingsSearchIndexablesProviderMethod方法列表
1.993.2.1. onCreate()
public boolean onCreate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onCreate", ""));
1.993.2.2. queryXmlResources(String[] projection)
public Cursor queryXmlResources(String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"queryXmlResources", "String[] projection"));
1.993.2.3. queryRawData(String[] projection)
public Cursor queryRawData(String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"queryRawData", "String[] projection"));
1.993.2.4. queryNonIndexableKeys(String[] projection)
public Cursor queryNonIndexableKeys(String[] projection)
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"queryNonIndexableKeys", "String[] projection"));
1.993.2.5. querySiteMapPairs()
public Cursor querySiteMapPairs()
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"querySiteMapPairs", ""));
1.993.2.6. getNonIndexableKeysFromProvider(Context context)
private List getNonIndexableKeysFromProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getNonIndexableKeysFromProvider", "Context context"));
1.993.2.7. getSearchIndexableResourcesFromProvider(Context context)
private List getSearchIndexableResourcesFromProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSearchIndexableResourcesFromProvider", "Context context"));
1.993.2.8. getSearchIndexableRawFromProvider(Context context)
private List getSearchIndexableRawFromProvider(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSearchIndexableRawFromProvider", "Context context"));
1.994. SettingsSliceProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SettingsSliceProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.994.1. SettingsSliceProvider Field属性列表
1.994.1.1. SlicesDatabaseAccessor mSlicesDatabaseAccessor;
@VisibleForTesting
SlicesDatabaseAccessor mSlicesDatabaseAccessor;
1.994.1.2. Map mSliceWeakDataCache;
@VisibleForTesting
Map mSliceWeakDataCache;
1.994.1.3. Map mSliceDataCache;
@VisibleForTesting
Map mSliceDataCache;
1.994.1.4. final KeyValueListParser mParser;
private final KeyValueListParser mParser;
1.994.1.5. final Set mRegisteredUris
final Set mRegisteredUris = new ArraySet<>();
1.994.1.6. static final String TAG
private static final String TAG = "SettingsSliceProvider";
1.994.1.7. static final String SLICE_AUTHORITY
/**
* Authority for Settings slices not officially supported by the platform, but extensible for
* OEMs.
*/
public static final String SLICE_AUTHORITY = "com.android.settings.slices";
1.994.1.8. static final String ACTION_TOGGLE_CHANGED
/**
* Action passed for changes to Toggle Slices.
*/
public static final String ACTION_TOGGLE_CHANGED = "com.android.settings.slice.action.TOGGLE_CHANGED";
1.994.1.9. static final String ACTION_SLIDER_CHANGED
/**
* Action passed for changes to Slider Slices.
*/
public static final String ACTION_SLIDER_CHANGED = "com.android.settings.slice.action.SLIDER_CHANGED";
1.994.1.10. static final String EXTRA_SLICE_KEY
/**
* Intent Extra passed for the key identifying the Setting Slice.
*/
public static final String EXTRA_SLICE_KEY = "com.android.settings.slice.extra.key";
1.994.1.11. static final String EXTRA_SLICE_PLATFORM_DEFINED
/**
* Boolean extra to indicate if the Slice is platform-defined.
*/
public static final String EXTRA_SLICE_PLATFORM_DEFINED = "com.android.settings.slice.extra.platform";
1.994.2. SettingsSliceProviderMethod方法列表
1.994.2.1. onCreateSliceProvider()
public boolean onCreateSliceProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onCreateSliceProvider", ""));
1.994.2.2. onMapIntentToUri(Intent intent)
public Uri onMapIntentToUri(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"onMapIntentToUri", "Intent intent"));
1.994.2.3. onSlicePinned(Uri sliceUri)
public void onSlicePinned(Uri sliceUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSlicePinned", "Uri sliceUri"));
1.994.2.4. onSliceUnpinned(Uri sliceUri)
public void onSliceUnpinned(Uri sliceUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSliceUnpinned", "Uri sliceUri"));
1.994.2.5. onBindSlice(Uri sliceUri)
public Slice onBindSlice(Uri sliceUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"onBindSlice", "Uri sliceUri"));
1.994.2.6. onGetSliceDescendants(Uri uri)
public Collection onGetSliceDescendants(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Collection" ,"onGetSliceDescendants", "Uri uri"));
1.994.2.7. buildUrisFromKeys(List keys,String authority)
private List buildUrisFromKeys(List keys, String authority)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildUrisFromKeys", "List keys,String authority"));
1.994.2.8. loadSlice(Uri uri)
void loadSlice(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadSlice", "Uri uri"));
1.994.2.9. loadSliceInBackground(Uri uri)
void loadSliceInBackground(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadSliceInBackground", "Uri uri"));
1.994.2.10. getSliceStub(Uri uri)
private Slice getSliceStub(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getSliceStub", "Uri uri"));
1.994.2.11. getSpecialCaseUris(boolean isPlatformUri)
private List getSpecialCaseUris(boolean isPlatformUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSpecialCaseUris", "boolean isPlatformUri"));
1.994.2.12. getSpecialCasePlatformUris()
private List getSpecialCasePlatformUris()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSpecialCasePlatformUris", ""));
1.994.2.13. getSpecialCaseOemUris()
private List getSpecialCaseOemUris()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSpecialCaseOemUris", ""));
1.994.2.14. registerIntentToUri(IntentFilter intentFilter,Uri sliceUri)
/**
* Registers an IntentFilter in SysUI to notify changes to {@param sliceUri} when broadcasts to
* {@param intentFilter} happen.
*/
void registerIntentToUri(IntentFilter intentFilter, Uri sliceUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"/**
* Registers an IntentFilter in SysUI to notify changes to {@param sliceUri} when broadcasts to
* {@param intentFilter} happen.
*/
void" ,"registerIntentToUri", "IntentFilter intentFilter,Uri sliceUri"));
1.994.2.15. getBlockedKeys()
Set getBlockedKeys()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getBlockedKeys", ""));
1.994.2.16. parseStringArray(String value)
private String[] parseStringArray(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"parseStringArray", "String value"));
1.995. SettingsZenDurationDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SettingsZenDurationDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.995.1. SettingsZenDurationDialog Field属性列表
1.995.2. SettingsZenDurationDialogMethod方法列表
1.995.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.995.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.996. SetupChooseLockGeneric.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockGeneric.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.996.1. SetupChooseLockGeneric Field属性列表
1.996.1.1. static final String KEY_UNLOCK_SET_DO_LATER
private static final String KEY_UNLOCK_SET_DO_LATER = "unlock_set_do_later";
1.996.2. SetupChooseLockGenericMethod方法列表
1.996.2.1. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.996.2.2. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.996.2.3. onApplyThemeResource(Resources.Theme theme,int resid,boolean first)
protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onApplyThemeResource", "Resources.Theme theme,int resid,boolean first"));
1.996.2.4. onCreate(Bundle savedInstance)
protected void onCreate(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstance"));
1.997. SetupChooseLockPassword.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockPassword.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.997.1. SetupChooseLockPassword Field属性列表
1.997.1.1. static final String TAG
private static final String TAG = "SetupChooseLockPassword";
1.997.2. SetupChooseLockPasswordMethod方法列表
1.997.2.1. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.997.2.2. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.997.2.3. onCreate(Bundle savedInstance)
protected void onCreate(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstance"));
1.997.2.4. static modifyIntentForSetup(Context context,Intent chooseLockPasswordIntent)
public static Intent modifyIntentForSetup(Context context, Intent chooseLockPasswordIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"modifyIntentForSetup", "Context context,Intent chooseLockPasswordIntent"));
1.998. SetupChooseLockPattern.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetupChooseLockPattern.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.998.1. SetupChooseLockPattern Field属性列表
1.998.2. SetupChooseLockPatternMethod方法列表
1.998.2.1. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.998.2.2. getFragmentClass()
Class getFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getFragmentClass", ""));
1.998.2.3. static modifyIntentForSetup(Context context,Intent chooseLockPatternIntent)
public static Intent modifyIntentForSetup(Context context, Intent chooseLockPatternIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"modifyIntentForSetup", "Context context,Intent chooseLockPatternIntent"));
1.999. SetupEncryptionInterstitial.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SetupEncryptionInterstitial.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.999.1. SetupEncryptionInterstitial Field属性列表
1.999.2. SetupEncryptionInterstitialMethod方法列表
1.999.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.999.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.999.2.3. onCreate(Bundle savedInstance)
protected void onCreate(Bundle savedInstance)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstance"));
1.999.2.4. static createStartIntent(Context ctx,int quality,boolean requirePasswordDefault,Intent unlockMethodIntent)
public static Intent createStartIntent(Context ctx, int quality, boolean requirePasswordDefault, Intent unlockMethodIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"createStartIntent", "Context ctx,int quality,boolean requirePasswordDefault,Intent unlockMethodIntent"));
1.1000. SetupFingerprintEnrollEnrolling.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/SetupFingerprintEnrollEnrolling.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1000.1. SetupFingerprintEnrollEnrolling Field属性列表
1.1000.2. SetupFingerprintEnrollEnrollingMethod方法列表
1.1000.2.1. getFinishIntent()
protected Intent getFinishIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getFinishIntent", ""));
1.1000.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1001. SetupFingerprintEnrollFindSensor.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/SetupFingerprintEnrollFindSensor.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1001.1. SetupFingerprintEnrollFindSensor Field属性列表
1.1001.2. SetupFingerprintEnrollFindSensorMethod方法列表
1.1001.2.1. getContentView()
protected int getContentView()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getContentView", ""));
1.1001.2.2. getEnrollingIntent()
protected Intent getEnrollingIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getEnrollingIntent", ""));
1.1001.2.3. onSkipButtonClick()
protected void onSkipButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSkipButtonClick", ""));
1.1001.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1002. SetupFingerprintEnrollFinish.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/SetupFingerprintEnrollFinish.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1002.1. SetupFingerprintEnrollFinish Field属性列表
1.1002.2. SetupFingerprintEnrollFinishMethod方法列表
1.1002.2.1. getEnrollingIntent()
protected Intent getEnrollingIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getEnrollingIntent", ""));
1.1002.2.2. initViews()
protected void initViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initViews", ""));
1.1002.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1003. SetupFingerprintEnrollIntroduction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fingerprint/SetupFingerprintEnrollIntroduction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1003.1. SetupFingerprintEnrollIntroduction Field属性列表
1.1003.1.1. boolean mAlreadyHadLockScreenSetup
private boolean mAlreadyHadLockScreenSetup = false;
1.1003.1.2. static final String KEY_LOCK_SCREEN_PRESENT
private static final String KEY_LOCK_SCREEN_PRESENT = "wasLockScreenPresent";
1.1003.2. SetupFingerprintEnrollIntroductionMethod方法列表
1.1003.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1003.2.2. onSaveInstanceState(Bundle outState)
protected void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1003.2.3. getChooseLockIntent()
protected Intent getChooseLockIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getChooseLockIntent", ""));
1.1003.2.4. getFindSensorIntent()
protected Intent getFindSensorIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getFindSensorIntent", ""));
1.1003.2.5. initViews()
protected void initViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initViews", ""));
1.1003.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1003.2.7. getMetricIntent(Intent data)
private Intent getMetricIntent(Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getMetricIntent", "Intent data"));
1.1003.2.8. onCancelButtonClick()
protected void onCancelButtonClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCancelButtonClick", ""));
1.1003.2.9. onBackPressed()
public void onBackPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBackPressed", ""));
1.1003.2.10. isKeyguardSecure()
private boolean isKeyguardSecure()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isKeyguardSecure", ""));
1.1003.2.11. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1004. SetupRedactionInterstitial.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SetupRedactionInterstitial.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1004.1. SetupRedactionInterstitial Field属性列表
1.1004.2. SetupRedactionInterstitialMethod方法列表
1.1004.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.1004.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.1004.2.3. static setEnabled(Context context,boolean enabled)
public static void setEnabled(Context context, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "Context context,boolean enabled"));
1.1005. SetupSkipDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/SetupSkipDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1005.1. SetupSkipDialog Field属性列表
1.1005.1.1. static final String EXTRA_FRP_SUPPORTED
public static final String EXTRA_FRP_SUPPORTED = ":settings:frp_supported";
1.1005.1.2. static final String ARG_FRP_SUPPORTED
private static final String ARG_FRP_SUPPORTED = "frp_supported";
1.1005.1.3. static final String TAG_SKIP_DIALOG
private static final String TAG_SKIP_DIALOG = "skip_dialog";
1.1005.1.4. static final int RESULT_SKIP
public static final int RESULT_SKIP = Activity.RESULT_FIRST_USER + 10;
1.1005.2. SetupSkipDialogMethod方法列表
1.1005.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1005.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1005.2.3. onCreateDialogBuilder()
public AlertDialog.Builder onCreateDialogBuilder()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog.Builder" ,"onCreateDialogBuilder", ""));
1.1005.2.4. onClick(DialogInterface dialog,int button)
public void onClick(DialogInterface dialog, int button)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int button"));
1.1005.2.5. show(FragmentManager manager)
public void show(FragmentManager manager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "FragmentManager manager"));
1.1005.2.6. static newInstance(boolean isFrpSupported)
public static SetupSkipDialog newInstance(boolean isFrpSupported)
methodList.add(new ZMethod(mZAndroidAPPClass,"SetupSkipDialog" ,"newInstance", "boolean isFrpSupported"));
1.1006. SetupWizardUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SetupWizardUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1006.1. SetupWizardUtils Field属性列表
1.1006.1.1. static final String SYSTEM_PROP_SETUPWIZARD_THEME
@VisibleForTesting
static final String SYSTEM_PROP_SETUPWIZARD_THEME = "setupwizard.theme";
1.1006.2. SetupWizardUtilsMethod方法列表
1.1006.2.1. static getTheme(Intent intent)
public static int getTheme(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTheme", "Intent intent"));
1.1006.2.2. static getTransparentTheme(Intent intent)
public static int getTransparentTheme(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTransparentTheme", "Intent intent"));
1.1006.2.3. static copySetupExtras(Intent fromIntent,Intent toIntent)
public static void copySetupExtras(Intent fromIntent, Intent toIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copySetupExtras", "Intent fromIntent,Intent toIntent"));
1.1007. ShortcutManagerThrottlingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ShortcutManagerThrottlingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1007.1. ShortcutManagerThrottlingPreferenceController Field属性列表
1.1007.1.1. final IShortcutService mShortcutService;
private final IShortcutService mShortcutService;
1.1007.1.2. static final String TAG
private static final String TAG = "ShortcutMgrPrefCtrl";
1.1007.1.3. static final String SHORTCUT_MANAGER_RESET_KEY
private static final String SHORTCUT_MANAGER_RESET_KEY = "reset_shortcut_manager_throttling";
1.1007.2. ShortcutManagerThrottlingPreferenceControllerMethod方法列表
1.1007.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1007.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1007.2.3. resetShortcutManagerThrottling()
private void resetShortcutManagerThrottling()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetShortcutManagerThrottling", ""));
1.1007.2.4. getShortCutService()
private IShortcutService getShortCutService()
methodList.add(new ZMethod(mZAndroidAPPClass,"IShortcutService" ,"getShortCutService", ""));
1.1008. ShortcutServicePickerFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ShortcutServicePickerFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1008.1. ShortcutServicePickerFragment Field属性列表
1.1008.2. ShortcutServicePickerFragmentMethod方法列表
1.1008.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1008.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1008.2.3. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1008.2.4. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1008.2.5. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1008.2.6. onRadioButtonClicked(RadioButtonPreference selected)
public void onRadioButtonClicked(RadioButtonPreference selected)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference selected"));
1.1008.2.7. onServiceConfirmed(String serviceKey)
private void onServiceConfirmed(String serviceKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onServiceConfirmed", "String serviceKey"));
1.1009. ShowFirstCrashDialogPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ShowFirstCrashDialogPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1009.1. ShowFirstCrashDialogPreferenceController Field属性列表
1.1009.1.1. static final String SHOW_FIRST_CRASH_DIALOG_KEY
private static final String SHOW_FIRST_CRASH_DIALOG_KEY = "show_first_crash_dialog";
1.1009.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1009.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1009.2. ShowFirstCrashDialogPreferenceControllerMethod方法列表
1.1009.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1009.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1009.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1009.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1009.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1010. ShowLayoutBoundsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ShowLayoutBoundsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1010.1. ShowLayoutBoundsPreferenceController Field属性列表
1.1010.1.1. static final String DEBUG_LAYOUT_KEY
private static final String DEBUG_LAYOUT_KEY = "debug_layout";
1.1010.2. ShowLayoutBoundsPreferenceControllerMethod方法列表
1.1010.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1010.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1010.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1010.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1011. ShowOperatorNamePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ShowOperatorNamePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1011.1. ShowOperatorNamePreferenceController Field属性列表
1.1011.1.1. static final String KEY_SHOW_OPERATOR_NAME
private static final String KEY_SHOW_OPERATOR_NAME = "show_operator_name";
1.1011.2. ShowOperatorNamePreferenceControllerMethod方法列表
1.1011.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1011.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1011.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1011.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1012. ShowPasswordPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/ShowPasswordPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1012.1. ShowPasswordPreferenceController Field属性列表
1.1012.1.1. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.1012.1.2. static final String KEY_SHOW_PASSWORD
private static final String KEY_SHOW_PASSWORD = "show_password";
1.1012.1.3. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.1012.2. ShowPasswordPreferenceControllerMethod方法列表
1.1012.2.1. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1012.2.2. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1012.2.3. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1013. ShowSurfaceUpdatesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ShowSurfaceUpdatesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1013.1. ShowSurfaceUpdatesPreferenceController Field属性列表
1.1013.1.1. final IBinder mSurfaceFlinger;
private final IBinder mSurfaceFlinger;
1.1013.1.2. static final String SHOW_SCREEN_UPDATES_KEY
private static final String SHOW_SCREEN_UPDATES_KEY = "show_screen_updates";
1.1013.1.3. static final int SETTING_VALUE_ON
private static final int SETTING_VALUE_ON = 1;
1.1013.1.4. static final int SETTING_VALUE_OFF
private static final int SETTING_VALUE_OFF = 0;
1.1013.1.5. static final String SURFACE_FLINGER_SERVICE_KEY
@VisibleForTesting
static final String SURFACE_FLINGER_SERVICE_KEY = "SurfaceFlinger";
1.1013.1.6. static final int SURFACE_FLINGER_READ_CODE
@VisibleForTesting
static final int SURFACE_FLINGER_READ_CODE = 1010;
1.1013.1.7. static final int SURFACE_FLINGER_WRITE_SURFACE_UPDATES_CODE
private static final int SURFACE_FLINGER_WRITE_SURFACE_UPDATES_CODE = 1002;
1.1013.1.8. static final String SURFACE_COMPOSER_INTERFACE_KEY
private static final String SURFACE_COMPOSER_INTERFACE_KEY = "android.ui.ISurfaceComposer";
1.1013.2. ShowSurfaceUpdatesPreferenceControllerMethod方法列表
1.1013.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1013.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1013.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1013.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1013.2.5. updateShowUpdatesSetting()
void updateShowUpdatesSetting()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateShowUpdatesSetting", ""));
1.1013.2.6. writeShowUpdatesSetting(boolean isEnabled)
void writeShowUpdatesSetting(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeShowUpdatesSetting", "boolean isEnabled"));
1.1014. ShowTapsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/ShowTapsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1014.1. ShowTapsPreferenceController Field属性列表
1.1014.1.1. static final String SHOW_TOUCHES_KEY
private static final String SHOW_TOUCHES_KEY = "show_touches";
1.1014.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1014.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1014.2. ShowTapsPreferenceControllerMethod方法列表
1.1014.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1014.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1014.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1014.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1015. SimDialogActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sim/SimDialogActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1015.1. SimDialogActivity Field属性列表
1.1015.1.1. static String TAG
private static String TAG = "SimDialogActivity";
1.1015.1.2. static String PREFERRED_SIM
public static String PREFERRED_SIM = "preferred_sim";
1.1015.1.3. static String DIALOG_TYPE_KEY
public static String DIALOG_TYPE_KEY = "dialog_type";
1.1015.1.4. static final int INVALID_PICK
public static final int INVALID_PICK = -1;
1.1015.1.5. static final int DATA_PICK
public static final int DATA_PICK = 0;
1.1015.1.6. static final int CALLS_PICK
public static final int CALLS_PICK = 1;
1.1015.1.7. static final int SMS_PICK
public static final int SMS_PICK = 2;
1.1015.1.8. static final int PREFERRED_PICK
public static final int PREFERRED_PICK = 3;
1.1015.2. SimDialogActivityMethod方法列表
1.1015.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1015.2.2. displayPreferredDialog(final int slotId)
private void displayPreferredDialog(final int slotId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreferredDialog", "final int slotId"));
1.1015.2.3. setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle phoneAccount)
private void setUserSelectedOutgoingPhoneAccount(PhoneAccountHandle phoneAccount)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserSelectedOutgoingPhoneAccount", "PhoneAccountHandle phoneAccount"));
1.1015.2.4. subscriptionIdToPhoneAccountHandle(final int subId)
private PhoneAccountHandle subscriptionIdToPhoneAccountHandle(final int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"PhoneAccountHandle" ,"subscriptionIdToPhoneAccountHandle", "final int subId"));
1.1015.2.5. createDialog(final Context context,final int id)
public Dialog createDialog(final Context context, final int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createDialog", "final Context context,final int id"));
1.1015.2.6. static setDefaultDataSubId(final Context context,final int subId)
private static void setDefaultDataSubId(final Context context, final int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultDataSubId", "final Context context,final int subId"));
1.1015.2.7. static setDefaultSmsSubId(final Context context,final int subId)
private static void setDefaultSmsSubId(final Context context, final int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultSmsSubId", "final Context context,final int subId"));
1.1016. SimLockPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/SimLockPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1016.1. SimLockPreferenceController Field属性列表
1.1016.1.1. final CarrierConfigManager mCarrierConfigManager;
private final CarrierConfigManager mCarrierConfigManager;
1.1016.1.2. final UserManager mUserManager;
private final UserManager mUserManager;
1.1016.1.3. final SubscriptionManager mSubscriptionManager;
private final SubscriptionManager mSubscriptionManager;
1.1016.1.4. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.1016.1.5. static final String KEY_SIM_LOCK
private static final String KEY_SIM_LOCK = "sim_lock_settings";
1.1016.2. SimLockPreferenceControllerMethod方法列表
1.1016.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1016.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1016.2.3. isSimReady()
private boolean isSimReady()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSimReady", ""));
1.1016.2.4. isSimIccReady()
private boolean isSimIccReady()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSimIccReady", ""));
1.1017. SimPreferenceDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sim/SimPreferenceDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1017.1. SimPreferenceDialog Field属性列表
1.1017.1.1. Context mContext;
private Context mContext;
1.1017.1.2. SubscriptionInfo mSubInfoRecord;
private SubscriptionInfo mSubInfoRecord;
1.1017.1.3. int mSlotId;
private int mSlotId;
1.1017.1.4. int[] mTintArr;
private int[] mTintArr;
1.1017.1.5. String[] mColorStrings;
private String[] mColorStrings;
1.1017.1.6. int mTintSelectorPos;
private int mTintSelectorPos;
1.1017.1.7. SubscriptionManager mSubscriptionManager;
private SubscriptionManager mSubscriptionManager;
1.1017.1.8. AlertDialog.Builder mBuilder;
AlertDialog.Builder mBuilder;
1.1017.1.9. View mDialogLayout;
View mDialogLayout;
1.1017.1.10. final String SIM_NAME
private final String SIM_NAME = "sim_name";
1.1017.1.11. final String TINT_POS
private final String TINT_POS = "tint_pos";
1.1017.2. SimPreferenceDialogMethod方法列表
1.1017.2.1. onCreate(Bundle bundle)
public void onCreate(Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle bundle"));
1.1017.2.2. onSaveInstanceState(Bundle savedInstanceState)
public void onSaveInstanceState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle savedInstanceState"));
1.1017.2.3. onRestoreInstanceState(Bundle savedInstanceState)
public void onRestoreInstanceState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle savedInstanceState"));
1.1017.2.4. createEditDialog(Bundle bundle)
private void createEditDialog(Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createEditDialog", "Bundle bundle"));
1.1018. SimSelectNotification.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sim/SimSelectNotification.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1018.1. SimSelectNotification Field属性列表
1.1018.1.1. static final String TAG
private static final String TAG = "SimSelectNotification";
1.1018.1.2. static final int NOTIFICATION_ID
private static final int NOTIFICATION_ID = 1;
1.1018.1.3. static final String SIM_SELECT_NOTIFICATION_CHANNEL
private static final String SIM_SELECT_NOTIFICATION_CHANNEL = "sim_select_notification_channel";
1.1018.2. SimSelectNotificationMethod方法列表
1.1018.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1018.2.2. createNotification(Context context)
private void createNotification(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createNotification", "Context context"));
1.1018.2.3. static cancelNotification(Context context)
public static void cancelNotification(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelNotification", "Context context"));
1.1019. SimSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/sim/SimSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1019.1. SimSettings Field属性列表
1.1019.1.1. List mAvailableSubInfos
/**
* By UX design we use only one Subscription Information(SubInfo) record per SIM slot.
* mAvalableSubInfos is the list of SubInfos we present to the user.
* mSubInfoList is the list of all SubInfos.
* mSelectableSubInfos is the list of SubInfos that a user can select for data, calls, and SMS.
*/
private List mAvailableSubInfos = null;
1.1019.1.2. List mSubInfoList
private List mSubInfoList = null;
1.1019.1.3. List mSelectableSubInfos
private List mSelectableSubInfos = null;
1.1019.1.4. PreferenceScreen mSimCards
private PreferenceScreen mSimCards = null;
1.1019.1.5. SubscriptionManager mSubscriptionManager;
private SubscriptionManager mSubscriptionManager;
1.1019.1.6. int mNumSlots;
private int mNumSlots;
1.1019.1.7. Context mContext;
private Context mContext;
1.1019.1.8. int mPhoneCount
private int mPhoneCount = TelephonyManager.getDefault().getPhoneCount();
1.1019.1.9. int[] mCallState
private int[] mCallState = new int[mPhoneCount];
1.1019.1.10. PhoneStateListener[] mPhoneStateListener
private PhoneStateListener[] mPhoneStateListener = new PhoneStateListener[mPhoneCount];
1.1019.1.11. final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener
private final SubscriptionManager.OnSubscriptionsChangedListener mOnSubscriptionsChangeListener = new SubscriptionManager.OnSubscriptionsChangedListener() {
@Override
public void onSubscriptionsChanged() {
if (DBG)
log("onSubscriptionsChanged:");
updateSubscriptions();
}
};
1.1019.1.12. static final String TAG
private static final String TAG = "SimSettings";
1.1019.1.13. static final boolean DBG
private static final boolean DBG = false;
1.1019.1.14. static final String DISALLOW_CONFIG_SIM
private static final String DISALLOW_CONFIG_SIM = "no_config_sim";
1.1019.1.15. static final String SIM_CARD_CATEGORY
private static final String SIM_CARD_CATEGORY = "sim_cards";
1.1019.1.16. static final String KEY_CELLULAR_DATA
private static final String KEY_CELLULAR_DATA = "sim_cellular_data";
1.1019.1.17. static final String KEY_CALLS
private static final String KEY_CALLS = "sim_calls";
1.1019.1.18. static final String KEY_SMS
private static final String KEY_SMS = "sim_sms";
1.1019.1.19. static final String EXTRA_SLOT_ID
public static final String EXTRA_SLOT_ID = "slot_id";
1.1019.1.20. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For search
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
ArrayList result = new ArrayList();
if (Utils.showSimCardTile(context)) {
SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.sim_settings;
result.add(sir);
}
return result;
}
};
1.1019.2. SimSettingsMethod方法列表
1.1019.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1019.2.2. onCreate(final Bundle bundle)
public void onCreate(final Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "final Bundle bundle"));
1.1019.2.3. updateSubscriptions()
private void updateSubscriptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSubscriptions", ""));
1.1019.2.4. updateAllOptions()
private void updateAllOptions()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAllOptions", ""));
1.1019.2.5. updateSimSlotValues()
private void updateSimSlotValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSimSlotValues", ""));
1.1019.2.6. updateActivitesCategory()
private void updateActivitesCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateActivitesCategory", ""));
1.1019.2.7. updateSmsValues()
private void updateSmsValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSmsValues", ""));
1.1019.2.8. updateCellularDataValues()
private void updateCellularDataValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCellularDataValues", ""));
1.1019.2.9. updateCallValues()
private void updateCallValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateCallValues", ""));
1.1019.2.10. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1019.2.11. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1019.2.12. getPhoneStateListener(int phoneId,int subId)
private PhoneStateListener getPhoneStateListener(int phoneId, int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"PhoneStateListener" ,"getPhoneStateListener", "int phoneId,int subId"));
1.1019.2.13. onPreferenceTreeClick(final Preference preference)
public boolean onPreferenceTreeClick(final Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "final Preference preference"));
1.1019.2.14. getPhoneNumber(SubscriptionInfo info)
private String getPhoneNumber(SubscriptionInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPhoneNumber", "SubscriptionInfo info"));
1.1019.2.15. log(String s)
private void log(String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "String s"));
1.1019.2.16. isCallStateIdle()
private boolean isCallStateIdle()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCallStateIdle", ""));
1.1020. SimStatusDialogController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/SimStatusDialogController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1020.1. SimStatusDialogController Field属性列表
1.1020.1.1. boolean mShowLatestAreaInfo;
private boolean mShowLatestAreaInfo;
1.1020.1.2. PhoneStateListener mPhoneStateListener;
private PhoneStateListener mPhoneStateListener;
1.1020.1.3. final SimStatusDialogFragment mDialog;
private final SimStatusDialogFragment mDialog;
1.1020.1.4. final SubscriptionInfo mSubscriptionInfo;
private final SubscriptionInfo mSubscriptionInfo;
1.1020.1.5. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.1020.1.6. final CarrierConfigManager mCarrierConfigManager;
private final CarrierConfigManager mCarrierConfigManager;
1.1020.1.7. final EuiccManager mEuiccManager;
private final EuiccManager mEuiccManager;
1.1020.1.8. final Resources mRes;
private final Resources mRes;
1.1020.1.9. final Context mContext;
private final Context mContext;
1.1020.1.10. final BroadcastReceiver mAreaInfoReceiver
private final BroadcastReceiver mAreaInfoReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final String action = intent.getAction();
if (TextUtils.equals(action, CB_AREA_INFO_RECEIVED_ACTION)) {
final Bundle extras = intent.getExtras();
if (extras == null) {
return;
}
final CellBroadcastMessage cbMessage = (CellBroadcastMessage) extras.get("message");
if (cbMessage != null && mSubscriptionInfo.getSubscriptionId() == cbMessage.getSubId()) {
final String latestAreaInfo = cbMessage.getMessageBody();
mDialog.setText(OPERATOR_INFO_VALUE_ID, latestAreaInfo);
}
}
}
};
1.1020.1.11. static final String TAG
private static final String TAG = "SimStatusDialogCtrl";
1.1020.1.12. static final int NETWORK_PROVIDER_VALUE_ID
@VisibleForTesting
static final int NETWORK_PROVIDER_VALUE_ID = R.id.operator_name_value;
1.1020.1.13. static final int PHONE_NUMBER_VALUE_ID
@VisibleForTesting
static final int PHONE_NUMBER_VALUE_ID = R.id.number_value;
1.1020.1.14. static final int CELLULAR_NETWORK_STATE
@VisibleForTesting
static final int CELLULAR_NETWORK_STATE = R.id.data_state_value;
1.1020.1.15. static final int OPERATOR_INFO_LABEL_ID
@VisibleForTesting
static final int OPERATOR_INFO_LABEL_ID = R.id.latest_area_info_label;
1.1020.1.16. static final int OPERATOR_INFO_VALUE_ID
@VisibleForTesting
static final int OPERATOR_INFO_VALUE_ID = R.id.latest_area_info_value;
1.1020.1.17. static final int SERVICE_STATE_VALUE_ID
@VisibleForTesting
static final int SERVICE_STATE_VALUE_ID = R.id.service_state_value;
1.1020.1.18. static final int SIGNAL_STRENGTH_LABEL_ID
@VisibleForTesting
static final int SIGNAL_STRENGTH_LABEL_ID = R.id.signal_strength_label;
1.1020.1.19. static final int SIGNAL_STRENGTH_VALUE_ID
@VisibleForTesting
static final int SIGNAL_STRENGTH_VALUE_ID = R.id.signal_strength_value;
1.1020.1.20. static final int CELL_VOICE_NETWORK_TYPE_VALUE_ID
@VisibleForTesting
static final int CELL_VOICE_NETWORK_TYPE_VALUE_ID = R.id.voice_network_type_value;
1.1020.1.21. static final int CELL_DATA_NETWORK_TYPE_VALUE_ID
@VisibleForTesting
static final int CELL_DATA_NETWORK_TYPE_VALUE_ID = R.id.data_network_type_value;
1.1020.1.22. static final int ROAMING_INFO_VALUE_ID
@VisibleForTesting
static final int ROAMING_INFO_VALUE_ID = R.id.roaming_state_value;
1.1020.1.23. static final int ICCID_INFO_LABEL_ID
@VisibleForTesting
static final int ICCID_INFO_LABEL_ID = R.id.icc_id_label;
1.1020.1.24. static final int ICCID_INFO_VALUE_ID
@VisibleForTesting
static final int ICCID_INFO_VALUE_ID = R.id.icc_id_value;
1.1020.1.25. static final int EID_INFO_VALUE_ID
@VisibleForTesting
static final int EID_INFO_VALUE_ID = R.id.esim_id_value;
1.1020.1.26. static final int IMS_REGISTRATION_STATE_LABEL_ID
@VisibleForTesting
static final int IMS_REGISTRATION_STATE_LABEL_ID = R.id.ims_reg_state_label;
1.1020.1.27. static final int IMS_REGISTRATION_STATE_VALUE_ID
@VisibleForTesting
static final int IMS_REGISTRATION_STATE_VALUE_ID = R.id.ims_reg_state_value;
1.1020.1.28. static final String CB_AREA_INFO_RECEIVED_ACTION
private static final String CB_AREA_INFO_RECEIVED_ACTION = "com.android.cellbroadcastreceiver.CB_AREA_INFO_RECEIVED";
1.1020.1.29. static final String GET_LATEST_CB_AREA_INFO_ACTION
private static final String GET_LATEST_CB_AREA_INFO_ACTION = "com.android.cellbroadcastreceiver.GET_LATEST_CB_AREA_INFO";
1.1020.1.30. static final String CELL_BROADCAST_RECEIVER_APP
private static final String CELL_BROADCAST_RECEIVER_APP = "com.android.cellbroadcastreceiver";
1.1020.2. SimStatusDialogControllerMethod方法列表
1.1020.2.1. initialize()
public void initialize()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initialize", ""));
1.1020.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1020.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1020.2.4. updateNetworkProvider(ServiceState serviceState)
private void updateNetworkProvider(ServiceState serviceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNetworkProvider", "ServiceState serviceState"));
1.1020.2.5. updatePhoneNumber()
private void updatePhoneNumber()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePhoneNumber", ""));
1.1020.2.6. updateDataState(int state)
private void updateDataState(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDataState", "int state"));
1.1020.2.7. updateLatestAreaInfo()
private void updateLatestAreaInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLatestAreaInfo", ""));
1.1020.2.8. updateServiceState(ServiceState serviceState)
private void updateServiceState(ServiceState serviceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateServiceState", "ServiceState serviceState"));
1.1020.2.9. updateSignalStrength(SignalStrength signalStrength)
private void updateSignalStrength(SignalStrength signalStrength)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSignalStrength", "SignalStrength signalStrength"));
1.1020.2.10. resetSignalStrength()
private void resetSignalStrength()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetSignalStrength", ""));
1.1020.2.11. updateNetworkType()
private void updateNetworkType()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateNetworkType", ""));
1.1020.2.12. updateRoamingStatus(ServiceState serviceState)
private void updateRoamingStatus(ServiceState serviceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRoamingStatus", "ServiceState serviceState"));
1.1020.2.13. updateIccidNumber()
private void updateIccidNumber()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateIccidNumber", ""));
1.1020.2.14. updateEid()
private void updateEid()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEid", ""));
1.1020.2.15. updateImsRegistrationState()
private void updateImsRegistrationState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateImsRegistrationState", ""));
1.1020.2.16. getPhoneSubscriptionInfo(int slotId)
private SubscriptionInfo getPhoneSubscriptionInfo(int slotId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubscriptionInfo" ,"getPhoneSubscriptionInfo", "int slotId"));
1.1020.2.17. getCurrentServiceState()
ServiceState getCurrentServiceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"ServiceState" ,"getCurrentServiceState", ""));
1.1020.2.18. getDbm(SignalStrength signalStrength)
int getDbm(SignalStrength signalStrength)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDbm", "SignalStrength signalStrength"));
1.1020.2.19. getAsuLevel(SignalStrength signalStrength)
int getAsuLevel(SignalStrength signalStrength)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAsuLevel", "SignalStrength signalStrength"));
1.1020.2.20. getPhoneStateListener()
PhoneStateListener getPhoneStateListener()
methodList.add(new ZMethod(mZAndroidAPPClass,"PhoneStateListener" ,"getPhoneStateListener", ""));
1.1020.2.21. getPhoneNumber()
String getPhoneNumber()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPhoneNumber", ""));
1.1020.2.22. getSignalStrength()
SignalStrength getSignalStrength()
methodList.add(new ZMethod(mZAndroidAPPClass,"SignalStrength" ,"getSignalStrength", ""));
1.1020.2.23. getSimSerialNumber(int subscriptionId)
String getSimSerialNumber(int subscriptionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSimSerialNumber", "int subscriptionId"));
1.1021. SimStatusDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/SimStatusDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1021.1. SimStatusDialogFragment Field属性列表
1.1021.1.1. View mRootView;
private View mRootView;
1.1021.1.2. SimStatusDialogController mController;
private SimStatusDialogController mController;
1.1021.1.3. static final String SIM_SLOT_BUNDLE_KEY
private static final String SIM_SLOT_BUNDLE_KEY = "arg_key_sim_slot";
1.1021.1.4. static final String DIALOG_TITLE_BUNDLE_KEY
private static final String DIALOG_TITLE_BUNDLE_KEY = "arg_key_dialog_title";
1.1021.1.5. static final String TAG
private static final String TAG = "SimStatusDialog";
1.1021.2. SimStatusDialogFragmentMethod方法列表
1.1021.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1021.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1021.2.3. removeSettingFromScreen(int viewId)
public void removeSettingFromScreen(int viewId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeSettingFromScreen", "int viewId"));
1.1021.2.4. setText(int viewId,CharSequence text)
public void setText(int viewId, CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setText", "int viewId,CharSequence text"));
1.1021.2.5. static show(Fragment host,int slotId,String dialogTitle)
public static void show(Fragment host, int slotId, String dialogTitle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment host,int slotId,String dialogTitle"));
1.1022. SimStatusPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/SimStatusPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1022.1. SimStatusPreferenceController Field属性列表
1.1022.1.1. final TelephonyManager mTelephonyManager;
private final TelephonyManager mTelephonyManager;
1.1022.1.2. final SubscriptionManager mSubscriptionManager;
private final SubscriptionManager mSubscriptionManager;
1.1022.1.3. final Fragment mFragment;
private final Fragment mFragment;
1.1022.1.4. final List mPreferenceList
private final List mPreferenceList = new ArrayList<>();
1.1022.1.5. static final String KEY_SIM_STATUS
private static final String KEY_SIM_STATUS = "sim_status";
1.1022.2. SimStatusPreferenceControllerMethod方法列表
1.1022.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1022.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1022.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1022.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1022.2.5. getPreferenceTitle(int simSlot)
private String getPreferenceTitle(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceTitle", "int simSlot"));
1.1022.2.6. getCarrierName(int simSlot)
private CharSequence getCarrierName(int simSlot)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getCarrierName", "int simSlot"));
1.1022.2.7. createNewPreference(Context context)
Preference createNewPreference(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createNewPreference", "Context context"));
1.1023. SimulateColorSpacePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/SimulateColorSpacePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1023.1. SimulateColorSpacePreferenceController Field属性列表
1.1023.1.1. static final String SIMULATE_COLOR_SPACE
private static final String SIMULATE_COLOR_SPACE = "simulate_color_space";
1.1023.1.2. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1023.1.3. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1023.2. SimulateColorSpacePreferenceControllerMethod方法列表
1.1023.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1023.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1023.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1023.2.4. onDeveloperOptionsDisabled()
public void onDeveloperOptionsDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsDisabled", ""));
1.1023.2.5. updateSimulateColorSpace()
private void updateSimulateColorSpace()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSimulateColorSpace", ""));
1.1023.2.6. writeSimulateColorSpace(Object value)
private void writeSimulateColorSpace(Object value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeSimulateColorSpace", "Object value"));
1.1023.2.7. usingDevelopmentColorSpace()
private boolean usingDevelopmentColorSpace()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"usingDevelopmentColorSpace", ""));
1.1024. SliceBroadcastReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceBroadcastReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1024.1. SliceBroadcastReceiver Field属性列表
1.1024.1.1. static String TAG
private static String TAG = "SettSliceBroadcastRec";
1.1024.2. SliceBroadcastReceiverMethod方法列表
1.1024.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1024.2.2. handleToggleAction(Context context,String key,boolean isChecked,boolean isPlatformSlice)
private void handleToggleAction(Context context, String key, boolean isChecked, boolean isPlatformSlice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleToggleAction", "Context context,String key,boolean isChecked,boolean isPlatformSlice"));
1.1024.2.3. handleSliderAction(Context context,String key,int newPosition,boolean isPlatformSlice)
private void handleSliderAction(Context context, String key, int newPosition, boolean isPlatformSlice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleSliderAction", "Context context,String key,int newPosition,boolean isPlatformSlice"));
1.1024.2.4. logSliceValueChange(Context context,String sliceKey,int newValue)
private void logSliceValueChange(Context context, String sliceKey, int newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSliceValueChange", "Context context,String sliceKey,int newValue"));
1.1024.2.5. getPreferenceController(Context context,String key)
private BasePreferenceController getPreferenceController(Context context, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"BasePreferenceController" ,"getPreferenceController", "Context context,String key"));
1.1024.2.6. updateUri(Context context,String key,boolean isPlatformDefined)
private void updateUri(Context context, String key, boolean isPlatformDefined)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUri", "Context context,String key,boolean isPlatformDefined"));
1.1025. SliceBuilderUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceBuilderUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1025.1. SliceBuilderUtils Field属性列表
1.1025.1.1. static final String TAG
private static final String TAG = "SliceBuilder";
1.1025.2. SliceBuilderUtilsMethod方法列表
1.1025.2.1. static buildSlice(Context context,SliceData sliceData)
public static Slice buildSlice(Context context, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"buildSlice", "Context context,SliceData sliceData"));
1.1025.2.2. static getSliceType(Context context,String controllerClassName,String controllerKey)
public static int getSliceType(Context context, String controllerClassName, String controllerKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliceType", "Context context,String controllerClassName,String controllerKey"));
1.1025.2.3. static getPathData(Uri uri)
public static Pair getPathData(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Pair" ,"getPathData", "Uri uri"));
1.1025.2.4. static getPreferenceController(Context context,SliceData sliceData)
public static BasePreferenceController getPreferenceController(Context context, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"BasePreferenceController" ,"getPreferenceController", "Context context,SliceData sliceData"));
1.1025.2.5. static getActionIntent(Context context,String action,SliceData data)
public static PendingIntent getActionIntent(Context context, String action, SliceData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getActionIntent", "Context context,String action,SliceData data"));
1.1025.2.6. static getContentPendingIntent(Context context,SliceData sliceData)
public static PendingIntent getContentPendingIntent(Context context, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getContentPendingIntent", "Context context,SliceData sliceData"));
1.1025.2.7. static getSubtitleText(Context context,AbstractPreferenceController controller,SliceData sliceData)
public static CharSequence getSubtitleText(Context context, AbstractPreferenceController controller, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSubtitleText", "Context context,AbstractPreferenceController controller,SliceData sliceData"));
1.1025.2.8. static getUri(String path,boolean isPlatformSlice)
public static Uri getUri(String path, boolean isPlatformSlice)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUri", "String path,boolean isPlatformSlice"));
1.1025.2.9. static getContentIntent(Context context,SliceData sliceData)
static Intent getContentIntent(Context context, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getContentIntent", "Context context,SliceData sliceData"));
1.1025.2.10. static buildToggleSlice(Context context,SliceData sliceData,BasePreferenceController controller)
private static Slice buildToggleSlice(Context context, SliceData sliceData, BasePreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"buildToggleSlice", "Context context,SliceData sliceData,BasePreferenceController controller"));
1.1025.2.11. static buildIntentSlice(Context context,SliceData sliceData,BasePreferenceController controller)
private static Slice buildIntentSlice(Context context, SliceData sliceData, BasePreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"buildIntentSlice", "Context context,SliceData sliceData,BasePreferenceController controller"));
1.1025.2.12. static buildSliderSlice(Context context,SliceData sliceData,BasePreferenceController controller)
private static Slice buildSliderSlice(Context context, SliceData sliceData, BasePreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"buildSliderSlice", "Context context,SliceData sliceData,BasePreferenceController controller"));
1.1025.2.13. static getPreferenceController(Context context,String controllerClassName,String controllerKey)
private static BasePreferenceController getPreferenceController(Context context, String controllerClassName, String controllerKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"BasePreferenceController" ,"getPreferenceController", "Context context,String controllerClassName,String controllerKey"));
1.1025.2.14. static getToggleAction(Context context,SliceData sliceData,boolean isChecked)
private static SliceAction getToggleAction(Context context, SliceData sliceData, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceAction" ,"getToggleAction", "Context context,SliceData sliceData,boolean isChecked"));
1.1025.2.15. static getSliderAction(Context context,SliceData sliceData)
private static PendingIntent getSliderAction(Context context, SliceData sliceData)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getSliderAction", "Context context,SliceData sliceData"));
1.1025.2.16. static isValidSummary(Context context,CharSequence summary)
private static boolean isValidSummary(Context context, CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidSummary", "Context context,CharSequence summary"));
1.1025.2.17. static buildSliceKeywords(SliceData data)
private static List buildSliceKeywords(SliceData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildSliceKeywords", "SliceData data"));
1.1025.2.18. static buildUnavailableSlice(Context context,SliceData data)
private static Slice buildUnavailableSlice(Context context, SliceData data)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"buildUnavailableSlice", "Context context,SliceData data"));
1.1026. SliceData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1026.1. SliceData Field属性列表
1.1026.1.1. final String mKey;
private final String mKey;
1.1026.1.2. final String mTitle;
private final String mTitle;
1.1026.1.3. final String mSummary;
private final String mSummary;
1.1026.1.4. final CharSequence mScreenTitle;
private final CharSequence mScreenTitle;
1.1026.1.5. final String mKeywords;
private final String mKeywords;
1.1026.1.6. final int mIconResource;
private final int mIconResource;
1.1026.1.7. final String mFragmentClassName;
private final String mFragmentClassName;
1.1026.1.8. final Uri mUri;
private final Uri mUri;
1.1026.1.9. final String mPreferenceController;
private final String mPreferenceController;
1.1026.1.10. final int mSliceType;
@SliceType
private final int mSliceType;
1.1026.1.11. final boolean mIsPlatformDefined;
private final boolean mIsPlatformDefined;
1.1026.2. SliceDataMethod方法列表
1.1026.2.1. getKey()
public String getKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKey", ""));
1.1026.2.2. getTitle()
public String getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTitle", ""));
1.1026.2.3. getSummary()
public String getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", ""));
1.1026.2.4. getScreenTitle()
public CharSequence getScreenTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getScreenTitle", ""));
1.1026.2.5. getKeywords()
public String getKeywords()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeywords", ""));
1.1026.2.6. getIconResource()
public int getIconResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconResource", ""));
1.1026.2.7. getFragmentClassName()
public String getFragmentClassName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getFragmentClassName", ""));
1.1026.2.8. getUri()
public Uri getUri()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getUri", ""));
1.1026.2.9. getPreferenceController()
public String getPreferenceController()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceController", ""));
1.1026.2.10. getSliceType()
public int getSliceType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliceType", ""));
1.1026.2.11. isPlatformDefined()
public boolean isPlatformDefined()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPlatformDefined", ""));
1.1026.2.12. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.1026.2.13. equals(Object obj)
public boolean equals(Object obj)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object obj"));
1.1027. SliceDataConverter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceDataConverter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1027.1. SliceDataConverter Field属性列表
1.1027.1.1. Context mContext;
private Context mContext;
1.1027.1.2. List mSliceData;
private List mSliceData;
1.1027.1.3. static final String TAG
private static final String TAG = "SliceDataConverter";
1.1027.1.4. static final String NODE_NAME_PREFERENCE_SCREEN
private static final String NODE_NAME_PREFERENCE_SCREEN = "PreferenceScreen";
1.1027.2. SliceDataConverterMethod方法列表
1.1027.2.1. getSliceData()
public List getSliceData()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSliceData", ""));
1.1027.2.2. getSliceDataFromProvider(SearchIndexProvider provider,String fragmentName)
private List getSliceDataFromProvider(SearchIndexProvider provider, String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSliceDataFromProvider", "SearchIndexProvider provider,String fragmentName"));
1.1027.2.3. getSliceDataFromXML(int xmlResId,String fragmentName)
private List getSliceDataFromXML(int xmlResId, String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSliceDataFromXML", "int xmlResId,String fragmentName"));
1.1027.2.4. getAccessibilitySliceData()
private List getAccessibilitySliceData()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAccessibilitySliceData", ""));
1.1027.2.5. getAccessibilityServiceInfoList()
List getAccessibilityServiceInfoList()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getAccessibilityServiceInfoList", ""));
1.1028. SliceDeepLinkSpringBoard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceDeepLinkSpringBoard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1028.1. SliceDeepLinkSpringBoard Field属性列表
1.1028.1.1. static final String TAG
private static final String TAG = "DeeplinkSpringboard";
1.1028.1.2. static final String INTENT
public static final String INTENT = "intent";
1.1028.1.3. static final String SETTINGS
public static final String SETTINGS = "settings";
1.1028.1.4. static final String ACTION_VIEW_SLICE
public static final String ACTION_VIEW_SLICE = "com.android.settings.action.VIEW_SLICE";
1.1028.1.5. static final String EXTRA_SLICE
public static final String EXTRA_SLICE = "slice";
1.1028.2. SliceDeepLinkSpringBoardMethod方法列表
1.1028.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1028.2.2. static parse(Uri uri,String pkg)
public static Intent parse(Uri uri, String pkg) throws URISyntaxException
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"parse", "Uri uri,String pkg"));
1.1029. SliceRelayReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SliceRelayReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1029.1. SliceRelayReceiver Field属性列表
1.1029.2. SliceRelayReceiverMethod方法列表
1.1029.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1030. SlicesDatabaseAccessor.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SlicesDatabaseAccessor.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1030.1. SlicesDatabaseAccessor Field属性列表
1.1030.1.1. final int TRUE
// Cursor value for boolean true
private final int TRUE = 1;
1.1030.1.2. final Context mContext;
private final Context mContext;
1.1030.1.3. final SlicesDatabaseHelper mHelper;
private final SlicesDatabaseHelper mHelper;
1.1030.1.4. static final String[] SELECT_COLUMNS_ALL
public static final String[] SELECT_COLUMNS_ALL = { IndexColumns.KEY, IndexColumns.TITLE, IndexColumns.SUMMARY, IndexColumns.SCREENTITLE, IndexColumns.KEYWORDS, IndexColumns.ICON_RESOURCE, IndexColumns.FRAGMENT, IndexColumns.CONTROLLER, IndexColumns.PLATFORM_SLICE, IndexColumns.SLICE_TYPE };
1.1030.2. SlicesDatabaseAccessorMethod方法列表
1.1030.2.1. getSliceDataFromUri(Uri uri)
public SliceData getSliceDataFromUri(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceData" ,"getSliceDataFromUri", "Uri uri"));
1.1030.2.2. getSliceDataFromKey(String key)
public SliceData getSliceDataFromKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceData" ,"getSliceDataFromKey", "String key"));
1.1030.2.3. getSliceKeys(boolean isPlatformSlice)
public List getSliceKeys(boolean isPlatformSlice)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSliceKeys", "boolean isPlatformSlice"));
1.1030.2.4. getIndexedSliceData(String path)
private Cursor getIndexedSliceData(String path)
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"getIndexedSliceData", "String path"));
1.1030.2.5. buildKeyMatchWhereClause()
private String buildKeyMatchWhereClause()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"buildKeyMatchWhereClause", ""));
1.1030.2.6. buildSliceData(Cursor cursor,Uri uri,boolean isIntentOnly)
private SliceData buildSliceData(Cursor cursor, Uri uri, boolean isIntentOnly)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceData" ,"buildSliceData", "Cursor cursor,Uri uri,boolean isIntentOnly"));
1.1030.2.7. verifyIndexing()
private void verifyIndexing()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"verifyIndexing", ""));
1.1031. SlicesDatabaseHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SlicesDatabaseHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1031.1. SlicesDatabaseHelper Field属性列表
1.1031.1.1. final Context mContext;
private final Context mContext;
1.1031.1.2. static SlicesDatabaseHelper sSingleton;
private static SlicesDatabaseHelper sSingleton;
1.1031.1.3. static final String TAG
private static final String TAG = "SlicesDatabaseHelper";
1.1031.1.4. static final String DATABASE_NAME
private static final String DATABASE_NAME = "slices_index.db";
1.1031.1.5. static final String SHARED_PREFS_TAG
private static final String SHARED_PREFS_TAG = "slices_shared_prefs";
1.1031.1.6. static final int DATABASE_VERSION
private static final int DATABASE_VERSION = 2;
1.1031.1.7. static final String CREATE_SLICES_TABLE
private static final String CREATE_SLICES_TABLE = "CREATE VIRTUAL TABLE " + Tables.TABLE_SLICES_INDEX + " USING fts4" + "(" + IndexColumns.KEY + ", " + IndexColumns.TITLE + ", " + IndexColumns.SUMMARY + ", " + IndexColumns.SCREENTITLE + ", " + IndexColumns.KEYWORDS + ", " + IndexColumns.ICON_RESOURCE + ", " + IndexColumns.FRAGMENT + ", " + IndexColumns.CONTROLLER + ", " + IndexColumns.PLATFORM_SLICE + ", " + IndexColumns.SLICE_TYPE + ");";
1.1031.2. SlicesDatabaseHelperMethod方法列表
1.1031.2.1. onCreate(SQLiteDatabase db)
public void onCreate(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "SQLiteDatabase db"));
1.1031.2.2. onUpgrade(SQLiteDatabase db,int oldVersion,int newVersion)
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUpgrade", "SQLiteDatabase db,int oldVersion,int newVersion"));
1.1031.2.3. reconstruct(SQLiteDatabase db)
void reconstruct(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reconstruct", "SQLiteDatabase db"));
1.1031.2.4. setIndexedState()
public void setIndexedState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIndexedState", ""));
1.1031.2.5. isSliceDataIndexed()
public boolean isSliceDataIndexed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceDataIndexed", ""));
1.1031.2.6. createDatabases(SQLiteDatabase db)
private void createDatabases(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDatabases", "SQLiteDatabase db"));
1.1031.2.7. dropTables(SQLiteDatabase db)
private void dropTables(SQLiteDatabase db)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dropTables", "SQLiteDatabase db"));
1.1031.2.8. setBuildIndexed()
private void setBuildIndexed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBuildIndexed", ""));
1.1031.2.9. setLocaleIndexed()
private void setLocaleIndexed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocaleIndexed", ""));
1.1031.2.10. isBuildIndexed()
private boolean isBuildIndexed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBuildIndexed", ""));
1.1031.2.11. isLocaleIndexed()
private boolean isLocaleIndexed()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLocaleIndexed", ""));
1.1031.2.12. getBuildTag()
String getBuildTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getBuildTag", ""));
1.1031.2.13. static sync getInstance(Context context)
public static synchronized SlicesDatabaseHelper getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SlicesDatabaseHelper" ,"getInstance", "Context context"));
1.1032. SlicesFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SlicesFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1033. SlicesFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SlicesFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1033.1. SlicesFeatureProviderImpl Field属性列表
1.1033.1.1. SlicesIndexer mSlicesIndexer;
private SlicesIndexer mSlicesIndexer;
1.1033.1.2. SliceDataConverter mSliceDataConverter;
private SliceDataConverter mSliceDataConverter;
1.1033.2. SlicesFeatureProviderImplMethod方法列表
1.1033.2.1. getSliceIndexer(Context context)
public SlicesIndexer getSliceIndexer(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SlicesIndexer" ,"getSliceIndexer", "Context context"));
1.1033.2.2. getSliceDataConverter(Context context)
public SliceDataConverter getSliceDataConverter(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SliceDataConverter" ,"getSliceDataConverter", "Context context"));
1.1033.2.3. indexSliceDataAsync(Context context)
public void indexSliceDataAsync(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"indexSliceDataAsync", "Context context"));
1.1033.2.4. indexSliceData(Context context)
public void indexSliceData(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"indexSliceData", "Context context"));
1.1033.2.5. getNewWifiCallingSliceHelper(Context context)
public WifiCallingSliceHelper getNewWifiCallingSliceHelper(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiCallingSliceHelper" ,"getNewWifiCallingSliceHelper", "Context context"));
1.1034. SlicesIndexer.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/slices/SlicesIndexer.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1034.1. SlicesIndexer Field属性列表
1.1034.1.1. Context mContext;
private Context mContext;
1.1034.1.2. SlicesDatabaseHelper mHelper;
private SlicesDatabaseHelper mHelper;
1.1034.1.3. static final String TAG
private static final String TAG = "SlicesIndexer";
1.1034.2. SlicesIndexerMethod方法列表
1.1034.2.1. run()
public void run()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"run", ""));
1.1034.2.2. indexSliceData()
protected void indexSliceData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"indexSliceData", ""));
1.1034.2.3. getSliceData()
List getSliceData()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSliceData", ""));
1.1034.2.4. insertSliceData(SQLiteDatabase database,List indexData)
void insertSliceData(SQLiteDatabase database, List indexData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"insertSliceData", "SQLiteDatabase database,List indexData"));
1.1035. SliderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/SliderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1035.1. SliderPreferenceController Field属性列表
1.1035.2. SliderPreferenceControllerMethod方法列表
1.1035.2.1. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1035.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1035.2.3. getSliceType()
public int getSliceType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliceType", ""));
1.1035.2.4. abstract getSliderPosition()
public abstract int getSliderPosition()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliderPosition", ""));
1.1035.2.5. abstract setSliderPosition(int position)
public abstract boolean setSliderPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSliderPosition", "int position"));
1.1035.2.6. abstract getMaxSteps()
public abstract int getMaxSteps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaxSteps", ""));
1.1036. SlidingTabLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SlidingTabLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1036.1. SlidingTabLayout Field属性列表
1.1036.1.1. RtlCompatibleViewPager mViewPager;
private RtlCompatibleViewPager mViewPager;
1.1036.1.2. int mSelectedPosition;
private int mSelectedPosition;
1.1036.1.3. float mSelectionOffset;
private float mSelectionOffset;
1.1036.1.4. final LinearLayout mTitleView;
private final LinearLayout mTitleView;
1.1036.1.5. final View mIndicatorView;
private final View mIndicatorView;
1.1036.1.6. final LayoutInflater mLayoutInflater;
private final LayoutInflater mLayoutInflater;
1.1036.2. SlidingTabLayoutMethod方法列表
1.1036.2.1. setViewPager(RtlCompatibleViewPager viewPager)
public void setViewPager(RtlCompatibleViewPager viewPager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setViewPager", "RtlCompatibleViewPager viewPager"));
1.1036.2.2. onMeasure(int widthMeasureSpec,int heightMeasureSpec)
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onMeasure", "int widthMeasureSpec,int heightMeasureSpec"));
1.1036.2.3. onLayout(boolean changed,int left,int top,int right,int bottom)
protected void onLayout(boolean changed, int left, int top, int right, int bottom)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLayout", "boolean changed,int left,int top,int right,int bottom"));
1.1036.2.4. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1036.2.5. onViewPagerPageChanged(int position,float positionOffset)
private void onViewPagerPageChanged(int position, float positionOffset)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewPagerPageChanged", "int position,float positionOffset"));
1.1036.2.6. populateTabStrip()
private void populateTabStrip()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateTabStrip", ""));
1.1036.2.7. getIndicatorLeft()
private int getIndicatorLeft()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIndicatorLeft", ""));
1.1036.2.8. isRtlMode()
private boolean isRtlMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isRtlMode", ""));
1.1037. SmartBatteryAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/SmartBatteryAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1037.1. SmartBatteryAction Field属性列表
1.1037.1.1. SettingsActivity mSettingsActivity;
private SettingsActivity mSettingsActivity;
1.1037.1.2. Fragment mFragment;
private Fragment mFragment;
1.1037.2. SmartBatteryActionMethod方法列表
1.1037.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.1038. SmartBatteryDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/SmartBatteryDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1038.1. SmartBatteryDetector Field属性列表
1.1038.1.1. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.1038.1.2. ContentResolver mContentResolver;
private ContentResolver mContentResolver;
1.1038.2. SmartBatteryDetectorMethod方法列表
1.1038.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.1039. SmartBatteryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/SmartBatteryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1039.1. SmartBatteryPreferenceController Field属性列表
1.1039.1.1. PowerUsageFeatureProvider mPowerUsageFeatureProvider;
private PowerUsageFeatureProvider mPowerUsageFeatureProvider;
1.1039.1.2. static final String KEY_SMART_BATTERY
private static final String KEY_SMART_BATTERY = "smart_battery";
1.1039.1.3. static final int ON
private static final int ON = 1;
1.1039.1.4. static final int OFF
private static final int OFF = 0;
1.1039.2. SmartBatteryPreferenceControllerMethod方法列表
1.1039.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1039.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.1039.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1039.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1040. SmartBatterySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/SmartBatterySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1040.1. SmartBatterySettings Field属性列表
1.1040.1.1. static final String TAG
public static final String TAG = "SmartBatterySettings";
1.1040.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.smart_battery_detail;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, null);
}
};
1.1040.2. SmartBatterySettingsMethod方法列表
1.1040.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1040.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1040.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1040.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1040.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1040.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1040.2.7. static buildPreferenceControllers(Context context,SettingsActivity settingsActivity,InstrumentedPreferenceFragment fragment)
private static List buildPreferenceControllers(Context context, SettingsActivity settingsActivity, InstrumentedPreferenceFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,SettingsActivity settingsActivity,InstrumentedPreferenceFragment fragment"));
1.1041. SmartBatteryTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/SmartBatteryTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1041.1. SmartBatteryTip Field属性列表
1.1041.1.1. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new SmartBatteryTip(in);
}
public BatteryTip[] newArray(int size) {
return new SmartBatteryTip[size];
}
};
1.1041.2. SmartBatteryTipMethod方法列表
1.1041.2.1. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.1041.2.2. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.1041.2.3. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.1041.2.4. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.1041.2.5. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.1042. SmsDefaultDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SmsDefaultDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1042.1. SmsDefaultDialog Field属性列表
1.1042.1.1. SmsApplicationData mNewSmsApplicationData;
private SmsApplicationData mNewSmsApplicationData;
1.1042.2. SmsDefaultDialogMethod方法列表
1.1042.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1042.2.2. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.1042.2.3. buildDialog(String packageName)
private boolean buildDialog(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"buildDialog", "String packageName"));
1.1043. SoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1043.1. SoundPreferenceController Field属性列表
1.1043.1.1. NotificationSoundPreference mPreference;
private NotificationSoundPreference mPreference;
1.1043.1.2. final SettingsPreferenceFragment mFragment;
private final SettingsPreferenceFragment mFragment;
1.1043.1.3. final NotificationSettingsBase.ImportanceListener mListener;
private final NotificationSettingsBase.ImportanceListener mListener;
1.1043.1.4. static final String KEY_SOUND
private static final String KEY_SOUND = "ringtone";
1.1043.1.5. static final int CODE
protected static final int CODE = 200;
1.1043.2. SoundPreferenceControllerMethod方法列表
1.1043.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1043.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1043.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1043.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1043.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1043.2.6. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1043.2.7. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1043.2.8. static hasValidSound(NotificationChannel channel)
protected static boolean hasValidSound(NotificationChannel channel)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasValidSound", "NotificationChannel channel"));
1.1044. SoundSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SoundSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1044.1. SoundSettings Field属性列表
1.1044.1.1. RingtonePreference mRequestPreference;
private RingtonePreference mRequestPreference;
1.1044.1.2. UpdatableListPreferenceDialogFragment mDialogFragment;
private UpdatableListPreferenceDialogFragment mDialogFragment;
1.1044.1.3. String mMediaOutputControllerKey;
private String mMediaOutputControllerKey;
1.1044.1.4. String mHfpOutputControllerKey;
private String mHfpOutputControllerKey;
1.1044.1.5. final VolumePreferenceCallback mVolumeCallback
@VisibleForTesting
final VolumePreferenceCallback mVolumeCallback = new VolumePreferenceCallback();
1.1044.1.6. final Handler mHandler
@VisibleForTesting
final Handler mHandler = new Handler(Looper.getMainLooper()) {
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case STOP_SAMPLE:
mVolumeCallback.stopSample();
break;
}
}
};
1.1044.1.7. static final String TAG
private static final String TAG = "SoundSettings";
1.1044.1.8. static final String SELECTED_PREFERENCE_KEY
private static final String SELECTED_PREFERENCE_KEY = "selected_preference";
1.1044.1.9. static final int REQUEST_CODE
private static final int REQUEST_CODE = 200;
1.1044.1.10. static final String KEY_ZEN_MODE
private static final String KEY_ZEN_MODE = "zen_mode";
1.1044.1.11. static final int SAMPLE_CUTOFF
// manually cap sample playback at 2 seconds
private static final int SAMPLE_CUTOFF = 2000;
1.1044.1.12. static final int STOP_SAMPLE
@VisibleForTesting
static final int STOP_SAMPLE = 1;
1.1044.1.13. static final //
// === Indexing ===
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.sound_settings;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, /* fragment */
null);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
// Duplicate results
keys.add((new ZenModePreferenceController(context, null, KEY_ZEN_MODE)).getPreferenceKey());
return keys;
}
};
1.1044.2. SoundSettingsMethod方法列表
1.1044.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1044.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1044.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1044.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1044.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1044.2.6. onDisplayPreferenceDialog(Preference preference)
public void onDisplayPreferenceDialog(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDisplayPreferenceDialog", "Preference preference"));
1.1044.2.7. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1044.2.8. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1044.2.9. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1044.2.10. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1044.2.11. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1044.2.12. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1044.2.13. enableWorkSync()
void enableWorkSync()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableWorkSync", ""));
1.1044.2.14. onPreferenceDataChanged(ListPreference preference)
private void onPreferenceDataChanged(ListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceDataChanged", "ListPreference preference"));
1.1044.2.15. static buildPreferenceControllers(Context context,SoundSettings fragment,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, SoundSettings fragment, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,SoundSettings fragment,Lifecycle lifecycle"));
1.1045. SpacePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/SpacePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1045.1. SpacePreference Field属性列表
1.1045.1.1. int mHeight;
private int mHeight;
1.1045.2. SpacePreferenceMethod方法列表
1.1045.2.1. setHeight(int height)
public void setHeight(int height)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeight", "int height"));
1.1045.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1046. SpannableUtil.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/SpannableUtil.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1046.1. SpannableUtil Field属性列表
1.1046.2. SpannableUtilMethod方法列表
1.1046.2.1. static getResourcesText(Resources res,@StringRes int resId,Object... args)
public static Spannable getResourcesText(Resources res, @StringRes int resId, Object... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Spannable" ,"getResourcesText", "Resources res,@StringRes int resId,Object... args"));
1.1047. SpecialAccessSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/SpecialAccessSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1047.1. SpecialAccessSettings Field属性列表
1.1047.1.1. static final String TAG
private static final String TAG = "SpecialAccessSettings";
1.1047.1.2. static final String[] DISABLED_FEATURES_LOW_RAM
private static final String[] DISABLED_FEATURES_LOW_RAM = new String[] { "notification_access", "zen_access", "enabled_vr_listeners", "picture_in_picture" };
1.1047.1.3. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.special_access;
result.add(sir);
return result;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context);
}
};
1.1047.2. SpecialAccessSettingsMethod方法列表
1.1047.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1047.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1047.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1047.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1047.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1047.2.6. static buildPreferenceControllers(@NonNull Context context)
private static List buildPreferenceControllers(@NonNull Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "@NonNull Context context"));
1.1048. SpecialAppAccessPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/SpecialAppAccessPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1048.1. SpecialAppAccessPreferenceController Field属性列表
1.1048.1.1. DataSaverBackend mDataSaverBackend;
private DataSaverBackend mDataSaverBackend;
1.1048.1.2. static final String KEY_SPECIAL_ACCESS
private static final String KEY_SPECIAL_ACCESS = "special_access";
1.1048.2. SpecialAppAccessPreferenceControllerMethod方法列表
1.1048.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1048.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1048.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1049. SpellCheckerPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/SpellCheckerPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1049.1. SpellCheckerPreference Field属性列表
1.1049.1.1. Intent mIntent;
private Intent mIntent;
1.1049.1.2. final SpellCheckerInfo[] mScis;
private final SpellCheckerInfo[] mScis;
1.1049.2. SpellCheckerPreferenceMethod方法列表
1.1049.2.1. onPrepareDialogBuilder(Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "Builder builder,DialogInterface.OnClickListener listener"));
1.1049.2.2. setSelected(SpellCheckerInfo currentSci)
public void setSelected(SpellCheckerInfo currentSci)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelected", "SpellCheckerInfo currentSci"));
1.1049.2.3. setValue(String value)
public void setValue(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValue", "String value"));
1.1049.2.4. callChangeListener(Object newValue)
public boolean callChangeListener(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"callChangeListener", "Object newValue"));
1.1049.2.5. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1049.2.6. onSettingsButtonClicked()
private void onSettingsButtonClicked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSettingsButtonClicked", ""));
1.1050. SpellCheckerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/SpellCheckerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1050.1. SpellCheckerPreferenceController Field属性列表
1.1050.1.1. final TextServicesManager mTextServicesManager;
private final TextServicesManager mTextServicesManager;
1.1050.1.2. static final String KEY_SPELL_CHECKERS
public static final String KEY_SPELL_CHECKERS = "spellcheckers_settings";
1.1050.2. SpellCheckerPreferenceControllerMethod方法列表
1.1050.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1050.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1050.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1050.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1051. SpellCheckersSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/SpellCheckersSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1051.1. SpellCheckersSettings Field属性列表
1.1051.1.1. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.1051.1.2. Preference mSpellCheckerLanaguagePref;
private Preference mSpellCheckerLanaguagePref;
1.1051.1.3. AlertDialog mDialog
private AlertDialog mDialog = null;
1.1051.1.4. SpellCheckerInfo mCurrentSci;
private SpellCheckerInfo mCurrentSci;
1.1051.1.5. SpellCheckerInfo[] mEnabledScis;
private SpellCheckerInfo[] mEnabledScis;
1.1051.1.6. TextServicesManager mTsm;
private TextServicesManager mTsm;
1.1051.1.7. static final String TAG
private static final String TAG = SpellCheckersSettings.class.getSimpleName();
1.1051.1.8. static final boolean DBG
private static final boolean DBG = false;
1.1051.1.9. static final String KEY_SPELL_CHECKER_LANGUAGE
private static final String KEY_SPELL_CHECKER_LANGUAGE = "spellchecker_language";
1.1051.1.10. static final String KEY_DEFAULT_SPELL_CHECKER
private static final String KEY_DEFAULT_SPELL_CHECKER = "default_spellchecker";
1.1051.1.11. static final int ITEM_ID_USE_SYSTEM_LANGUAGE
private static final int ITEM_ID_USE_SYSTEM_LANGUAGE = 0;
1.1051.2. SpellCheckersSettingsMethod方法列表
1.1051.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1051.2.2. onCreate(final Bundle icicle)
public void onCreate(final Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "final Bundle icicle"));
1.1051.2.3. populatePreferenceScreen()
private void populatePreferenceScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populatePreferenceScreen", ""));
1.1051.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1051.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1051.2.6. onSwitchChanged(final Switch switchView,final boolean isChecked)
public void onSwitchChanged(final Switch switchView, final boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "final Switch switchView,final boolean isChecked"));
1.1051.2.7. updatePreferenceScreen()
private void updatePreferenceScreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceScreen", ""));
1.1051.2.8. getSpellCheckerSubtypeLabel(final SpellCheckerInfo sci,final SpellCheckerSubtype subtype)
private CharSequence getSpellCheckerSubtypeLabel(final SpellCheckerInfo sci, final SpellCheckerSubtype subtype)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSpellCheckerSubtypeLabel", "final SpellCheckerInfo sci,final SpellCheckerSubtype subtype"));
1.1051.2.9. onPreferenceClick(final Preference pref)
public boolean onPreferenceClick(final Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "final Preference pref"));
1.1051.2.10. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1051.2.11. showChooseLanguageDialog()
private void showChooseLanguageDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showChooseLanguageDialog", ""));
1.1051.2.12. showSecurityWarnDialog(final SpellCheckerInfo sci)
private void showSecurityWarnDialog(final SpellCheckerInfo sci)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showSecurityWarnDialog", "final SpellCheckerInfo sci"));
1.1051.2.13. changeCurrentSpellChecker(final SpellCheckerInfo sci)
private void changeCurrentSpellChecker(final SpellCheckerInfo sci)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"changeCurrentSpellChecker", "final SpellCheckerInfo sci"));
1.1051.2.14. static convertSubtypeIndexToDialogItemId(final int index)
private static int convertSubtypeIndexToDialogItemId(final int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"convertSubtypeIndexToDialogItemId", "final int index"));
1.1051.2.15. static convertDialogItemIdToSubtypeIndex(final int item)
private static int convertDialogItemIdToSubtypeIndex(final int item)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"convertDialogItemIdToSubtypeIndex", "final int item"));
1.1052. SpinnerPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/SpinnerPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1052.1. SpinnerPreference Field属性列表
1.1052.1.1. CycleAdapter mAdapter;
private CycleAdapter mAdapter;
1.1052.1.2. AdapterView.OnItemSelectedListener mListener;
private AdapterView.OnItemSelectedListener mListener;
1.1052.1.3. Object mCurrentObject;
private Object mCurrentObject;
1.1052.1.4. int mPosition;
private int mPosition;
1.1052.1.5. final AdapterView.OnItemSelectedListener mOnSelectedListener
private final AdapterView.OnItemSelectedListener mOnSelectedListener = new AdapterView.OnItemSelectedListener() {
@Override
public void onItemSelected(AdapterView parent, View view, int position, long id) {
if (mPosition == position)
return;
mPosition = position;
mCurrentObject = mAdapter.getItem(position);
mListener.onItemSelected(parent, view, position, id);
}
@Override
public void onNothingSelected(AdapterView parent) {
mListener.onNothingSelected(parent);
}
};
1.1052.2. SpinnerPreferenceMethod方法列表
1.1052.2.1. setAdapter(CycleAdapter cycleAdapter)
public void setAdapter(CycleAdapter cycleAdapter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAdapter", "CycleAdapter cycleAdapter"));
1.1052.2.2. setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener)
public void setOnItemSelectedListener(AdapterView.OnItemSelectedListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnItemSelectedListener", "AdapterView.OnItemSelectedListener listener"));
1.1052.2.3. getSelectedItem()
public Object getSelectedItem()
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"getSelectedItem", ""));
1.1052.2.4. setSelection(int position)
public void setSelection(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelection", "int position"));
1.1052.2.5. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.1052.2.6. performClick(View view)
protected void performClick(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"performClick", "View view"));
1.1053. StartNowPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/StartNowPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1053.1. StartNowPreferenceController Field属性列表
1.1053.1.1. final DreamBackend mBackend;
private final DreamBackend mBackend;
1.1053.1.2. static final String TAG
private static final String TAG = "StartNowPreferenceController";
1.1053.1.3. static final String PREF_KEY
private static final String PREF_KEY = "dream_start_now_button_container";
1.1053.2. StartNowPreferenceControllerMethod方法列表
1.1053.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1053.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1053.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1053.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1054. StatsManagerConfig.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/StatsManagerConfig.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1054.1. StatsManagerConfig Field属性列表
1.1054.1.1. static final long ANOMALY_CONFIG_KEY
/**
* The key that represents the anomaly config.
* This value is used in {@link android.app.StatsManager#addConfiguration(long, byte[])}
*/
public static final long ANOMALY_CONFIG_KEY = 1;
1.1054.1.2. static final long SUBSCRIBER_ID
/**
* The key that represents subscriber, which is settings app.
*/
public static final long SUBSCRIBER_ID = 1;
1.1054.2. StatsManagerConfigMethod方法列表
1.1055. StayAwakePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/StayAwakePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1055.1. StayAwakePreferenceController Field属性列表
1.1055.1.1. SettingsObserver mSettingsObserver;
@VisibleForTesting
SettingsObserver mSettingsObserver;
1.1055.1.2. RestrictedSwitchPreference mPreference;
private RestrictedSwitchPreference mPreference;
1.1055.1.3. static final String TAG
private static final String TAG = "StayAwakeCtrl";
1.1055.1.4. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = "keep_screen_on";
1.1055.1.5. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1055.1.6. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = BatteryManager.BATTERY_PLUGGED_AC | BatteryManager.BATTERY_PLUGGED_USB | BatteryManager.BATTERY_PLUGGED_WIRELESS;
1.1055.2. StayAwakePreferenceControllerMethod方法列表
1.1055.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1055.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1055.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1055.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1055.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1055.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1055.2.7. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1055.2.8. checkIfMaximumTimeToLockSetByAdmin()
RestrictedLockUtils.EnforcedAdmin checkIfMaximumTimeToLockSetByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedLockUtils.EnforcedAdmin" ,"checkIfMaximumTimeToLockSetByAdmin", ""));
1.1056. StopAndBackgroundCheckAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/action/StopAndBackgroundCheckAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1056.1. StopAndBackgroundCheckAction Field属性列表
1.1056.1.1. ForceStopAction mForceStopAction;
@VisibleForTesting
ForceStopAction mForceStopAction;
1.1056.1.2. BackgroundCheckAction mBackgroundCheckAction;
@VisibleForTesting
BackgroundCheckAction mBackgroundCheckAction;
1.1056.2. StopAndBackgroundCheckActionMethod方法列表
1.1056.2.1. handlePositiveAction(Anomaly anomaly,int metricsKey)
public void handlePositiveAction(Anomaly anomaly, int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "Anomaly anomaly,int metricsKey"));
1.1056.2.2. isActionActive(Anomaly anomaly)
public boolean isActionActive(Anomaly anomaly)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isActionActive", "Anomaly anomaly"));
1.1056.2.3. getActionType()
public int getActionType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getActionType", ""));
1.1057. StorageAsyncLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/StorageAsyncLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1057.1. StorageAsyncLoader Field属性列表
1.1057.1.1. UserManager mUserManager;
private UserManager mUserManager;
1.1057.1.2. String mUuid;
private String mUuid;
1.1057.1.3. StorageStatsSource mStatsManager;
private StorageStatsSource mStatsManager;
1.1057.1.4. PackageManagerWrapper mPackageManager;
private PackageManagerWrapper mPackageManager;
1.1057.1.5. ArraySet mSeenPackages;
private ArraySet mSeenPackages;
1.1057.1.6. static final String TAG
private static final String TAG = "StorageAsyncLoader";
1.1057.2. StorageAsyncLoaderMethod方法列表
1.1057.2.1. loadInBackground()
public SparseArray loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"loadInBackground", ""));
1.1057.2.2. loadApps()
private SparseArray loadApps()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"loadApps", ""));
1.1057.2.3. getStorageResultForUser(int userId)
private AppsStorageResult getStorageResultForUser(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppsStorageResult" ,"getStorageResultForUser", "int userId"));
1.1057.2.4. onDiscardResult(SparseArray result)
protected void onDiscardResult(SparseArray result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "SparseArray result"));
1.1058. StorageDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1058.1. StorageDashboardFragment Field属性列表
1.1058.1.1. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.1058.1.2. PrivateStorageInfo mStorageInfo;
private PrivateStorageInfo mStorageInfo;
1.1058.1.3. SparseArray mAppsResult;
private SparseArray mAppsResult;
1.1058.1.4. CachedStorageValuesHelper mCachedStorageValuesHelper;
private CachedStorageValuesHelper mCachedStorageValuesHelper;
1.1058.1.5. StorageSummaryDonutPreferenceController mSummaryController;
private StorageSummaryDonutPreferenceController mSummaryController;
1.1058.1.6. StorageItemPreferenceController mPreferenceController;
private StorageItemPreferenceController mPreferenceController;
1.1058.1.7. PrivateVolumeOptionMenuController mOptionMenuController;
private PrivateVolumeOptionMenuController mOptionMenuController;
1.1058.1.8. List mSecondaryUsers;
private List mSecondaryUsers;
1.1058.1.9. static final String TAG
private static final String TAG = "StorageDashboardFrag";
1.1058.1.10. static final int STORAGE_JOB_ID
private static final int STORAGE_JOB_ID = 0;
1.1058.1.11. static final int ICON_JOB_ID
private static final int ICON_JOB_ID = 1;
1.1058.1.12. static final int VOLUME_SIZE_JOB_ID
private static final int VOLUME_SIZE_JOB_ID = 2;
1.1058.1.13. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.storage_dashboard_fragment;
return Arrays.asList(sir);
}
@Override
public List createPreferenceControllers(Context context) {
final StorageManager sm = context.getSystemService(StorageManager.class);
final UserManager userManager = context.getSystemService(UserManager.class);
final List controllers = new ArrayList<>();
controllers.add(new StorageSummaryDonutPreferenceController(context));
controllers.add(new StorageItemPreferenceController(context, null, /* host */
null, /* volume */
new StorageManagerVolumeProvider(sm)));
controllers.addAll(SecondaryUserController.getSecondaryUserControllers(context, userManager));
return controllers;
}
};
1.1058.2. StorageDashboardFragmentMethod方法列表
1.1058.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1058.2.2. initializeOptionsMenu(Activity activity)
void initializeOptionsMenu(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeOptionsMenu", "Activity activity"));
1.1058.2.3. onViewCreated(View v,Bundle savedInstanceState)
public void onViewCreated(View v, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View v,Bundle savedInstanceState"));
1.1058.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1058.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1058.2.6. onReceivedSizes()
private void onReceivedSizes()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceivedSizes", ""));
1.1058.2.7. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1058.2.8. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1058.2.9. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1058.2.10. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1058.2.11. setVolume(VolumeInfo info)
protected void setVolume(VolumeInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVolume", "VolumeInfo info"));
1.1058.2.12. updateSecondaryUserControllers(List controllers,SparseArray stats)
private void updateSecondaryUserControllers(List controllers, SparseArray stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSecondaryUserControllers", "List controllers,SparseArray stats"));
1.1058.2.13. onCreateLoader(int id,Bundle args)
public Loader> onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader>" ,"onCreateLoader", "int id,Bundle args"));
1.1058.2.14. onLoadFinished(Loader> loader,SparseArray data)
public void onLoadFinished(Loader> loader, SparseArray data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader> loader,SparseArray data"));
1.1058.2.15. onLoaderReset(Loader> loader)
public void onLoaderReset(Loader> loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader> loader"));
1.1058.2.16. setCachedStorageValuesHelper(CachedStorageValuesHelper helper)
public void setCachedStorageValuesHelper(CachedStorageValuesHelper helper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCachedStorageValuesHelper", "CachedStorageValuesHelper helper"));
1.1058.2.17. getPrivateStorageInfo()
public PrivateStorageInfo getPrivateStorageInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"PrivateStorageInfo" ,"getPrivateStorageInfo", ""));
1.1058.2.18. setPrivateStorageInfo(PrivateStorageInfo info)
public void setPrivateStorageInfo(PrivateStorageInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPrivateStorageInfo", "PrivateStorageInfo info"));
1.1058.2.19. getAppsStorageResult()
public SparseArray getAppsStorageResult()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"getAppsStorageResult", ""));
1.1058.2.20. setAppsStorageResult(SparseArray info)
public void setAppsStorageResult(SparseArray info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAppsStorageResult", "SparseArray info"));
1.1058.2.21. initializeCachedValues()
public void initializeCachedValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeCachedValues", ""));
1.1058.2.22. maybeSetLoading(boolean isQuotaSupported)
public void maybeSetLoading(boolean isQuotaSupported)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeSetLoading", "boolean isQuotaSupported"));
1.1058.2.23. initializeCacheProvider()
private void initializeCacheProvider()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initializeCacheProvider", ""));
1.1058.2.24. maybeCacheFreshValues()
private void maybeCacheFreshValues()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"maybeCacheFreshValues", ""));
1.1058.2.25. isQuotaSupported()
private boolean isQuotaSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isQuotaSupported", ""));
1.1059. StorageItemPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageItemPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1059.1. StorageItemPreference Field属性列表
1.1059.1.1. int userHandle;
public int userHandle;
1.1059.1.2. ProgressBar mProgressBar;
private ProgressBar mProgressBar;
1.1059.1.3. int mProgressPercent
private int mProgressPercent = UNINITIALIZED;
1.1059.1.4. static final int UNINITIALIZED
private static final int UNINITIALIZED = -1;
1.1059.1.5. static final int PROGRESS_MAX
private static final int PROGRESS_MAX = 100;
1.1059.2. StorageItemPreferenceMethod方法列表
1.1059.2.1. setStorageSize(long size,long total)
public void setStorageSize(long size, long total)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStorageSize", "long size,long total"));
1.1059.2.2. updateProgressBar()
protected void updateProgressBar()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateProgressBar", ""));
1.1059.2.3. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1059.2.4. static getGigabyteSuffix(Resources res)
private static int getGigabyteSuffix(Resources res)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getGigabyteSuffix", "Resources res"));
1.1060. StorageItemPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/StorageItemPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1060.1. StorageItemPreferenceController Field属性列表
1.1060.1.1. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.1060.1.2. int mUserId;
private int mUserId;
1.1060.1.3. long mUsedBytes;
private long mUsedBytes;
1.1060.1.4. long mTotalSize;
private long mTotalSize;
1.1060.1.5. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.1060.1.6. StorageItemPreference mPhotoPreference;
private StorageItemPreference mPhotoPreference;
1.1060.1.7. StorageItemPreference mAudioPreference;
private StorageItemPreference mAudioPreference;
1.1060.1.8. StorageItemPreference mGamePreference;
private StorageItemPreference mGamePreference;
1.1060.1.9. StorageItemPreference mMoviesPreference;
private StorageItemPreference mMoviesPreference;
1.1060.1.10. StorageItemPreference mAppPreference;
private StorageItemPreference mAppPreference;
1.1060.1.11. StorageItemPreference mFilePreference;
private StorageItemPreference mFilePreference;
1.1060.1.12. StorageItemPreference mSystemPreference;
private StorageItemPreference mSystemPreference;
1.1060.1.13. boolean mIsWorkProfile;
private boolean mIsWorkProfile;
1.1060.1.14. final Fragment mFragment;
private final Fragment mFragment;
1.1060.1.15. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1060.1.16. final StorageVolumeProvider mSvp;
private final StorageVolumeProvider mSvp;
1.1060.1.17. static final String TAG
private static final String TAG = "StorageItemPreference";
1.1060.1.18. static final String SYSTEM_FRAGMENT_TAG
private static final String SYSTEM_FRAGMENT_TAG = "SystemInfo";
1.1060.1.19. static final String PHOTO_KEY
@VisibleForTesting
static final String PHOTO_KEY = "pref_photos_videos";
1.1060.1.20. static final String AUDIO_KEY
@VisibleForTesting
static final String AUDIO_KEY = "pref_music_audio";
1.1060.1.21. static final String GAME_KEY
@VisibleForTesting
static final String GAME_KEY = "pref_games";
1.1060.1.22. static final String MOVIES_KEY
@VisibleForTesting
static final String MOVIES_KEY = "pref_movies";
1.1060.1.23. static final String OTHER_APPS_KEY
@VisibleForTesting
static final String OTHER_APPS_KEY = "pref_other_apps";
1.1060.1.24. static final String SYSTEM_KEY
@VisibleForTesting
static final String SYSTEM_KEY = "pref_system";
1.1060.1.25. static final String FILES_KEY
@VisibleForTesting
static final String FILES_KEY = "pref_files";
1.1060.1.26. static final String AUTHORITY_MEDIA
private static final String AUTHORITY_MEDIA = "com.android.providers.media.documents";
1.1060.2. StorageItemPreferenceControllerMethod方法列表
1.1060.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1060.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1060.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1060.2.4. setVolume(VolumeInfo volume)
public void setVolume(VolumeInfo volume)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVolume", "VolumeInfo volume"));
1.1060.2.5. setFilesPreferenceVisibility()
private void setFilesPreferenceVisibility()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFilesPreferenceVisibility", ""));
1.1060.2.6. setUserId(UserHandle userHandle)
public void setUserId(UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserId", "UserHandle userHandle"));
1.1060.2.7. tintPreference(Preference preference)
private void tintPreference(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"tintPreference", "Preference preference"));
1.1060.2.8. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1060.2.9. onLoadFinished(SparseArray result,int userId)
public void onLoadFinished(SparseArray result, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "SparseArray result,int userId"));
1.1060.2.10. setUsedSize(long usedSizeBytes)
public void setUsedSize(long usedSizeBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUsedSize", "long usedSizeBytes"));
1.1060.2.11. setTotalSize(long totalSizeBytes)
public void setTotalSize(long totalSizeBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTotalSize", "long totalSizeBytes"));
1.1060.2.12. getPhotosIntent()
private Intent getPhotosIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getPhotosIntent", ""));
1.1060.2.13. getAudioIntent()
private Intent getAudioIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAudioIntent", ""));
1.1060.2.14. getAppsIntent()
private Intent getAppsIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getAppsIntent", ""));
1.1060.2.15. getGamesIntent()
private Intent getGamesIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getGamesIntent", ""));
1.1060.2.16. getMoviesIntent()
private Intent getMoviesIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getMoviesIntent", ""));
1.1060.2.17. getWorkAnnotatedBundle(int additionalCapacity)
private Bundle getWorkAnnotatedBundle(int additionalCapacity)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"getWorkAnnotatedBundle", "int additionalCapacity"));
1.1060.2.18. getFilesIntent()
private Intent getFilesIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getFilesIntent", ""));
1.1060.2.19. launchIntent(Intent intent)
private void launchIntent(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchIntent", "Intent intent"));
1.1060.2.20. static applyTint(Context context,Drawable icon)
private static Drawable applyTint(Context context, Drawable icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"applyTint", "Context context,Drawable icon"));
1.1060.2.21. static getUsedKeys()
public static List getUsedKeys()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getUsedKeys", ""));
1.1060.2.22. static totalValues(StorageMeasurement.MeasurementDetails details,int userId,String... keys)
private static long totalValues(StorageMeasurement.MeasurementDetails details, int userId, String... keys)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"totalValues", "StorageMeasurement.MeasurementDetails details,int userId,String... keys"));
1.1061. StorageManagerWrapper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/password/StorageManagerWrapper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1061.1. StorageManagerWrapper Field属性列表
1.1061.2. StorageManagerWrapperMethod方法列表
1.1061.2.1. static isFileEncryptedNativeOrEmulated()
public static boolean isFileEncryptedNativeOrEmulated()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFileEncryptedNativeOrEmulated", ""));
1.1062. StorageProfileFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageProfileFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1062.1. StorageProfileFragment Field属性列表
1.1062.1.1. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.1062.1.2. int mUserId;
private int mUserId;
1.1062.1.3. StorageItemPreferenceController mPreferenceController;
private StorageItemPreferenceController mPreferenceController;
1.1062.1.4. static final String TAG
private static final String TAG = "StorageProfileFragment";
1.1062.1.5. static final String USER_ID_EXTRA
public static final String USER_ID_EXTRA = "userId";
1.1062.1.6. static final int APPS_JOB_ID
private static final int APPS_JOB_ID = 0;
1.1062.2. StorageProfileFragmentMethod方法列表
1.1062.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1062.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1062.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1062.2.4. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1062.2.5. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1062.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1062.2.7. onCreateLoader(int id,Bundle args)
public Loader> onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader>" ,"onCreateLoader", "int id,Bundle args"));
1.1062.2.8. onLoadFinished(Loader> loader,SparseArray result)
public void onLoadFinished(Loader> loader, SparseArray result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader> loader,SparseArray result"));
1.1062.2.9. onLoaderReset(Loader> loader)
public void onLoaderReset(Loader> loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader> loader"));
1.1062.2.10. setPreferenceController(StorageItemPreferenceController controller)
void setPreferenceController(StorageItemPreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceController", "StorageItemPreferenceController controller"));
1.1063. StorageSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1063.1. StorageSettings Field属性列表
1.1063.1.1. StorageManager mStorageManager;
private StorageManager mStorageManager;
1.1063.1.2. PreferenceCategory mInternalCategory;
private PreferenceCategory mInternalCategory;
1.1063.1.3. PreferenceCategory mExternalCategory;
private PreferenceCategory mExternalCategory;
1.1063.1.4. StorageSummaryPreference mInternalSummary;
private StorageSummaryPreference mInternalSummary;
1.1063.1.5. boolean mHasLaunchedPrivateVolumeSettings
private boolean mHasLaunchedPrivateVolumeSettings = false;
1.1063.1.6. final StorageEventListener mStorageListener
private final StorageEventListener mStorageListener = new StorageEventListener() {
@Override
public void onVolumeStateChanged(VolumeInfo vol, int oldState, int newState) {
if (isInteresting(vol)) {
refresh();
}
}
@Override
public void onDiskDestroyed(DiskInfo disk) {
refresh();
}
};
1.1063.1.7. static long sTotalInternalStorage;
private static long sTotalInternalStorage;
1.1063.1.8. static final String TAG
static final String TAG = "StorageSettings";
1.1063.1.9. static final String TAG_VOLUME_UNMOUNTED
private static final String TAG_VOLUME_UNMOUNTED = "volume_unmounted";
1.1063.1.10. static final String TAG_DISK_INIT
private static final String TAG_DISK_INIT = "disk_init";
1.1063.1.11. static final int METRICS_CATEGORY
private static final int METRICS_CATEGORY = MetricsEvent.DEVICEINFO_STORAGE;
1.1063.1.12. static final int COLOR_PUBLIC
static final int COLOR_PUBLIC = Color.parseColor("#ff9e9e9e");
1.1063.1.13. static final int[] COLOR_PRIVATE
static final int[] COLOR_PRIVATE = new int[] { Color.parseColor("#ff26a69a"), Color.parseColor("#ffab47bc"), Color.parseColor("#fff2a600"), Color.parseColor("#ffec407a"), Color.parseColor("#ffc0ca33") };
1.1063.1.14. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = (activity, summaryLoader) -> new SummaryProvider(activity, summaryLoader);
1.1063.1.15. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/** Enable indexing of searchable data */
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList<>();
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.storage_settings);
data.key = "storage_settings";
data.screenTitle = context.getString(R.string.storage_settings);
data.keywords = context.getString(R.string.keywords_storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.internal_storage);
data.key = "storage_settings_internal_storage";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
final StorageManager storage = context.getSystemService(StorageManager.class);
final List vols = storage.getVolumes();
for (VolumeInfo vol : vols) {
if (isInteresting(vol)) {
data.title = storage.getBestVolumeDescription(vol);
data.key = "storage_settings_volume_" + vol.id;
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
}
}
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_size);
data.key = "storage_settings_memory_size";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_available);
data.key = "storage_settings_memory_available";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_apps_usage);
data.key = "storage_settings_apps_space";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_dcim_usage);
data.key = "storage_settings_dcim_space";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_music_usage);
data.key = "storage_settings_music_space";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.memory_media_misc_usage);
data.key = "storage_settings_misc_space";
data.screenTitle = context.getString(R.string.storage_settings);
result.add(data);
data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.storage_menu_free);
data.key = "storage_settings_free_space";
data.screenTitle = context.getString(R.string.storage_menu_free);
// We need to define all three in order for this to trigger properly.
data.intentAction = StorageManager.ACTION_MANAGE_STORAGE;
data.intentTargetPackage = context.getString(R.string.config_deletion_helper_package);
data.intentTargetClass = context.getString(R.string.config_deletion_helper_class);
result.add(data);
return result;
}
};
1.1063.2. StorageSettingsMethod方法列表
1.1063.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1063.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1063.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1063.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1063.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1063.2.6. onPreferenceTreeClick(Preference pref)
public boolean onPreferenceTreeClick(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference pref"));
1.1063.2.7. sync refresh()
private synchronized void refresh()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", ""));
1.1063.2.8. static isInteresting(VolumeInfo vol)
private static boolean isInteresting(VolumeInfo vol)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInteresting", "VolumeInfo vol"));
1.1063.2.9. static handlePublicVolumeClick(Context context,VolumeInfo vol)
static boolean handlePublicVolumeClick(Context context, VolumeInfo vol)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePublicVolumeClick", "Context context,VolumeInfo vol"));
1.1064. StorageSummaryDonutPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/StorageSummaryDonutPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1064.1. StorageSummaryDonutPreference Field属性列表
1.1064.1.1. double mPercent
private double mPercent = -1;
1.1064.2. StorageSummaryDonutPreferenceMethod方法列表
1.1064.2.1. setPercent(long usedBytes,long totalBytes)
public void setPercent(long usedBytes, long totalBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPercent", "long usedBytes,long totalBytes"));
1.1064.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1064.2.3. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1065. StorageSummaryDonutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/StorageSummaryDonutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1065.1. StorageSummaryDonutPreferenceController Field属性列表
1.1065.1.1. long mUsedBytes;
private long mUsedBytes;
1.1065.1.2. long mTotalBytes;
private long mTotalBytes;
1.1065.1.3. StorageSummaryDonutPreference mSummary;
private StorageSummaryDonutPreference mSummary;
1.1065.2. StorageSummaryDonutPreferenceControllerMethod方法列表
1.1065.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1065.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1065.2.3. invalidateData()
public void invalidateData()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"invalidateData", ""));
1.1065.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1065.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1065.2.6. updateBytes(long used,long total)
public void updateBytes(long used, long total)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBytes", "long used,long total"));
1.1065.2.7. updateSizes(StorageVolumeProvider svp,VolumeInfo volume)
public void updateSizes(StorageVolumeProvider svp, VolumeInfo volume)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSizes", "StorageVolumeProvider svp,VolumeInfo volume"));
1.1066. StorageSummaryPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageSummaryPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1066.1. StorageSummaryPreference Field属性列表
1.1066.1.1. int mPercent
private int mPercent = -1;
1.1066.2. StorageSummaryPreferenceMethod方法列表
1.1066.2.1. setPercent(long usedBytes,long totalBytes)
public void setPercent(long usedBytes, long totalBytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPercent", "long usedBytes,long totalBytes"));
1.1066.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1067. StorageUnmountReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageUnmountReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1067.1. StorageUnmountReceiver Field属性列表
1.1067.2. StorageUnmountReceiverMethod方法列表
1.1067.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1068. StorageVolumePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageVolumePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1068.1. StorageVolumePreference Field属性列表
1.1068.1.1. int mColor;
private int mColor;
1.1068.1.2. int mUsedPercent
private int mUsedPercent = -1;
1.1068.1.3. final StorageManager mStorageManager;
private final StorageManager mStorageManager;
1.1068.1.4. final VolumeInfo mVolume;
private final VolumeInfo mVolume;
1.1068.1.5. final View.OnClickListener mUnmountListener
private final View.OnClickListener mUnmountListener = new OnClickListener() {
@Override
public void onClick(View v) {
new UnmountTask(getContext(), mVolume).execute();
}
};
1.1068.1.6. static final String TAG
private static final String TAG = StorageVolumePreference.class.getSimpleName();
1.1068.2. StorageVolumePreferenceMethod方法列表
1.1068.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1069. StorageWizardBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1069.1. StorageWizardBase Field属性列表
1.1069.1.1. StorageManager mStorage;
protected StorageManager mStorage;
1.1069.1.2. VolumeInfo mVolume;
protected VolumeInfo mVolume;
1.1069.1.3. DiskInfo mDisk;
protected DiskInfo mDisk;
1.1069.1.4. Button mBack;
private Button mBack;
1.1069.1.5. Button mNext;
private Button mNext;
1.1069.1.6. final StorageEventListener mStorageListener
private final StorageEventListener mStorageListener = new StorageEventListener() {
@Override
public void onDiskDestroyed(DiskInfo disk) {
// We know mDisk != null.
if (mDisk.id.equals(disk.id)) {
finish();
}
}
};
1.1069.1.7. static final String EXTRA_FORMAT_FORGET_UUID
protected static final String EXTRA_FORMAT_FORGET_UUID = "format_forget_uuid";
1.1069.1.8. static final String EXTRA_FORMAT_PRIVATE
protected static final String EXTRA_FORMAT_PRIVATE = "format_private";
1.1069.1.9. static final String EXTRA_FORMAT_SLOW
protected static final String EXTRA_FORMAT_SLOW = "format_slow";
1.1069.1.10. static final String EXTRA_MIGRATE_SKIP
protected static final String EXTRA_MIGRATE_SKIP = "migrate_skip";
1.1069.2. StorageWizardBaseMethod方法列表
1.1069.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1069.2.2. setContentView(@LayoutRes int layoutResID)
public void setContentView(@LayoutRes int layoutResID)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setContentView", "@LayoutRes int layoutResID"));
1.1069.2.3. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1069.2.4. getBackButton()
protected Button getBackButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getBackButton", ""));
1.1069.2.5. getNextButton()
protected Button getNextButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getNextButton", ""));
1.1069.2.6. getGlifLayout()
protected GlifLayout getGlifLayout()
methodList.add(new ZMethod(mZAndroidAPPClass,"GlifLayout" ,"getGlifLayout", ""));
1.1069.2.7. getProgressBar()
protected ProgressBar getProgressBar()
methodList.add(new ZMethod(mZAndroidAPPClass,"ProgressBar" ,"getProgressBar", ""));
1.1069.2.8. setCurrentProgress(int progress)
protected void setCurrentProgress(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentProgress", "int progress"));
1.1069.2.9. setHeaderText(int resId,CharSequence... args)
protected void setHeaderText(int resId, CharSequence... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHeaderText", "int resId,CharSequence... args"));
1.1069.2.10. setBodyText(int resId,CharSequence... args)
protected void setBodyText(int resId, CharSequence... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBodyText", "int resId,CharSequence... args"));
1.1069.2.11. setAuxChecklist()
protected void setAuxChecklist()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAuxChecklist", ""));
1.1069.2.12. setBackButtonText(int resId,CharSequence... args)
protected void setBackButtonText(int resId, CharSequence... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBackButtonText", "int resId,CharSequence... args"));
1.1069.2.13. setNextButtonText(int resId,CharSequence... args)
protected void setNextButtonText(int resId, CharSequence... args)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNextButtonText", "int resId,CharSequence... args"));
1.1069.2.14. setIcon(int resId)
protected void setIcon(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIcon", "int resId"));
1.1069.2.15. setKeepScreenOn(boolean keepScreenOn)
protected void setKeepScreenOn(boolean keepScreenOn)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setKeepScreenOn", "boolean keepScreenOn"));
1.1069.2.16. onNavigateBack(View view)
public void onNavigateBack(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateBack", "View view"));
1.1069.2.17. onNavigateNext(View view)
public void onNavigateNext(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateNext", "View view"));
1.1069.2.18. copyStringExtra(Intent from,Intent to,String key)
private void copyStringExtra(Intent from, Intent to, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyStringExtra", "Intent from,Intent to,String key"));
1.1069.2.19. copyBooleanExtra(Intent from,Intent to,String key)
private void copyBooleanExtra(Intent from, Intent to, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyBooleanExtra", "Intent from,Intent to,String key"));
1.1069.2.20. startActivity(Intent intent)
public void startActivity(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startActivity", "Intent intent"));
1.1069.2.21. findFirstVolume(int type)
protected VolumeInfo findFirstVolume(int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"VolumeInfo" ,"findFirstVolume", "int type"));
1.1069.2.22. findFirstVolume(int type,int attempts)
protected VolumeInfo findFirstVolume(int type, int attempts)
methodList.add(new ZMethod(mZAndroidAPPClass,"VolumeInfo" ,"findFirstVolume", "int type,int attempts"));
1.1069.2.23. getDiskDescription()
protected CharSequence getDiskDescription()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDiskDescription", ""));
1.1069.2.24. getDiskShortDescription()
protected CharSequence getDiskShortDescription()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDiskShortDescription", ""));
1.1070. StorageWizardFormatConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1070.1. StorageWizardFormatConfirm Field属性列表
1.1070.1.1. static final String TAG_FORMAT_WARNING
private static final String TAG_FORMAT_WARNING = "format_warning";
1.1070.2. StorageWizardFormatConfirmMethod方法列表
1.1070.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1070.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1070.2.3. static showPublic(Activity activity,String diskId)
public static void showPublic(Activity activity, String diskId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPublic", "Activity activity,String diskId"));
1.1070.2.4. static showPublic(Activity activity,String diskId,String forgetUuid)
public static void showPublic(Activity activity, String diskId, String forgetUuid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPublic", "Activity activity,String diskId,String forgetUuid"));
1.1070.2.5. static showPrivate(Activity activity,String diskId)
public static void showPrivate(Activity activity, String diskId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPrivate", "Activity activity,String diskId"));
1.1070.2.6. static show(Activity activity,String diskId,String formatForgetUuid,boolean formatPrivate)
private static void show(Activity activity, String diskId, String formatForgetUuid, boolean formatPrivate)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Activity activity,String diskId,String formatForgetUuid,boolean formatPrivate"));
1.1071. StorageWizardFormatProgress.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatProgress.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1071.1. StorageWizardFormatProgress Field属性列表
1.1071.1.1. boolean mFormatPrivate;
private boolean mFormatPrivate;
1.1071.1.2. PartitionTask mTask;
private PartitionTask mTask;
1.1071.1.3. static final String PROP_DEBUG_STORAGE_SLOW
private static final String PROP_DEBUG_STORAGE_SLOW = "sys.debug.storage_slow";
1.1071.2. StorageWizardFormatProgressMethod方法列表
1.1071.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1071.2.2. onRetainNonConfigurationInstance()
public Object onRetainNonConfigurationInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"Object" ,"onRetainNonConfigurationInstance", ""));
1.1071.2.3. onFormatFinished()
public void onFormatFinished()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFormatFinished", ""));
1.1071.2.4. onFormatFinishedSlow()
public void onFormatFinishedSlow()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFormatFinishedSlow", ""));
1.1072. StorageWizardFormatSlow.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardFormatSlow.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1072.1. StorageWizardFormatSlow Field属性列表
1.1072.1.1. boolean mFormatPrivate;
private boolean mFormatPrivate;
1.1072.2. StorageWizardFormatSlowMethod方法列表
1.1072.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1072.2.2. onNavigateBack(View view)
public void onNavigateBack(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateBack", "View view"));
1.1072.2.3. onNavigateNext(View view)
public void onNavigateNext(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateNext", "View view"));
1.1073. StorageWizardInit.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardInit.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1073.1. StorageWizardInit Field属性列表
1.1073.1.1. Button mExternal;
private Button mExternal;
1.1073.1.2. Button mInternal;
private Button mInternal;
1.1073.1.3. boolean mIsPermittedToAdopt;
private boolean mIsPermittedToAdopt;
1.1073.2. StorageWizardInitMethod方法列表
1.1073.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1073.2.2. onNavigateBack(View view)
public void onNavigateBack(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateBack", "View view"));
1.1073.2.3. onNavigateExternal(View view)
public void onNavigateExternal(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateExternal", "View view"));
1.1073.2.4. onNavigateInternal(View view)
public void onNavigateInternal(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateInternal", "View view"));
1.1074. StorageWizardMigrateConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardMigrateConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1074.1. StorageWizardMigrateConfirm Field属性列表
1.1074.1.1. MigrateEstimateTask mEstimate;
private MigrateEstimateTask mEstimate;
1.1074.1.2. static final int REQUEST_CREDENTIAL
private static final int REQUEST_CREDENTIAL = 100;
1.1074.2. StorageWizardMigrateConfirmMethod方法列表
1.1074.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1074.2.2. onNavigateBack(View view)
public void onNavigateBack(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateBack", "View view"));
1.1074.2.3. onNavigateNext(View view)
public void onNavigateNext(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateNext", "View view"));
1.1074.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1075. StorageWizardMigrateProgress.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardMigrateProgress.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1075.1. StorageWizardMigrateProgress Field属性列表
1.1075.1.1. int mMoveId;
private int mMoveId;
1.1075.1.2. final MoveCallback mCallback
private final MoveCallback mCallback = new MoveCallback() {
@Override
public void onStatusChanged(int moveId, int status, long estMillis) {
if (mMoveId != moveId)
return;
final Context context = StorageWizardMigrateProgress.this;
if (PackageManager.isMoveStatusFinished(status)) {
Log.d(TAG, "Finished with status " + status);
if (status == PackageManager.MOVE_SUCCEEDED) {
if (mDisk != null) {
// Kinda lame, but tear down that shiny finished
// notification, since user is still in wizard flow
final Intent finishIntent = new Intent(ACTION_FINISH_WIZARD);
finishIntent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY);
sendBroadcast(finishIntent);
if (!StorageWizardMigrateProgress.this.isFinishing()) {
final Intent intent = new Intent(context, StorageWizardReady.class);
intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
startActivity(intent);
}
}
} else {
Toast.makeText(context, getString(R.string.insufficient_storage), Toast.LENGTH_LONG).show();
}
finishAffinity();
} else {
setCurrentProgress(status);
}
}
};
1.1075.1.3. static final String ACTION_FINISH_WIZARD
private static final String ACTION_FINISH_WIZARD = "com.android.systemui.action.FINISH_WIZARD";
1.1075.2. StorageWizardMigrateProgressMethod方法列表
1.1075.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1076. StorageWizardMoveConfirm.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardMoveConfirm.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1076.1. StorageWizardMoveConfirm Field属性列表
1.1076.1.1. String mPackageName;
private String mPackageName;
1.1076.1.2. ApplicationInfo mApp;
private ApplicationInfo mApp;
1.1076.1.3. static final int REQUEST_CREDENTIAL
private static final int REQUEST_CREDENTIAL = 100;
1.1076.2. StorageWizardMoveConfirmMethod方法列表
1.1076.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1076.2.2. onNavigateNext(View view)
public void onNavigateNext(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateNext", "View view"));
1.1076.2.3. onActivityResult(int requestCode,int resultCode,Intent data)
protected void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1077. StorageWizardMoveProgress.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardMoveProgress.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1077.1. StorageWizardMoveProgress Field属性列表
1.1077.1.1. int mMoveId;
private int mMoveId;
1.1077.1.2. final MoveCallback mCallback
private final MoveCallback mCallback = new MoveCallback() {
@Override
public void onStatusChanged(int moveId, int status, long estMillis) {
if (mMoveId != moveId)
return;
if (PackageManager.isMoveStatusFinished(status)) {
Log.d(TAG, "Finished with status " + status);
if (status != PackageManager.MOVE_SUCCEEDED) {
Toast.makeText(StorageWizardMoveProgress.this, moveStatusToMessage(status), Toast.LENGTH_LONG).show();
}
finishAffinity();
} else {
setCurrentProgress(status);
}
}
};
1.1077.2. StorageWizardMoveProgressMethod方法列表
1.1077.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1077.2.2. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1077.2.3. moveStatusToMessage(int returnCode)
private CharSequence moveStatusToMessage(int returnCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"moveStatusToMessage", "int returnCode"));
1.1078. StorageWizardReady.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/StorageWizardReady.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1078.1. StorageWizardReady Field属性列表
1.1078.2. StorageWizardReadyMethod方法列表
1.1078.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1078.2.2. onNavigateNext(View view)
public void onNavigateNext(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNavigateNext", "View view"));
1.1079. StrictModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/StrictModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1079.1. StrictModePreferenceController Field属性列表
1.1079.1.1. final IWindowManager mWindowManager;
private final IWindowManager mWindowManager;
1.1079.1.2. static final String STRICT_MODE_KEY
private static final String STRICT_MODE_KEY = "strict_mode";
1.1079.1.3. static final String WINDOW_MANAGER_KEY
private static final String WINDOW_MANAGER_KEY = "window";
1.1079.1.4. static final String STRICT_MODE_ENABLED
@VisibleForTesting
static final String STRICT_MODE_ENABLED = "1";
1.1079.1.5. static final String STRICT_MODE_DISABLED
@VisibleForTesting
static final String STRICT_MODE_DISABLED = "";
1.1079.2. StrictModePreferenceControllerMethod方法列表
1.1079.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1079.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1079.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1079.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1079.2.5. isStrictModeEnabled()
private boolean isStrictModeEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isStrictModeEnabled", ""));
1.1079.2.6. writeStrictModeVisualOptions(boolean isEnabled)
private void writeStrictModeVisualOptions(boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeStrictModeVisualOptions", "boolean isEnabled"));
1.1080. SubSettingLauncher.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/SubSettingLauncher.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1080.1. SubSettingLauncher Field属性列表
1.1080.1.1. boolean mLaunched;
private boolean mLaunched;
1.1080.1.2. final Context mContext;
private final Context mContext;
1.1080.1.3. final LaunchRequest mLaunchRequest;
private final LaunchRequest mLaunchRequest;
1.1080.2. SubSettingLauncherMethod方法列表
1.1080.2.1. setDestination(String fragmentName)
public SubSettingLauncher setDestination(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setDestination", "String fragmentName"));
1.1080.2.2. setTitle(@StringRes int titleResId)
public SubSettingLauncher setTitle(@StringRes int titleResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setTitle", "@StringRes int titleResId"));
1.1080.2.3. setTitle(String titlePackageName,@StringRes int titleResId)
public SubSettingLauncher setTitle(String titlePackageName, @StringRes int titleResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setTitle", "String titlePackageName,@StringRes int titleResId"));
1.1080.2.4. setTitle(CharSequence title)
public SubSettingLauncher setTitle(CharSequence title)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setTitle", "CharSequence title"));
1.1080.2.5. setIsShortCut(boolean isShortCut)
public SubSettingLauncher setIsShortCut(boolean isShortCut)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setIsShortCut", "boolean isShortCut"));
1.1080.2.6. setArguments(Bundle arguments)
public SubSettingLauncher setArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setArguments", "Bundle arguments"));
1.1080.2.7. setSourceMetricsCategory(int sourceMetricsCategory)
public SubSettingLauncher setSourceMetricsCategory(int sourceMetricsCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setSourceMetricsCategory", "int sourceMetricsCategory"));
1.1080.2.8. setResultListener(Fragment listener,int resultRequestCode)
public SubSettingLauncher setResultListener(Fragment listener, int resultRequestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setResultListener", "Fragment listener,int resultRequestCode"));
1.1080.2.9. addFlags(int flags)
public SubSettingLauncher addFlags(int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"addFlags", "int flags"));
1.1080.2.10. setUserHandle(UserHandle userHandle)
public SubSettingLauncher setUserHandle(UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"SubSettingLauncher" ,"setUserHandle", "UserHandle userHandle"));
1.1080.2.11. launch()
public void launch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launch", ""));
1.1080.2.12. toIntent()
public Intent toIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"toIntent", ""));
1.1080.2.13. launch(Intent intent)
void launch(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launch", "Intent intent"));
1.1080.2.14. launchAsUser(Intent intent,UserHandle userHandle)
void launchAsUser(Intent intent, UserHandle userHandle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchAsUser", "Intent intent,UserHandle userHandle"));
1.1080.2.15. launchForResultAsUser(Intent intent,UserHandle userHandle,Fragment resultListener,int requestCode)
void launchForResultAsUser(Intent intent, UserHandle userHandle, Fragment resultListener, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchForResultAsUser", "Intent intent,UserHandle userHandle,Fragment resultListener,int requestCode"));
1.1080.2.16. launchForResult(Fragment listener,Intent intent,int requestCode)
private void launchForResult(Fragment listener, Intent intent, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchForResult", "Fragment listener,Intent intent,int requestCode"));
1.1081. SubSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SubSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1081.1. SubSettings Field属性列表
1.1081.2. SubSettingsMethod方法列表
1.1081.2.1. onNavigateUp()
public boolean onNavigateUp()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onNavigateUp", ""));
1.1081.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.1082. SuggestionAdapter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/SuggestionAdapter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1082.1. SuggestionAdapter Field属性列表
1.1082.1.1. List mSuggestions;
private List mSuggestions;
1.1082.1.2. final Context mContext;
private final Context mContext;
1.1082.1.3. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1082.1.4. final IconCache mCache;
private final IconCache mCache;
1.1082.1.5. final ArrayList mSuggestionsShownLogged;
private final ArrayList mSuggestionsShownLogged;
1.1082.1.6. final SuggestionFeatureProvider mSuggestionFeatureProvider;
private final SuggestionFeatureProvider mSuggestionFeatureProvider;
1.1082.1.7. final SuggestionControllerMixin mSuggestionControllerMixin;
private final SuggestionControllerMixin mSuggestionControllerMixin;
1.1082.1.8. final Callback mCallback;
private final Callback mCallback;
1.1082.1.9. final CardConfig mConfig;
private final CardConfig mConfig;
1.1082.1.10. static final String TAG
public static final String TAG = "SuggestionAdapter";
1.1082.1.11. static final String STATE_SUGGESTIONS_SHOWN_LOGGED
private static final String STATE_SUGGESTIONS_SHOWN_LOGGED = "suggestions_shown_logged";
1.1082.1.12. static final String STATE_SUGGESTION_LIST
private static final String STATE_SUGGESTION_LIST = "suggestion_list";
1.1082.2. SuggestionAdapterMethod方法列表
1.1082.2.1. onCreateViewHolder(ViewGroup parent,int viewType)
public DashboardItemHolder onCreateViewHolder(ViewGroup parent, int viewType)
methodList.add(new ZMethod(mZAndroidAPPClass,"DashboardItemHolder" ,"onCreateViewHolder", "ViewGroup parent,int viewType"));
1.1082.2.2. onBindViewHolder(DashboardItemHolder holder,int position)
public void onBindViewHolder(DashboardItemHolder holder, int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "DashboardItemHolder holder,int position"));
1.1082.2.3. getItemId(int position)
public long getItemId(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getItemId", "int position"));
1.1082.2.4. getItemViewType(int position)
public int getItemViewType(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemViewType", "int position"));
1.1082.2.5. getItemCount()
public int getItemCount()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getItemCount", ""));
1.1082.2.6. getSuggestion(int position)
public Suggestion getSuggestion(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"Suggestion" ,"getSuggestion", "int position"));
1.1082.2.7. removeSuggestion(Suggestion suggestion)
public void removeSuggestion(Suggestion suggestion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeSuggestion", "Suggestion suggestion"));
1.1082.2.8. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1082.2.9. setSuggestions(List suggestions)
public void setSuggestions(List suggestions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSuggestions", "List suggestions"));
1.1082.2.10. getSuggestions()
public List getSuggestions()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getSuggestions", ""));
1.1083. SuggestionFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/SuggestionFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1084. SuggestionFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/SuggestionFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1084.1. SuggestionFeatureProviderImpl Field属性列表
1.1084.1.1. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1084.1.2. static final String TAG
private static final String TAG = "SuggestionFeature";
1.1084.1.3. static final int EXCLUSIVE_SUGGESTION_MAX_COUNT
private static final int EXCLUSIVE_SUGGESTION_MAX_COUNT = 3;
1.1084.1.4. static final String SHARED_PREF_FILENAME
private static final String SHARED_PREF_FILENAME = "suggestions";
1.1084.2. SuggestionFeatureProviderImplMethod方法列表
1.1084.2.1. isSuggestionEnabled(Context context)
public boolean isSuggestionEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionEnabled", "Context context"));
1.1084.2.2. getSuggestionServiceComponent()
public ComponentName getSuggestionServiceComponent()
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getSuggestionServiceComponent", ""));
1.1084.2.3. isSmartSuggestionEnabled(Context context)
public boolean isSmartSuggestionEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSmartSuggestionEnabled", "Context context"));
1.1084.2.4. isSuggestionComplete(Context context,@NonNull ComponentName component)
public boolean isSuggestionComplete(Context context, @NonNull ComponentName component)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,@NonNull ComponentName component"));
1.1084.2.5. getSharedPrefs(Context context)
public SharedPreferences getSharedPrefs(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SharedPreferences" ,"getSharedPrefs", "Context context"));
1.1084.2.6. filterExclusiveSuggestions(List suggestions)
public void filterExclusiveSuggestions(List suggestions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"filterExclusiveSuggestions", "List suggestions"));
1.1084.2.7. dismissSuggestion(Context context,SuggestionControllerMixin mixin,Suggestion suggestion)
public void dismissSuggestion(Context context, SuggestionControllerMixin mixin, Suggestion suggestion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismissSuggestion", "Context context,SuggestionControllerMixin mixin,Suggestion suggestion"));
1.1084.2.8. getLoggingTaggedData(Context context)
public Pair[] getLoggingTaggedData(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Pair[]" ,"getLoggingTaggedData", "Context context"));
1.1085. SuggestionStateProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/SuggestionStateProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1085.1. SuggestionStateProvider Field属性列表
1.1085.1.1. static final String TAG
private static final String TAG = "SugstStatusProvider";
1.1085.1.2. static final String METHOD_GET_SUGGESTION_STATE
@VisibleForTesting
static final String METHOD_GET_SUGGESTION_STATE = "getSuggestionState";
1.1085.1.3. static final String EXTRA_CANDIDATE_ID
@VisibleForTesting
static final String EXTRA_CANDIDATE_ID = "candidate_id";
1.1085.1.4. static final String RESULT_IS_COMPLETE
private static final String RESULT_IS_COMPLETE = "candidate_is_complete";
1.1085.2. SuggestionStateProviderMethod方法列表
1.1085.2.1. onCreate()
public boolean onCreate()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onCreate", ""));
1.1085.2.2. query(Uri uri,String[] projection,String selection,String[] selectionArgs,String sortOrder)
public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"query", "Uri uri,String[] projection,String selection,String[] selectionArgs,String sortOrder"));
1.1085.2.3. getType(Uri uri)
public String getType(Uri uri)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getType", "Uri uri"));
1.1085.2.4. insert(Uri uri,ContentValues values)
public Uri insert(Uri uri, ContentValues values)
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"insert", "Uri uri,ContentValues values"));
1.1085.2.5. delete(Uri uri,String selection,String[] selectionArgs)
public int delete(Uri uri, String selection, String[] selectionArgs)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"delete", "Uri uri,String selection,String[] selectionArgs"));
1.1085.2.6. update(Uri uri,ContentValues values,String selection,String[] selectionArgs)
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"update", "Uri uri,ContentValues values,String selection,String[] selectionArgs"));
1.1085.2.7. call(String method,String arg,Bundle extras)
public Bundle call(String method, String arg, Bundle extras)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"call", "String method,String arg,Bundle extras"));
1.1086. SummaryDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/SummaryDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1086.1. SummaryDetector Field属性列表
1.1086.1.1. BatteryTipPolicy mPolicy;
private BatteryTipPolicy mPolicy;
1.1086.1.2. long mAverageTimeMs;
private long mAverageTimeMs;
1.1086.2. SummaryDetectorMethod方法列表
1.1086.2.1. detect()
public BatteryTip detect()
methodList.add(new ZMethod(mZAndroidAPPClass,"BatteryTip" ,"detect", ""));
1.1087. SummaryLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/SummaryLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1087.1. SummaryLoader Field属性列表
1.1087.1.1. SummaryConsumer mSummaryConsumer;
private SummaryConsumer mSummaryConsumer;
1.1087.1.2. boolean mListening;
private boolean mListening;
1.1087.1.3. boolean mWorkerListening;
private boolean mWorkerListening;
1.1087.1.4. ArraySet mReceivers
private ArraySet mReceivers = new ArraySet<>();
1.1087.1.5. final Activity mActivity;
private final Activity mActivity;
1.1087.1.6. final ArrayMap mSummaryProviderMap
private final ArrayMap mSummaryProviderMap = new ArrayMap<>();
1.1087.1.7. final ArrayMap mSummaryTextMap
private final ArrayMap mSummaryTextMap = new ArrayMap<>();
1.1087.1.8. final DashboardFeatureProvider mDashboardFeatureProvider;
private final DashboardFeatureProvider mDashboardFeatureProvider;
1.1087.1.9. final String mCategoryKey;
private final String mCategoryKey;
1.1087.1.10. final Worker mWorker;
private final Worker mWorker;
1.1087.1.11. final HandlerThread mWorkerThread;
private final HandlerThread mWorkerThread;
1.1087.1.12. static final boolean DEBUG
private static final boolean DEBUG = DashboardSummary.DEBUG;
1.1087.1.13. static final String TAG
private static final String TAG = "SummaryLoader";
1.1087.1.14. static final String SUMMARY_PROVIDER_FACTORY
public static final String SUMMARY_PROVIDER_FACTORY = "SUMMARY_PROVIDER_FACTORY";
1.1087.2. SummaryLoaderMethod方法列表
1.1087.2.1. release()
public void release()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"release", ""));
1.1087.2.2. setSummaryConsumer(SummaryConsumer summaryConsumer)
public void setSummaryConsumer(SummaryConsumer summaryConsumer)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummaryConsumer", "SummaryConsumer summaryConsumer"));
1.1087.2.3. setSummary(SummaryProvider provider,final CharSequence summary)
public void setSummary(SummaryProvider provider, final CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummary", "SummaryProvider provider,final CharSequence summary"));
1.1087.2.4. updateSummaryIfNeeded(Tile tile,CharSequence summary)
void updateSummaryIfNeeded(Tile tile, CharSequence summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummaryIfNeeded", "Tile tile,CharSequence summary"));
1.1087.2.5. setListening(boolean listening)
public void setListening(boolean listening)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListening", "boolean listening"));
1.1087.2.6. getSummaryProvider(Tile tile)
private SummaryProvider getSummaryProvider(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"SummaryProvider" ,"getSummaryProvider", "Tile tile"));
1.1087.2.7. getMetaData(Tile tile)
private Bundle getMetaData(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bundle" ,"getMetaData", "Tile tile"));
1.1087.2.8. registerReceiver(final BroadcastReceiver receiver,final IntentFilter filter)
public void registerReceiver(final BroadcastReceiver receiver, final IntentFilter filter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerReceiver", "final BroadcastReceiver receiver,final IntentFilter filter"));
1.1087.2.9. updateSummaryToCache(DashboardCategory category)
public void updateSummaryToCache(DashboardCategory category)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummaryToCache", "DashboardCategory category"));
1.1087.2.10. getTileFromCategory(DashboardCategory category,ComponentName component)
private Tile getTileFromCategory(DashboardCategory category, ComponentName component)
methodList.add(new ZMethod(mZAndroidAPPClass,"Tile" ,"getTileFromCategory", "DashboardCategory category,ComponentName component"));
1.1087.2.11. sync setListeningW(boolean listening)
private synchronized void setListeningW(boolean listening)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListeningW", "boolean listening"));
1.1087.2.12. sync makeProviderW(Tile tile)
private synchronized void makeProviderW(Tile tile)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"makeProviderW", "Tile tile"));
1.1088. SummaryPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/SummaryPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1088.1. SummaryPreference Field属性列表
1.1088.1.1. String mAmount;
private String mAmount;
1.1088.1.2. String mUnits;
private String mUnits;
1.1088.1.3. boolean mChartEnabled
private boolean mChartEnabled = true;
1.1088.1.4. float mLeftRatio, mMiddleRatio, mRightRatio;
private float mLeftRatio, mMiddleRatio, mRightRatio;
1.1088.1.5. String mStartLabel;
private String mStartLabel;
1.1088.1.6. String mEndLabel;
private String mEndLabel;
1.1088.1.7. static final String TAG
private static final String TAG = "SummaryPreference";
1.1088.2. SummaryPreferenceMethod方法列表
1.1088.2.1. setChartEnabled(boolean enabled)
public void setChartEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChartEnabled", "boolean enabled"));
1.1088.2.2. setAmount(String amount)
public void setAmount(String amount)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAmount", "String amount"));
1.1088.2.3. setUnits(String units)
public void setUnits(String units)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUnits", "String units"));
1.1088.2.4. setLabels(String start,String end)
public void setLabels(String start, String end)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLabels", "String start,String end"));
1.1088.2.5. setRatios(float left,float middle,float right)
public void setRatios(float left, float middle, float right)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRatios", "float left,float middle,float right"));
1.1088.2.6. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.1089. SummaryTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/SummaryTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1089.1. SummaryTip Field属性列表
1.1089.1.1. long mAverageTimeMs;
private long mAverageTimeMs;
1.1089.1.2. static final Parcelable.Creator CREATOR
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new SummaryTip(in);
}
public BatteryTip[] newArray(int size) {
return new SummaryTip[size];
}
};
1.1089.2. SummaryTipMethod方法列表
1.1089.2.1. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.1089.2.2. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.1089.2.3. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.1089.2.4. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.1089.2.5. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.1089.2.6. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.1089.2.7. getAverageTimeMs()
public long getAverageTimeMs()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getAverageTimeMs", ""));
1.1090. SummaryUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SummaryUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1090.1. SummaryUpdater Field属性列表
1.1090.1.1. String mSummary;
private String mSummary;
1.1090.1.2. final Context mContext;
protected final Context mContext;
1.1090.1.3. final OnSummaryChangeListener mListener;
private final OnSummaryChangeListener mListener;
1.1090.2. SummaryUpdaterMethod方法列表
1.1090.2.1. notifyChangeIfNeeded()
protected void notifyChangeIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyChangeIfNeeded", ""));
1.1090.2.2. abstract register(boolean register)
public abstract void register(boolean register)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", "boolean register"));
1.1090.2.3. abstract getSummary()
protected abstract String getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", ""));
1.1091. SupportDashboardActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/support/SupportDashboardActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1091.1. SupportDashboardActivity Field属性列表
1.1091.1.1. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
private static final String SUPPORT_SEARCH_INDEX_KEY = "support_dashboard_activity";
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList<>();
// Add the activity title
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = context.getString(R.string.page_tab_title_support);
data.screenTitle = context.getString(R.string.settings_label);
data.summaryOn = context.getString(R.string.support_summary);
data.iconResId = R.drawable.ic_homepage_support;
data.intentTargetPackage = context.getPackageName();
data.intentTargetClass = SupportDashboardActivity.class.getName();
data.intentAction = Intent.ACTION_MAIN;
data.key = SUPPORT_SEARCH_INDEX_KEY;
result.add(data);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
if (!context.getResources().getBoolean(R.bool.config_support_enabled)) {
keys.add(SUPPORT_SEARCH_INDEX_KEY);
}
return keys;
}
};
1.1091.2. SupportDashboardActivityMethod方法列表
1.1091.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1092. SupportFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/overlay/SupportFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1093. SupportPhone.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/support/SupportPhone.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1093.1. SupportPhone Field属性列表
1.1093.1.1. final String language;
public final String language;
1.1093.1.2. final String number;
public final String number;
1.1093.1.3. final boolean isTollFree;
public final boolean isTollFree;
1.1093.1.4. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
@Override
public SupportPhone createFromParcel(Parcel in) {
return new SupportPhone(in);
}
@Override
public SupportPhone[] newArray(int size) {
return new SupportPhone[size];
}
};
1.1093.2. SupportPhoneMethod方法列表
1.1093.2.1. getDialIntent()
public Intent getDialIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getDialIntent", ""));
1.1093.2.2. describeContents()
public int describeContents()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"describeContents", ""));
1.1093.2.3. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.1094. SuppressorHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/SuppressorHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1094.1. SuppressorHelper Field属性列表
1.1094.1.1. static final String TAG
private static final String TAG = "SuppressorHelper";
1.1094.2. SuppressorHelperMethod方法列表
1.1094.2.1. static getSuppressionText(Context context,ComponentName suppressor)
public static String getSuppressionText(Context context, ComponentName suppressor)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSuppressionText", "Context context,ComponentName suppressor"));
1.1094.2.2. static getSuppressorCaption(Context context,ComponentName suppressor)
static String getSuppressorCaption(Context context, ComponentName suppressor)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSuppressorCaption", "Context context,ComponentName suppressor"));
1.1095. SurveyFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/overlay/SurveyFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1096. SurveyMixin.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/survey/SurveyMixin.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1096.1. SurveyMixin Field属性列表
1.1096.1.1. String mName;
private String mName;
1.1096.1.2. Fragment mFragment;
private Fragment mFragment;
1.1096.1.3. BroadcastReceiver mReceiver;
private BroadcastReceiver mReceiver;
1.1096.2. SurveyMixinMethod方法列表
1.1096.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1096.2.2. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1097. SwipeToNotificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1097.1. SwipeToNotificationPreferenceController Field属性列表
1.1097.1.1. static final int ON
private static final int ON = 1;
1.1097.1.2. static final int OFF
private static final int OFF = 0;
1.1097.1.3. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_swipe_down_fingerprint_video";
1.1097.1.4. static final String SECURE_KEY
private static final String SECURE_KEY = SYSTEM_NAVIGATION_KEYS_ENABLED;
1.1097.2. SwipeToNotificationPreferenceControllerMethod方法列表
1.1097.2.1. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.1097.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1097.2.3. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.1097.2.4. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1097.2.5. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1097.2.6. static isSuggestionComplete(Context context,SharedPreferences prefs)
public static boolean isSuggestionComplete(Context context, SharedPreferences prefs)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context,SharedPreferences prefs"));
1.1097.2.7. static isGestureAvailable(Context context)
private static boolean isGestureAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isGestureAvailable", "Context context"));
1.1097.2.8. static isSwipeToNotificationOn(Context context)
public static boolean isSwipeToNotificationOn(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSwipeToNotificationOn", "Context context"));
1.1097.2.9. static setSwipeToNotification(Context context,boolean isEnabled)
public static boolean setSwipeToNotification(Context context, boolean isEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSwipeToNotification", "Context context,boolean isEnabled"));
1.1097.2.10. static isAvailable(Context context)
public static boolean isAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", "Context context"));
1.1098. SwipeToNotificationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/SwipeToNotificationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1098.1. SwipeToNotificationSettings Field属性列表
1.1098.1.1. static final String TAG
private static final String TAG = "SwipeToNotifSettings";
1.1098.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_swipe_to_notification_suggestion_complete";
1.1098.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.swipe_to_notification_settings;
return Arrays.asList(sir);
}
};
1.1098.2. SwipeToNotificationSettingsMethod方法列表
1.1098.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1098.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1098.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1098.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1099. SwipeUpGestureSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/SwipeUpGestureSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1099.1. SwipeUpGestureSettings Field属性列表
1.1099.1.1. static final String TAG
private static final String TAG = "SwipeUpGesture";
1.1099.1.2. static final String PREF_KEY_SUGGESTION_COMPLETE
public static final String PREF_KEY_SUGGESTION_COMPLETE = "pref_swipe_up_suggestion_complete";
1.1099.1.3. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.swipe_up_gesture_settings;
return Arrays.asList(sir);
}
@Override
protected boolean isPageSearchEnabled(Context context) {
return SwipeUpPreferenceController.isGestureAvailable(context);
}
};
1.1099.2. SwipeUpGestureSettingsMethod方法列表
1.1099.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1099.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1099.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1099.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1100. SwipeUpPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/gestures/SwipeUpPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1100.1. SwipeUpPreferenceController Field属性列表
1.1100.1.1. final int ON
private final int ON = 1;
1.1100.1.2. final int OFF
private final int OFF = 0;
1.1100.1.3. final UserManager mUserManager;
private final UserManager mUserManager;
1.1100.1.4. static final String ACTION_QUICKSTEP
private static final String ACTION_QUICKSTEP = "android.intent.action.QUICKSTEP_SERVICE";
1.1100.1.5. static final String PREF_KEY_VIDEO
private static final String PREF_KEY_VIDEO = "gesture_swipe_up_video";
1.1100.2. SwipeUpPreferenceControllerMethod方法列表
1.1100.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1100.2.2. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.1100.2.3. getVideoPrefKey()
protected String getVideoPrefKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVideoPrefKey", ""));
1.1100.2.4. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1100.2.5. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1100.2.6. static isGestureAvailable(Context context)
static boolean isGestureAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isGestureAvailable", "Context context"));
1.1100.2.7. static setSwipeUpPreference(Context context,UserManager userManager,int enabled)
public static void setSwipeUpPreference(Context context, UserManager userManager, int enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwipeUpPreference", "Context context,UserManager userManager,int enabled"));
1.1101. SwitchBar.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SwitchBar.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1101.1. SwitchBar Field属性列表
1.1101.1.1. ToggleSwitch mSwitch;
private ToggleSwitch mSwitch;
1.1101.1.2. View mRestrictedIcon;
private View mRestrictedIcon;
1.1101.1.3. TextView mTextView;
private TextView mTextView;
1.1101.1.4. String mLabel;
private String mLabel;
1.1101.1.5. String mSummary;
private String mSummary;
1.1101.1.6. int mBackgroundColor;
@ColorInt
private int mBackgroundColor;
1.1101.1.7. int mBackgroundActivatedColor;
@ColorInt
private int mBackgroundActivatedColor;
1.1101.1.8. int mOnTextId;
@StringRes
private int mOnTextId;
1.1101.1.9. int mOffTextId;
@StringRes
private int mOffTextId;
1.1101.1.10. boolean mLoggingIntialized;
private boolean mLoggingIntialized;
1.1101.1.11. boolean mDisabledByAdmin;
private boolean mDisabledByAdmin;
1.1101.1.12. EnforcedAdmin mEnforcedAdmin
private EnforcedAdmin mEnforcedAdmin = null;
1.1101.1.13. String mMetricsTag;
private String mMetricsTag;
1.1101.1.14. final List mSwitchChangeListeners
private final List mSwitchChangeListeners = new ArrayList<>();
1.1101.1.15. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1101.1.16. final TextAppearanceSpan mSummarySpan;
private final TextAppearanceSpan mSummarySpan;
1.1101.1.17. static final int[] XML_ATTRIBUTES
private static final int[] XML_ATTRIBUTES = { R.attr.switchBarMarginStart, R.attr.switchBarMarginEnd, R.attr.switchBarBackgroundColor, R.attr.switchBarBackgroundActivatedColor };
1.1101.2. SwitchBarMethod方法列表
1.1101.2.1. setMetricsTag(String tag)
public void setMetricsTag(String tag)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMetricsTag", "String tag"));
1.1101.2.2. setTextViewLabelAndBackground(boolean isChecked)
public void setTextViewLabelAndBackground(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTextViewLabelAndBackground", "boolean isChecked"));
1.1101.2.3. setSwitchBarText(int onText,int offText)
public void setSwitchBarText(int onText, int offText)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwitchBarText", "int onText,int offText"));
1.1101.2.4. setSummary(String summary)
public void setSummary(String summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSummary", "String summary"));
1.1101.2.5. updateText()
private void updateText()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateText", ""));
1.1101.2.6. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1101.2.7. setCheckedInternal(boolean checked)
public void setCheckedInternal(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCheckedInternal", "boolean checked"));
1.1101.2.8. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1101.2.9. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.1101.2.10. getDelegatingView()
View getDelegatingView()
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"getDelegatingView", ""));
1.1101.2.11. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.1101.2.12. show()
public void show()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", ""));
1.1101.2.13. hide()
public void hide()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hide", ""));
1.1101.2.14. onSizeChanged(int w,int h,int oldw,int oldh)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSizeChanged", "int w,int h,int oldw,int oldh"));
1.1101.2.15. isShowing()
public boolean isShowing()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isShowing", ""));
1.1101.2.16. propagateChecked(boolean isChecked)
public void propagateChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"propagateChecked", "boolean isChecked"));
1.1101.2.17. onCheckedChanged(CompoundButton buttonView,boolean isChecked)
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton buttonView,boolean isChecked"));
1.1101.2.18. addOnSwitchChangeListener(OnSwitchChangeListener listener)
public void addOnSwitchChangeListener(OnSwitchChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addOnSwitchChangeListener", "OnSwitchChangeListener listener"));
1.1101.2.19. removeOnSwitchChangeListener(OnSwitchChangeListener listener)
public void removeOnSwitchChangeListener(OnSwitchChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeOnSwitchChangeListener", "OnSwitchChangeListener listener"));
1.1101.2.20. onSaveInstanceState()
public Parcelable onSaveInstanceState()
methodList.add(new ZMethod(mZAndroidAPPClass,"Parcelable" ,"onSaveInstanceState", ""));
1.1101.2.21. onRestoreInstanceState(Parcelable state)
public void onRestoreInstanceState(Parcelable state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Parcelable state"));
1.1101.2.22. final getSwitch()
public final ToggleSwitch getSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"ToggleSwitch" ,"getSwitch", ""));
1.1102. SwitchBarController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SwitchBarController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1102.1. SwitchBarController Field属性列表
1.1102.1.1. final SwitchBar mSwitchBar;
private final SwitchBar mSwitchBar;
1.1102.2. SwitchBarControllerMethod方法列表
1.1102.2.1. setupView()
public void setupView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupView", ""));
1.1102.2.2. teardownView()
public void teardownView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"teardownView", ""));
1.1102.2.3. updateTitle(boolean isChecked)
public void updateTitle(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTitle", "boolean isChecked"));
1.1102.2.4. startListening()
public void startListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListening", ""));
1.1102.2.5. stopListening()
public void stopListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListening", ""));
1.1102.2.6. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1102.2.7. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1102.2.8. setEnabled(boolean enabled)
public void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.1102.2.9. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1102.2.10. setDisabledByAdmin(EnforcedAdmin admin)
public void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.1103. SwitchWidgetController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/SwitchWidgetController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1103.1. SwitchWidgetController Field属性列表
1.1103.1.1. OnSwitchChangeListener mListener;
protected OnSwitchChangeListener mListener;
1.1103.2. SwitchWidgetControllerMethod方法列表
1.1103.2.1. setupView()
public void setupView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupView", ""));
1.1103.2.2. teardownView()
public void teardownView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"teardownView", ""));
1.1103.2.3. setListener(OnSwitchChangeListener listener)
public void setListener(OnSwitchChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListener", "OnSwitchChangeListener listener"));
1.1103.2.4. abstract updateTitle(boolean isChecked)
public abstract void updateTitle(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTitle", "boolean isChecked"));
1.1103.2.5. abstract startListening()
public abstract void startListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startListening", ""));
1.1103.2.6. abstract stopListening()
public abstract void stopListening()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopListening", ""));
1.1103.2.7. abstract setChecked(boolean checked)
public abstract void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1103.2.8. abstract isChecked()
public abstract boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1103.2.9. abstract setEnabled(boolean enabled)
public abstract void setEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEnabled", "boolean enabled"));
1.1103.2.10. abstract setDisabledByAdmin(EnforcedAdmin admin)
public abstract void setDisabledByAdmin(EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisabledByAdmin", "EnforcedAdmin admin"));
1.1104. SyncStateSwitchPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accounts/SyncStateSwitchPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1104.1. SyncStateSwitchPreference Field属性列表
1.1104.1.1. boolean mIsActive
private boolean mIsActive = false;
1.1104.1.2. boolean mIsPending
private boolean mIsPending = false;
1.1104.1.3. boolean mFailed
private boolean mFailed = false;
1.1104.1.4. Account mAccount;
private Account mAccount;
1.1104.1.5. String mAuthority;
private String mAuthority;
1.1104.1.6. String mPackageName;
private String mPackageName;
1.1104.1.7. int mUid;
private int mUid;
1.1104.1.8. boolean mOneTimeSyncMode
/**
* A mode for this preference where clicking does a one-time sync instead of
* toggling whether the provider will do autosync.
*/
private boolean mOneTimeSyncMode = false;
1.1104.2. SyncStateSwitchPreferenceMethod方法列表
1.1104.2.1. setup(Account account,String authority,String packageName,int uid)
public void setup(Account account, String authority, String packageName, int uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setup", "Account account,String authority,String packageName,int uid"));
1.1104.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1104.2.3. setActive(boolean isActive)
public void setActive(boolean isActive)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setActive", "boolean isActive"));
1.1104.2.4. setPending(boolean isPending)
public void setPending(boolean isPending)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPending", "boolean isPending"));
1.1104.2.5. setFailed(boolean failed)
public void setFailed(boolean failed)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setFailed", "boolean failed"));
1.1104.2.6. setOneTimeSyncMode(boolean oneTimeSyncMode)
public void setOneTimeSyncMode(boolean oneTimeSyncMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOneTimeSyncMode", "boolean oneTimeSyncMode"));
1.1104.2.7. isOneTimeSyncMode()
public boolean isOneTimeSyncMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isOneTimeSyncMode", ""));
1.1104.2.8. onClick()
protected void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.1104.2.9. getAccount()
public Account getAccount()
methodList.add(new ZMethod(mZAndroidAPPClass,"Account" ,"getAccount", ""));
1.1104.2.10. getAuthority()
public String getAuthority()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getAuthority", ""));
1.1104.2.11. getPackageName()
public String getPackageName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageName", ""));
1.1104.2.12. getUid()
public int getUid()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUid", ""));
1.1105. SystemDashboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/SystemDashboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1105.1. SystemDashboardFragment Field属性列表
1.1105.1.1. static final String TAG
private static final String TAG = "SystemDashboardFrag";
1.1105.1.2. static final String KEY_RESET
private static final String KEY_RESET = "reset_dashboard";
1.1105.1.3. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.system_dashboard_fragment;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add((new BackupSettingsActivityPreferenceController(context).getPreferenceKey()));
keys.add(KEY_RESET);
return keys;
}
};
1.1105.2. SystemDashboardFragmentMethod方法列表
1.1105.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1105.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1105.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1105.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1105.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1105.2.6. getVisiblePreferenceCount(PreferenceGroup group)
private int getVisiblePreferenceCount(PreferenceGroup group)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getVisiblePreferenceCount", "PreferenceGroup group"));
1.1106. SystemSettingSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/SystemSettingSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1106.1. SystemSettingSwitchPreferenceController Field属性列表
1.1106.1.1. final String mSettingsKey;
private final String mSettingsKey;
1.1106.1.2. static final int SETTING_VALUE_OFF
private static final int SETTING_VALUE_OFF = 0;
1.1106.1.3. static final int SETTING_VALUE_ON
private static final int SETTING_VALUE_ON = 1;
1.1106.2. SystemSettingSwitchPreferenceControllerMethod方法列表
1.1106.2.1. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1106.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1106.2.3. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1107. SystemUiThemePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/SystemUiThemePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1107.1. SystemUiThemePreferenceController Field属性列表
1.1107.1.1. ListPreference mSystemUiThemePref;
private ListPreference mSystemUiThemePref;
1.1107.2. SystemUiThemePreferenceControllerMethod方法列表
1.1107.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1107.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1107.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1107.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1108. SystemUpdatePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/system/SystemUpdatePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1108.1. SystemUpdatePreferenceController Field属性列表
1.1108.1.1. final UserManager mUm;
private final UserManager mUm;
1.1108.1.2. final SystemUpdateManager mUpdateManager;
private final SystemUpdateManager mUpdateManager;
1.1108.1.3. static final String TAG
private static final String TAG = "SysUpdatePrefContr";
1.1108.1.4. static final String KEY_SYSTEM_UPDATE_SETTINGS
private static final String KEY_SYSTEM_UPDATE_SETTINGS = "system_update_settings";
1.1108.2. SystemUpdatePreferenceControllerMethod方法列表
1.1108.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1108.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1108.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1108.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1108.2.5. ciActionOnSysUpdate(PersistableBundle b)
private void ciActionOnSysUpdate(PersistableBundle b)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"ciActionOnSysUpdate", "PersistableBundle b"));
1.1109. TapToWakePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/TapToWakePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1109.1. TapToWakePreferenceController Field属性列表
1.1109.1.1. static final String KEY_TAP_TO_WAKE
private static final String KEY_TAP_TO_WAKE = "tap_to_wake";
1.1109.2. TapToWakePreferenceControllerMethod方法列表
1.1109.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1109.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1109.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1109.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1110. TemplatePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/TemplatePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1111. TemplatePreferenceCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/TemplatePreferenceCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1111.1. TemplatePreferenceCategory Field属性列表
1.1111.1.1. NetworkTemplate mTemplate;
private NetworkTemplate mTemplate;
1.1111.1.2. int mSubId;
private int mSubId;
1.1111.2. TemplatePreferenceCategoryMethod方法列表
1.1111.2.1. setTemplate(NetworkTemplate template,int subId,NetworkServices services)
public void setTemplate(NetworkTemplate template, int subId, NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTemplate", "NetworkTemplate template,int subId,NetworkServices services"));
1.1111.2.2. addPreference(Preference preference)
public boolean addPreference(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"addPreference", "Preference preference"));
1.1111.2.3. pushTemplates(NetworkServices services)
public void pushTemplates(NetworkServices services)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pushTemplates", "NetworkServices services"));
1.1112. TestingSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TestingSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1112.1. TestingSettings Field属性列表
1.1112.2. TestingSettingsMethod方法列表
1.1112.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1112.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1113. TestingSettingsBroadcastReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TestingSettingsBroadcastReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1113.1. TestingSettingsBroadcastReceiver Field属性列表
1.1113.2. TestingSettingsBroadcastReceiverMethod方法列表
1.1113.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1114. TetheringHardwareAccelPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/TetheringHardwareAccelPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1114.1. TetheringHardwareAccelPreferenceController Field属性列表
1.1114.1.1. static final String TETHERING_HARDWARE_OFFLOAD
private static final String TETHERING_HARDWARE_OFFLOAD = "tethering_hardware_offload";
1.1114.1.2. static final // on screen. So a value 0 indicates the tethering hardware accel is enabled. @VisibleForTesting static int SETTING_VALUE_ON
// We use the "disabled status" in code, but show the opposite text
// on screen. So a value 0 indicates the tethering hardware accel is enabled.
@VisibleForTesting
static final int SETTING_VALUE_ON = 0;
1.1114.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 1;
1.1114.2. TetheringHardwareAccelPreferenceControllerMethod方法列表
1.1114.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1114.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1114.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1114.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1115. TetherPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/TetherPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1115.1. TetherPreferenceController Field属性列表
1.1115.1.1. SettingObserver mAirplaneModeObserver;
private SettingObserver mAirplaneModeObserver;
1.1115.1.2. Preference mPreference;
private Preference mPreference;
1.1115.1.3. TetherBroadcastReceiver mTetherReceiver;
private TetherBroadcastReceiver mTetherReceiver;
1.1115.1.4. final boolean mAdminDisallowedTetherConfig;
private final boolean mAdminDisallowedTetherConfig;
1.1115.1.5. final AtomicReference mBluetoothPan;
private final AtomicReference mBluetoothPan;
1.1115.1.6. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1115.1.7. final BluetoothAdapter mBluetoothAdapter;
private final BluetoothAdapter mBluetoothAdapter;
1.1115.1.8. final BluetoothProfile.ServiceListener mBtProfileServiceListener
@VisibleForTesting
final BluetoothProfile.ServiceListener mBtProfileServiceListener = new android.bluetooth.BluetoothProfile.ServiceListener() {
public void onServiceConnected(int profile, BluetoothProfile proxy) {
mBluetoothPan.set((BluetoothPan) proxy);
updateSummary();
}
public void onServiceDisconnected(int profile) {
mBluetoothPan.set(null);
}
};
1.1115.1.9. static final String KEY_TETHER_SETTINGS
private static final String KEY_TETHER_SETTINGS = "tether_settings";
1.1115.2. TetherPreferenceControllerMethod方法列表
1.1115.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1115.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1115.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1115.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1115.2.5. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1115.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1115.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1115.2.8. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1115.2.9. updateSummary()
void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.1115.2.10. updateSummaryToOff()
private void updateSummaryToOff()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummaryToOff", ""));
1.1115.2.11. static isTetherConfigDisallowed(Context context)
public static boolean isTetherConfigDisallowed(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTetherConfigDisallowed", "Context context"));
1.1116. TetherProvisioningActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TetherProvisioningActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1116.1. TetherProvisioningActivity Field属性列表
1.1116.1.1. ResultReceiver mResultReceiver;
private ResultReceiver mResultReceiver;
1.1116.1.2. static final int PROVISION_REQUEST
private static final int PROVISION_REQUEST = 0;
1.1116.1.3. static final String TAG
private static final String TAG = "TetherProvisioningAct";
1.1116.1.4. static final String EXTRA_TETHER_TYPE
private static final String EXTRA_TETHER_TYPE = "TETHER_TYPE";
1.1116.1.5. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.1116.2. TetherProvisioningActivityMethod方法列表
1.1116.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1116.2.2. onActivityResult(int requestCode,int resultCode,Intent intent)
public void onActivityResult(int requestCode, int resultCode, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent intent"));
1.1117. TetherService.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/TetherService.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1117.1. TetherService Field属性列表
1.1117.1.1. int mCurrentTypeIndex;
private int mCurrentTypeIndex;
1.1117.1.2. boolean mInProvisionCheck;
private boolean mInProvisionCheck;
1.1117.1.3. UsageStatsManagerWrapper mUsageManagerWrapper;
private UsageStatsManagerWrapper mUsageManagerWrapper;
1.1117.1.4. ArrayList mCurrentTethers;
private ArrayList mCurrentTethers;
1.1117.1.5. ArrayMap> mPendingCallbacks;
private ArrayMap> mPendingCallbacks;
1.1117.1.6. HotspotOffReceiver mHotspotReceiver;
private HotspotOffReceiver mHotspotReceiver;
1.1117.1.7. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (DEBUG)
Log.d(TAG, "Got provision result " + intent);
String provisionResponse = getResources().getString(com.android.internal.R.string.config_mobile_hotspot_provision_response);
if (provisionResponse.equals(intent.getAction())) {
if (!mInProvisionCheck) {
Log.e(TAG, "Unexpected provision response " + intent);
return;
}
int checkType = mCurrentTethers.get(mCurrentTypeIndex);
mInProvisionCheck = false;
int result = intent.getIntExtra(EXTRA_RESULT, RESULT_DEFAULT);
if (result != RESULT_OK) {
switch(checkType) {
case ConnectivityManager.TETHERING_WIFI:
disableWifiTethering();
break;
case ConnectivityManager.TETHERING_BLUETOOTH:
disableBtTethering();
break;
case ConnectivityManager.TETHERING_USB:
disableUsbTethering();
break;
}
}
fireCallbacksForType(checkType, result);
if (++mCurrentTypeIndex >= mCurrentTethers.size()) {
// We are done with all checks, time to die.
stopSelf();
} else {
// Start the next check in our list.
startProvisioning(mCurrentTypeIndex);
}
}
}
};
1.1117.1.8. static final String TAG
private static final String TAG = "TetherService";
1.1117.1.9. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.1117.1.10. static final String EXTRA_RESULT
@VisibleForTesting
public static final String EXTRA_RESULT = "EntitlementResult";
1.1117.1.11. static final // Default to something not ok. private int RESULT_DEFAULT
// Activity results to match the activity provision protocol.
// Default to something not ok.
private static final int RESULT_DEFAULT = Activity.RESULT_CANCELED;
1.1117.1.12. static final int RESULT_OK
private static final int RESULT_OK = Activity.RESULT_OK;
1.1117.1.13. static final String TETHER_CHOICE
private static final String TETHER_CHOICE = "TETHER_TYPE";
1.1117.1.14. static final int MS_PER_HOUR
private static final int MS_PER_HOUR = 60 * 60 * 1000;
1.1117.1.15. static final String PREFS
private static final String PREFS = "tetherPrefs";
1.1117.1.16. static final String KEY_TETHERS
private static final String KEY_TETHERS = "currentTethers";
1.1117.2. TetherServiceMethod方法列表
1.1117.2.1. onBind(Intent intent)
public IBinder onBind(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"IBinder" ,"onBind", "Intent intent"));
1.1117.2.2. onCreate()
public void onCreate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", ""));
1.1117.2.3. onStartCommand(Intent intent,int flags,int startId)
public int onStartCommand(Intent intent, int flags, int startId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"onStartCommand", "Intent intent,int flags,int startId"));
1.1117.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1117.2.5. unregisterReceivers()
private void unregisterReceivers()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterReceivers", ""));
1.1117.2.6. removeTypeAtIndex(int index)
private void removeTypeAtIndex(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeTypeAtIndex", "int index"));
1.1117.2.7. setHotspotOffReceiver(HotspotOffReceiver receiver)
void setHotspotOffReceiver(HotspotOffReceiver receiver)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHotspotOffReceiver", "HotspotOffReceiver receiver"));
1.1117.2.8. stringToTethers(String tethersStr)
private ArrayList stringToTethers(String tethersStr)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"stringToTethers", "String tethersStr"));
1.1117.2.9. tethersToString(ArrayList tethers)
private String tethersToString(ArrayList tethers)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"tethersToString", "ArrayList tethers"));
1.1117.2.10. disableWifiTethering()
private void disableWifiTethering()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableWifiTethering", ""));
1.1117.2.11. disableUsbTethering()
private void disableUsbTethering()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableUsbTethering", ""));
1.1117.2.12. disableBtTethering()
private void disableBtTethering()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableBtTethering", ""));
1.1117.2.13. startProvisioning(int index)
private void startProvisioning(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startProvisioning", "int index"));
1.1117.2.14. getProvisionBroadcastIntent(int index)
private Intent getProvisionBroadcastIntent(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getProvisionBroadcastIntent", "int index"));
1.1117.2.15. setEntitlementAppActive(int index)
private void setEntitlementAppActive(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEntitlementAppActive", "int index"));
1.1117.2.16. scheduleAlarm()
void scheduleAlarm()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleAlarm", ""));
1.1117.2.17. cancelAlarmIfNecessary()
void cancelAlarmIfNecessary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelAlarmIfNecessary", ""));
1.1117.2.18. fireCallbacksForType(int type,int result)
private void fireCallbacksForType(int type, int result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"fireCallbacksForType", "int type,int result"));
1.1117.2.19. setUsageStatsManagerWrapper(UsageStatsManagerWrapper wrapper)
void setUsageStatsManagerWrapper(UsageStatsManagerWrapper wrapper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUsageStatsManagerWrapper", "UsageStatsManagerWrapper wrapper"));
1.1117.2.20. static cancelRecheckAlarmIfNecessary(final Context context,int type)
public static void cancelRecheckAlarmIfNecessary(final Context context, int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"cancelRecheckAlarmIfNecessary", "final Context context,int type"));
1.1118. TetherSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TetherSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1118.1. TetherSettings Field属性列表
1.1118.1.1. SwitchPreference mUsbTether;
private SwitchPreference mUsbTether;
1.1118.1.2. SwitchPreference mBluetoothTether;
private SwitchPreference mBluetoothTether;
1.1118.1.3. BroadcastReceiver mTetherChangeReceiver;
private BroadcastReceiver mTetherChangeReceiver;
1.1118.1.4. String[] mUsbRegexs;
private String[] mUsbRegexs;
1.1118.1.5. String[] mBluetoothRegexs;
private String[] mBluetoothRegexs;
1.1118.1.6. AtomicReference mBluetoothPan
private AtomicReference mBluetoothPan = new AtomicReference<>();
1.1118.1.7. Handler mHandler
private Handler mHandler = new Handler();
1.1118.1.8. OnStartTetheringCallback mStartTetheringCallback;
private OnStartTetheringCallback mStartTetheringCallback;
1.1118.1.9. ConnectivityManager mCm;
private ConnectivityManager mCm;
1.1118.1.10. WifiTetherPreferenceController mWifiTetherPreferenceController;
private WifiTetherPreferenceController mWifiTetherPreferenceController;
1.1118.1.11. boolean mUsbConnected;
private boolean mUsbConnected;
1.1118.1.12. boolean mMassStorageActive;
private boolean mMassStorageActive;
1.1118.1.13. boolean mBluetoothEnableForTether;
private boolean mBluetoothEnableForTether;
1.1118.1.14. boolean mUnavailable;
private boolean mUnavailable;
1.1118.1.15. DataSaverBackend mDataSaverBackend;
private DataSaverBackend mDataSaverBackend;
1.1118.1.16. boolean mDataSaverEnabled;
private boolean mDataSaverEnabled;
1.1118.1.17. Preference mDataSaverFooter;
private Preference mDataSaverFooter;
1.1118.1.18. BluetoothProfile.ServiceListener mProfileServiceListener
private BluetoothProfile.ServiceListener mProfileServiceListener = new BluetoothProfile.ServiceListener() {
public void onServiceConnected(int profile, BluetoothProfile proxy) {
mBluetoothPan.set((BluetoothPan) proxy);
}
public void onServiceDisconnected(int profile) {
mBluetoothPan.set(null);
}
};
1.1118.1.19. static final String USB_TETHER_SETTINGS
private static final String USB_TETHER_SETTINGS = "usb_tether_settings";
1.1118.1.20. static final String ENABLE_BLUETOOTH_TETHERING
private static final String ENABLE_BLUETOOTH_TETHERING = "enable_bluetooth_tethering";
1.1118.1.21. static final String DATA_SAVER_FOOTER
private static final String DATA_SAVER_FOOTER = "disabled_on_data_saver";
1.1118.1.22. static final String TAG
private static final String TAG = "TetheringSettings";
1.1118.2. TetherSettingsMethod方法列表
1.1118.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1118.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1118.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1118.2.4. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1118.2.5. onDataSaverChanged(boolean isDataSaving)
public void onDataSaverChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSaverChanged", "boolean isDataSaving"));
1.1118.2.6. onWhitelistStatusChanged(int uid,boolean isWhitelisted)
public void onWhitelistStatusChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWhitelistStatusChanged", "int uid,boolean isWhitelisted"));
1.1118.2.7. onBlacklistStatusChanged(int uid,boolean isBlacklisted)
public void onBlacklistStatusChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBlacklistStatusChanged", "int uid,boolean isBlacklisted"));
1.1118.2.8. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1118.2.9. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1118.2.10. updateState()
private void updateState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", ""));
1.1118.2.11. updateState(String[] available,String[] tethered,String[] errored)
private void updateState(String[] available, String[] tethered, String[] errored)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "String[] available,String[] tethered,String[] errored"));
1.1118.2.12. updateUsbState(String[] available,String[] tethered,String[] errored)
private void updateUsbState(String[] available, String[] tethered, String[] errored)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUsbState", "String[] available,String[] tethered,String[] errored"));
1.1118.2.13. updateBluetoothState()
private void updateBluetoothState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBluetoothState", ""));
1.1118.2.14. startTethering(int choice)
private void startTethering(int choice)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startTethering", "int choice"));
1.1118.2.15. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1118.2.16. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1118.2.17. static isProvisioningNeededButUnavailable(Context context)
public static boolean isProvisioningNeededButUnavailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProvisioningNeededButUnavailable", "Context context"));
1.1118.2.18. static isIntentAvailable(Context context)
private static boolean isIntentAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIntentAvailable", "Context context"));
1.1119. TextToSpeechSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/tts/TextToSpeechSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1119.1. TextToSpeechSettings Field属性列表
1.1119.1.1. SeekBarPreference mDefaultPitchPref;
private SeekBarPreference mDefaultPitchPref;
1.1119.1.2. SeekBarPreference mDefaultRatePref;
private SeekBarPreference mDefaultRatePref;
1.1119.1.3. ActionButtonPreference mActionButtons;
private ActionButtonPreference mActionButtons;
1.1119.1.4. int mDefaultPitch
private int mDefaultPitch = TextToSpeech.Engine.DEFAULT_PITCH;
1.1119.1.5. int mDefaultRate
private int mDefaultRate = TextToSpeech.Engine.DEFAULT_RATE;
1.1119.1.6. int mSelectedLocaleIndex
private int mSelectedLocaleIndex = -1;
1.1119.1.7. String mCurrentEngine;
/** The currently selected engine. */
private String mCurrentEngine;
1.1119.1.8. TextToSpeech mTts
private TextToSpeech mTts = null;
1.1119.1.9. TtsEngines mEnginesHelper
private TtsEngines mEnginesHelper = null;
1.1119.1.10. String mSampleText
private String mSampleText = null;
1.1119.1.11. ListPreference mLocalePreference;
private ListPreference mLocalePreference;
1.1119.1.12. Locale mCurrentDefaultLocale;
/**
* Default locale used by selected TTS engine, null if not connected to any engine.
*/
private Locale mCurrentDefaultLocale;
1.1119.1.13. List mAvailableStrLocals;
/**
* List of available locals of selected TTS engine, as returned by
* {@link TextToSpeech.Engine#ACTION_CHECK_TTS_DATA} activity. If empty, then activity
* was not yet called.
*/
private List mAvailableStrLocals;
1.1119.1.14. final TextToSpeech.OnInitListener mInitListener
/**
* The initialization listener used when we are initalizing the settings
* screen for the first time (as opposed to when a user changes his choice
* of engine).
*/
private final TextToSpeech.OnInitListener mInitListener = new TextToSpeech.OnInitListener() {
@Override
public void onInit(int status) {
onInitEngine(status);
}
};
1.1119.1.15. static final String STATE_KEY_LOCALE_ENTRIES
private static final String STATE_KEY_LOCALE_ENTRIES = "locale_entries";
1.1119.1.16. static final String STATE_KEY_LOCALE_ENTRY_VALUES
private static final String STATE_KEY_LOCALE_ENTRY_VALUES = "locale_entry_values";
1.1119.1.17. static final String STATE_KEY_LOCALE_VALUE
private static final String STATE_KEY_LOCALE_VALUE = "locale_value";
1.1119.1.18. static final String TAG
private static final String TAG = "TextToSpeechSettings";
1.1119.1.19. static final boolean DBG
private static final boolean DBG = false;
1.1119.1.20. static final String KEY_DEFAULT_PITCH
/** Preference key for the TTS pitch selection slider. */
private static final String KEY_DEFAULT_PITCH = "tts_default_pitch";
1.1119.1.21. static final String KEY_DEFAULT_RATE
/** Preference key for the TTS rate selection slider. */
private static final String KEY_DEFAULT_RATE = "tts_default_rate";
1.1119.1.22. static final String KEY_TTS_ENGINE_PREFERENCE
/** Engine picker. */
private static final String KEY_TTS_ENGINE_PREFERENCE = "tts_engine_preference";
1.1119.1.23. static final String KEY_ENGINE_LOCALE
/** Locale picker. */
private static final String KEY_ENGINE_LOCALE = "tts_default_lang";
1.1119.1.24. static final String KEY_ACTION_BUTTONS
/** Play/Reset buttons container. */
private static final String KEY_ACTION_BUTTONS = "action_buttons";
1.1119.1.25. static final int GET_SAMPLE_TEXT
/**
* These look like birth years, but they aren't mine. I'm much younger than this.
*/
private static final int GET_SAMPLE_TEXT = 1983;
1.1119.1.26. static final int VOICE_DATA_INTEGRITY_CHECK
private static final int VOICE_DATA_INTEGRITY_CHECK = 1977;
1.1119.1.27. static final int MAX_SPEECH_RATE
/**
* Speech rate value. This value should be kept in sync with the max value set in tts_settings
* xml.
*/
private static final int MAX_SPEECH_RATE = 600;
1.1119.1.28. static final int MIN_SPEECH_RATE
private static final int MIN_SPEECH_RATE = 10;
1.1119.1.29. static final int MAX_SPEECH_PITCH
/**
* Speech pitch value. TTS pitch value varies from 25 to 400, where 100 is the value for normal
* pitch. The max pitch value is set to 400, based on feedback from users and the GoogleTTS
* pitch variation range. The range for pitch is not set in stone and should be readjusted based
* on user need. This value should be kept in sync with the max value set in tts_settings xml.
*/
private static final int MAX_SPEECH_PITCH = 400;
1.1119.1.30. static final int MIN_SPEECH_PITCH
private static final int MIN_SPEECH_PITCH = 25;
1.1119.1.31. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.tts_settings;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
keys.add("tts_engine_preference");
return keys;
}
};
1.1119.2. TextToSpeechSettingsMethod方法列表
1.1119.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1119.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1119.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1119.2.4. setTtsUtteranceProgressListener()
private void setTtsUtteranceProgressListener()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTtsUtteranceProgressListener", ""));
1.1119.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1119.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1119.2.7. initSettings()
private void initSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initSettings", ""));
1.1119.2.8. getValueFromSeekBarProgress(String preferenceKey,int progress)
private int getValueFromSeekBarProgress(String preferenceKey, int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getValueFromSeekBarProgress", "String preferenceKey,int progress"));
1.1119.2.9. getSeekBarProgressFromValue(String preferenceKey,int value)
private int getSeekBarProgressFromValue(String preferenceKey, int value)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSeekBarProgressFromValue", "String preferenceKey,int value"));
1.1119.2.10. onInitEngine(int status)
public void onInitEngine(int status)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInitEngine", "int status"));
1.1119.2.11. checkDefaultLocale()
private void checkDefaultLocale()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkDefaultLocale", ""));
1.1119.2.12. evaluateDefaultLocale()
private boolean evaluateDefaultLocale()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"evaluateDefaultLocale", ""));
1.1119.2.13. getSampleText()
private void getSampleText()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"getSampleText", ""));
1.1119.2.14. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1119.2.15. updateDefaultLocalePref(Intent data)
private void updateDefaultLocalePref(Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDefaultLocalePref", "Intent data"));
1.1119.2.16. setLocalePreference(int index)
private void setLocalePreference(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLocalePreference", "int index"));
1.1119.2.17. getDefaultSampleString()
private String getDefaultSampleString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultSampleString", ""));
1.1119.2.18. isNetworkRequiredForSynthesis()
private boolean isNetworkRequiredForSynthesis()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNetworkRequiredForSynthesis", ""));
1.1119.2.19. onSampleTextReceived(int resultCode,Intent data)
private void onSampleTextReceived(int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSampleTextReceived", "int resultCode,Intent data"));
1.1119.2.20. speakSampleText()
private void speakSampleText()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"speakSampleText", ""));
1.1119.2.21. onPreferenceChange(Preference preference,Object objValue)
public boolean onPreferenceChange(Preference preference, Object objValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object objValue"));
1.1119.2.22. updateLanguageTo(Locale locale)
private void updateLanguageTo(Locale locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLanguageTo", "Locale locale"));
1.1119.2.23. resetTts()
private void resetTts()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resetTts", ""));
1.1119.2.24. updateSpeechRate(int speechRateSeekBarProgress)
private void updateSpeechRate(int speechRateSeekBarProgress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSpeechRate", "int speechRateSeekBarProgress"));
1.1119.2.25. updateSpeechPitchValue(int speechPitchSeekBarProgress)
private void updateSpeechPitchValue(int speechPitchSeekBarProgress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSpeechPitchValue", "int speechPitchSeekBarProgress"));
1.1119.2.26. updateWidgetState(boolean enable)
private void updateWidgetState(boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWidgetState", "boolean enable"));
1.1119.2.27. displayNetworkAlert()
private void displayNetworkAlert()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayNetworkAlert", ""));
1.1119.2.28. checkVoiceData(String engine)
private void checkVoiceData(String engine)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkVoiceData", "String engine"));
1.1119.2.29. onVoiceDataIntegrityCheckDone(Intent data)
private void onVoiceDataIntegrityCheckDone(Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onVoiceDataIntegrityCheckDone", "Intent data"));
1.1119.2.30. onGearClick(GearPreference p)
public void onGearClick(GearPreference p)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onGearClick", "GearPreference p"));
1.1120. ThemePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/ThemePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1120.1. ThemePreferenceController Field属性列表
1.1120.1.1. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1120.1.2. final OverlayManagerWrapper mOverlayService;
private final OverlayManagerWrapper mOverlayService;
1.1120.1.3. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.1120.1.4. static final String KEY_THEME
private static final String KEY_THEME = "theme";
1.1120.2. ThemePreferenceControllerMethod方法列表
1.1120.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1120.2.2. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1120.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1120.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1120.2.5. isTheme(OverlayInfo oi)
private boolean isTheme(OverlayInfo oi)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTheme", "OverlayInfo oi"));
1.1120.2.6. getTheme()
private String getTheme()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getTheme", ""));
1.1120.2.7. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1120.2.8. getCurrentTheme()
String getCurrentTheme()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCurrentTheme", ""));
1.1120.2.9. getAvailableThemes()
String[] getAvailableThemes()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"getAvailableThemes", ""));
1.1121. TimeChangeListenerMixin.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/TimeChangeListenerMixin.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1121.1. TimeChangeListenerMixin Field属性列表
1.1121.1.1. final Context mContext;
private final Context mContext;
1.1121.1.2. final UpdateTimeAndDateCallback mCallback;
private final UpdateTimeAndDateCallback mCallback;
1.1121.2. TimeChangeListenerMixinMethod方法列表
1.1121.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1121.2.2. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1121.2.3. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1122. TimeFormatPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/TimeFormatPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1122.1. TimeFormatPreferenceController Field属性列表
1.1122.1.1. final // The date value is dummy (independent of actual date). private Calendar mDummyDate;
// Used for showing the current date format, which looks like "12/31/2010", "2010/12/13", etc.
// The date value is dummy (independent of actual date).
private final Calendar mDummyDate;
1.1122.1.2. final boolean mIsFromSUW;
private final boolean mIsFromSUW;
1.1122.1.3. final UpdateTimeAndDateCallback mUpdateTimeAndDateCallback;
private final UpdateTimeAndDateCallback mUpdateTimeAndDateCallback;
1.1122.1.4. static final String HOURS_12
static final String HOURS_12 = "12";
1.1122.1.5. static final String HOURS_24
static final String HOURS_24 = "24";
1.1122.1.6. static final String KEY_TIME_FORMAT
private static final String KEY_TIME_FORMAT = "24 hour";
1.1122.2. TimeFormatPreferenceControllerMethod方法列表
1.1122.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1122.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1122.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1122.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1122.2.5. is24Hour()
private boolean is24Hour()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"is24Hour", ""));
1.1122.2.6. static update24HourFormat(Context context,Boolean is24Hour)
static void update24HourFormat(Context context, Boolean is24Hour)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update24HourFormat", "Context context,Boolean is24Hour"));
1.1122.2.7. static timeUpdated(Context context,Boolean is24Hour)
static void timeUpdated(Context context, Boolean is24Hour)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"timeUpdated", "Context context,Boolean is24Hour"));
1.1122.2.8. static set24Hour(Context context,Boolean is24Hour)
static void set24Hour(Context context, Boolean is24Hour)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"set24Hour", "Context context,Boolean is24Hour"));
1.1123. TimeoutListPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TimeoutListPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1123.1. TimeoutListPreference Field属性列表
1.1123.1.1. EnforcedAdmin mAdmin;
private EnforcedAdmin mAdmin;
1.1123.1.2. final CharSequence[] mInitialEntries;
private final CharSequence[] mInitialEntries;
1.1123.1.3. final CharSequence[] mInitialValues;
private final CharSequence[] mInitialValues;
1.1123.2. TimeoutListPreferenceMethod方法列表
1.1123.2.1. onPrepareDialogBuilder(AlertDialog.Builder builder,DialogInterface.OnClickListener listener)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder, DialogInterface.OnClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder,DialogInterface.OnClickListener listener"));
1.1123.2.2. onDialogCreated(Dialog dialog)
protected void onDialogCreated(Dialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogCreated", "Dialog dialog"));
1.1123.2.3. removeUnusableTimeouts(long maxTimeout,EnforcedAdmin admin)
public void removeUnusableTimeouts(long maxTimeout, EnforcedAdmin admin)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeUnusableTimeouts", "long maxTimeout,EnforcedAdmin admin"));
1.1124. TimeoutPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/TimeoutPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1124.1. TimeoutPreferenceController Field属性列表
1.1124.1.1. final String mScreenTimeoutKey;
private final String mScreenTimeoutKey;
1.1124.1.2. static final String TAG
private static final String TAG = "TimeoutPrefContr";
1.1124.1.3. static final int FALLBACK_SCREEN_TIMEOUT_VALUE
/** If there is no setting in the provider, use this. */
public static final int FALLBACK_SCREEN_TIMEOUT_VALUE = 30000;
1.1124.2. TimeoutPreferenceControllerMethod方法列表
1.1124.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1124.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1124.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1124.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1124.2.5. updateTimeoutPreferenceDescription(TimeoutListPreference preference,long currentTimeout)
private void updateTimeoutPreferenceDescription(TimeoutListPreference preference, long currentTimeout)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTimeoutPreferenceDescription", "TimeoutListPreference preference,long currentTimeout"));
1.1124.2.6. static getTimeoutDescription(long currentTimeout,CharSequence[] entries,CharSequence[] values)
public static CharSequence getTimeoutDescription(long currentTimeout, CharSequence[] entries, CharSequence[] values)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTimeoutDescription", "long currentTimeout,CharSequence[] entries,CharSequence[] values"));
1.1125. TimePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/TimePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1125.1. TimePreferenceController Field属性列表
1.1125.1.1. final AutoTimePreferenceController mAutoTimePreferenceController;
private final AutoTimePreferenceController mAutoTimePreferenceController;
1.1125.1.2. final TimePreferenceHost mHost;
private final TimePreferenceHost mHost;
1.1125.1.3. static final int DIALOG_TIMEPICKER
public static final int DIALOG_TIMEPICKER = 1;
1.1125.1.4. static final String KEY_TIME
private static final String KEY_TIME = "time";
1.1125.2. TimePreferenceControllerMethod方法列表
1.1125.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1125.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1125.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1125.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1125.2.5. onTimeSet(TimePicker view,int hourOfDay,int minute)
public void onTimeSet(TimePicker view, int hourOfDay, int minute)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTimeSet", "TimePicker view,int hourOfDay,int minute"));
1.1125.2.6. buildTimePicker(Activity activity)
public TimePickerDialog buildTimePicker(Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"TimePickerDialog" ,"buildTimePicker", "Activity activity"));
1.1125.2.7. setTime(int hourOfDay,int minute)
void setTime(int hourOfDay, int minute)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTime", "int hourOfDay,int minute"));
1.1126. TimeSpentInAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/TimeSpentInAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1126.1. TimeSpentInAppPreferenceController Field属性列表
1.1126.1.1. Intent mIntent;
private Intent mIntent;
1.1126.1.2. String mPackageName;
private String mPackageName;
1.1126.1.3. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.1126.1.4. static final Intent SEE_TIME_IN_APP_TEMPLATE
@VisibleForTesting
static final Intent SEE_TIME_IN_APP_TEMPLATE = new Intent("com.android.settings.action.TIME_SPENT_IN_APP");
1.1126.2. TimeSpentInAppPreferenceControllerMethod方法列表
1.1126.2.1. setPackageName(String packageName)
public void setPackageName(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPackageName", "String packageName"));
1.1126.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1126.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1126.2.4. isSystemApp(ResolveInfo info)
private boolean isSystemApp(ResolveInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSystemApp", "ResolveInfo info"));
1.1127. TimeZoneData.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/TimeZoneData.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1127.1. TimeZoneData Field属性列表
1.1127.1.1. final CountryZonesFinder mCountryZonesFinder;
private final CountryZonesFinder mCountryZonesFinder;
1.1127.1.2. final Set mRegionIds;
private final Set mRegionIds;
1.1127.1.3. static WeakReference sCache
private static WeakReference sCache = null;
1.1127.2. TimeZoneDataMethod方法列表
1.1127.2.1. getRegionIds()
public Set getRegionIds()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getRegionIds", ""));
1.1127.2.2. lookupCountryCodesForZoneId(String tzId)
public Set lookupCountryCodesForZoneId(String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"lookupCountryCodesForZoneId", "String tzId"));
1.1127.2.3. lookupCountryTimeZones(String regionId)
public FilteredCountryTimeZones lookupCountryTimeZones(String regionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"FilteredCountryTimeZones" ,"lookupCountryTimeZones", "String regionId"));
1.1127.2.4. static getNormalizedRegionIds(List regionIds)
private static Set getNormalizedRegionIds(List regionIds)
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getNormalizedRegionIds", "List regionIds"));
1.1127.2.5. static normalizeRegionId(String regionId)
public static String normalizeRegionId(String regionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"normalizeRegionId", "String regionId"));
1.1127.2.6. static sync getInstance()
public static synchronized TimeZoneData getInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneData" ,"getInstance", ""));
1.1128. TimeZoneDataLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/model/TimeZoneDataLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1128.1. TimeZoneDataLoader Field属性列表
1.1128.2. TimeZoneDataLoaderMethod方法列表
1.1128.2.1. loadInBackground()
public TimeZoneData loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneData" ,"loadInBackground", ""));
1.1128.2.2. onDiscardResult(TimeZoneData result)
protected void onDiscardResult(TimeZoneData result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "TimeZoneData result"));
1.1129. TimeZoneInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/TimeZoneInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1129.1. TimeZoneInfo Field属性列表
1.1129.1.1. final String mId;
private final String mId;
1.1129.1.2. final TimeZone mTimeZone;
private final TimeZone mTimeZone;
1.1129.1.3. final String mGenericName;
private final String mGenericName;
1.1129.1.4. final String mStandardName;
private final String mStandardName;
1.1129.1.5. final String mDaylightName;
private final String mDaylightName;
1.1129.1.6. final String mExemplarLocation;
private final String mExemplarLocation;
1.1129.1.7. final CharSequence mGmtOffset;
private final CharSequence mGmtOffset;
1.1129.2. TimeZoneInfoMethod方法列表
1.1129.2.1. getId()
public String getId()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getId", ""));
1.1129.2.2. getTimeZone()
public TimeZone getTimeZone()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZone" ,"getTimeZone", ""));
1.1129.2.3. getExemplarLocation()
public String getExemplarLocation()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getExemplarLocation", ""));
1.1129.2.4. getGenericName()
public String getGenericName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getGenericName", ""));
1.1129.2.5. getStandardName()
public String getStandardName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getStandardName", ""));
1.1129.2.6. getDaylightName()
public String getDaylightName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDaylightName", ""));
1.1129.2.7. getGmtOffset()
public CharSequence getGmtOffset()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getGmtOffset", ""));
1.1130. TimeZoneInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/TimeZoneInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1130.1. TimeZoneInfoPreferenceController Field属性列表
1.1130.1.1. Date mDate;
@VisibleForTesting
Date mDate;
1.1130.1.2. TimeZoneInfo mTimeZoneInfo;
private TimeZoneInfo mTimeZoneInfo;
1.1130.1.3. final DateFormat mDateFormat;
private final DateFormat mDateFormat;
1.1130.1.4. static final String PREFERENCE_KEY
private static final String PREFERENCE_KEY = FooterPreference.KEY_FOOTER;
1.1130.2. TimeZoneInfoPreferenceControllerMethod方法列表
1.1130.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1130.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1130.2.3. setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
public void setTimeZoneInfo(TimeZoneInfo timeZoneInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTimeZoneInfo", "TimeZoneInfo timeZoneInfo"));
1.1130.2.4. getTimeZoneInfo()
public TimeZoneInfo getTimeZoneInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneInfo" ,"getTimeZoneInfo", ""));
1.1130.2.5. formatOffsetAndName(TimeZoneInfo item)
private CharSequence formatOffsetAndName(TimeZoneInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatOffsetAndName", "TimeZoneInfo item"));
1.1130.2.6. formatInfo(TimeZoneInfo item)
private CharSequence formatInfo(TimeZoneInfo item)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"formatInfo", "TimeZoneInfo item"));
1.1130.2.7. findNextDstTransition(TimeZone timeZone)
private TimeZoneTransition findNextDstTransition(TimeZone timeZone)
methodList.add(new ZMethod(mZAndroidAPPClass,"TimeZoneTransition" ,"findNextDstTransition", "TimeZone timeZone"));
1.1131. TimeZonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/TimeZonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1131.1. TimeZonePreferenceController Field属性列表
1.1131.1.1. final AutoTimeZonePreferenceController mAutoTimeZonePreferenceController;
private final AutoTimeZonePreferenceController mAutoTimeZonePreferenceController;
1.1131.1.2. final boolean mZonePickerV2;
private final boolean mZonePickerV2;
1.1131.1.3. static final String KEY_TIMEZONE
private static final String KEY_TIMEZONE = "timezone";
1.1131.2. TimeZonePreferenceControllerMethod方法列表
1.1131.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1131.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1131.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1131.2.4. getTimeZoneOffsetAndName()
CharSequence getTimeZoneOffsetAndName()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTimeZoneOffsetAndName", ""));
1.1132. TimeZoneSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/timezone/TimeZoneSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1132.1. TimeZoneSettings Field属性列表
1.1132.1.1. Locale mLocale;
private Locale mLocale;
1.1132.1.2. boolean mSelectByRegion;
private boolean mSelectByRegion;
1.1132.1.3. TimeZoneData mTimeZoneData;
private TimeZoneData mTimeZoneData;
1.1132.1.4. String mSelectedTimeZoneId;
private String mSelectedTimeZoneId;
1.1132.1.5. TimeZoneInfo.Formatter mTimeZoneInfoFormatter;
private TimeZoneInfo.Formatter mTimeZoneInfoFormatter;
1.1132.1.6. static final String TAG
private static final String TAG = "TimeZoneSettings";
1.1132.1.7. static final int MENU_BY_REGION
private static final int MENU_BY_REGION = Menu.FIRST;
1.1132.1.8. static final int MENU_BY_OFFSET
private static final int MENU_BY_OFFSET = Menu.FIRST + 1;
1.1132.1.9. static final int REQUEST_CODE_REGION_PICKER
private static final int REQUEST_CODE_REGION_PICKER = 1;
1.1132.1.10. static final int REQUEST_CODE_ZONE_PICKER
private static final int REQUEST_CODE_ZONE_PICKER = 2;
1.1132.1.11. static final int REQUEST_CODE_FIXED_OFFSET_ZONE_PICKER
private static final int REQUEST_CODE_FIXED_OFFSET_ZONE_PICKER = 3;
1.1132.1.12. static final String PREF_KEY_REGION
private static final String PREF_KEY_REGION = "time_zone_region";
1.1132.1.13. static final String PREF_KEY_REGION_CATEGORY
private static final String PREF_KEY_REGION_CATEGORY = "time_zone_region_preference_category";
1.1132.1.14. static final String PREF_KEY_FIXED_OFFSET_CATEGORY
private static final String PREF_KEY_FIXED_OFFSET_CATEGORY = "time_zone_fixed_offset_preference_category";
1.1132.2. TimeZoneSettingsMethod方法列表
1.1132.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1132.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1132.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1132.2.4. createPreferenceControllers(Context context)
public List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1132.2.5. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1132.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1132.2.7. setTimeZoneData(TimeZoneData timeZoneData)
void setTimeZoneData(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTimeZoneData", "TimeZoneData timeZoneData"));
1.1132.2.8. onTimeZoneDataReady(TimeZoneData timeZoneData)
private void onTimeZoneDataReady(TimeZoneData timeZoneData)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTimeZoneDataReady", "TimeZoneData timeZoneData"));
1.1132.2.9. startRegionPicker()
private void startRegionPicker()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startRegionPicker", ""));
1.1132.2.10. onRegionZonePreferenceClicked()
private void onRegionZonePreferenceClicked()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRegionZonePreferenceClicked", ""));
1.1132.2.11. startFixedOffsetPicker()
private void startFixedOffsetPicker()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startFixedOffsetPicker", ""));
1.1132.2.12. startPickerFragment(Class fragmentClass,Bundle args,int resultRequestCode)
private void startPickerFragment(Class fragmentClass, Bundle args, int resultRequestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startPickerFragment", "Class fragmentClass,Bundle args,int resultRequestCode"));
1.1132.2.13. setDisplayedRegion(String regionId)
private void setDisplayedRegion(String regionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisplayedRegion", "String regionId"));
1.1132.2.14. setDisplayedTimeZoneInfo(String regionId,String tzId)
private void setDisplayedTimeZoneInfo(String regionId, String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisplayedTimeZoneInfo", "String regionId,String tzId"));
1.1132.2.15. setDisplayedFixedOffsetTimeZoneInfo(String tzId)
private void setDisplayedFixedOffsetTimeZoneInfo(String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDisplayedFixedOffsetTimeZoneInfo", "String tzId"));
1.1132.2.16. onRegionZoneChanged(String regionId,String tzId)
private void onRegionZoneChanged(String regionId, String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRegionZoneChanged", "String regionId,String tzId"));
1.1132.2.17. onFixedOffsetZoneChanged(String tzId)
private void onFixedOffsetZoneChanged(String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onFixedOffsetZoneChanged", "String tzId"));
1.1132.2.18. saveTimeZone(String regionId,String tzId)
private void saveTimeZone(String regionId, String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveTimeZone", "String regionId,String tzId"));
1.1132.2.19. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1132.2.20. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.1132.2.21. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1132.2.22. setupForCurrentTimeZone()
private void setupForCurrentTimeZone()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupForCurrentTimeZone", ""));
1.1132.2.23. setSelectByRegion(boolean selectByRegion)
private void setSelectByRegion(boolean selectByRegion)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelectByRegion", "boolean selectByRegion"));
1.1132.2.24. findRegionIdForTzId(String tzId)
private String findRegionIdForTzId(String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"findRegionIdForTzId", "String tzId"));
1.1132.2.25. findRegionIdForTzId(String tzId,String sharePrefRegionId,String localeRegionId)
String findRegionIdForTzId(String tzId, String sharePrefRegionId, String localeRegionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"findRegionIdForTzId", "String tzId,String sharePrefRegionId,String localeRegionId"));
1.1132.2.26. setPreferenceCategoryVisible(PreferenceCategory category,boolean isVisible)
private void setPreferenceCategoryVisible(PreferenceCategory category, boolean isVisible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceCategoryVisible", "PreferenceCategory category,boolean isVisible"));
1.1132.2.27. getLocaleRegionId()
private String getLocaleRegionId()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLocaleRegionId", ""));
1.1132.2.28. static isFixedOffset(String tzId)
private static boolean isFixedOffset(String tzId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFixedOffset", "String tzId"));
1.1133. ToggleAccessibilityServicePreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleAccessibilityServicePreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1133.1. ToggleAccessibilityServicePreferenceFragment Field属性列表
1.1133.1.1. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.1133.1.2. ComponentName mComponentName;
private ComponentName mComponentName;
1.1133.1.3. int mShownDialogId;
private int mShownDialogId;
1.1133.1.4. final SettingsContentObserver mSettingsContentObserver
private final SettingsContentObserver mSettingsContentObserver = new SettingsContentObserver(new Handler()) {
@Override
public void onChange(boolean selfChange, Uri uri) {
updateSwitchBarToggleSwitch();
}
};
1.1133.1.5. static final int DIALOG_ID_ENABLE_WARNING
private static final int DIALOG_ID_ENABLE_WARNING = 1;
1.1133.1.6. static final int DIALOG_ID_DISABLE_WARNING
private static final int DIALOG_ID_DISABLE_WARNING = 2;
1.1133.1.7. static final int ACTIVITY_REQUEST_CONFIRM_CREDENTIAL_FOR_WEAKER_ENCRYPTION
public static final int ACTIVITY_REQUEST_CONFIRM_CREDENTIAL_FOR_WEAKER_ENCRYPTION = 1;
1.1133.2. ToggleAccessibilityServicePreferenceFragmentMethod方法列表
1.1133.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1133.2.2. onCreateOptionsMenu(Menu menu,MenuInflater infalter)
public void onCreateOptionsMenu(Menu menu, MenuInflater infalter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater infalter"));
1.1133.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1133.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1133.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1133.2.6. onPreferenceToggled(String preferenceKey,boolean enabled)
public void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.1133.2.7. getAccessibilityServiceInfo()
private AccessibilityServiceInfo getAccessibilityServiceInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessibilityServiceInfo" ,"getAccessibilityServiceInfo", ""));
1.1133.2.8. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.1133.2.9. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1133.2.10. updateSwitchBarToggleSwitch()
private void updateSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSwitchBarToggleSwitch", ""));
1.1133.2.11. isFullDiskEncrypted()
private boolean isFullDiskEncrypted()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isFullDiskEncrypted", ""));
1.1133.2.12. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1133.2.13. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.1133.2.14. handleConfirmServiceEnabled(boolean confirmed)
private void handleConfirmServiceEnabled(boolean confirmed)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleConfirmServiceEnabled", "boolean confirmed"));
1.1133.2.15. createConfirmCredentialReasonMessage()
private String createConfirmCredentialReasonMessage()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"createConfirmCredentialReasonMessage", ""));
1.1133.2.16. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.1133.2.17. onProcessArguments(Bundle arguments)
protected void onProcessArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProcessArguments", "Bundle arguments"));
1.1134. ToggleAutoclickPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleAutoclickPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1134.1. ToggleAutoclickPreferenceFragment Field属性列表
1.1134.1.1. SeekBarPreference mDelay;
/**
* Seek bar preference for autoclick delay value. The seek bar has values between 0 and
* number of possible discrete autoclick delay values. These will have to be converted to actual
* delay values before saving them in settings.
*/
private SeekBarPreference mDelay;
1.1134.1.2. static final int MIN_AUTOCLICK_DELAY
/** Min allowed autoclick delay value. */
private static final int MIN_AUTOCLICK_DELAY = 200;
1.1134.1.3. static final int MAX_AUTOCLICK_DELAY
/** Max allowed autoclick delay value. */
private static final int MAX_AUTOCLICK_DELAY = 1000;
1.1134.1.4. static final int AUTOCLICK_DELAY_STEP
/**
* Allowed autoclick delay values are discrete. This is the difference between two allowed
* values.
*/
private static final int AUTOCLICK_DELAY_STEP = 100;
1.1134.1.5. static final int[] mAutoclickPreferenceSummaries
/**
* Resource ids from which autoclick preference summaries should be derived. The strings have
* placeholder for integer delay value.
*/
private static final int[] mAutoclickPreferenceSummaries = { R.plurals.accessibilty_autoclick_preference_subtitle_extremely_short_delay, R.plurals.accessibilty_autoclick_preference_subtitle_very_short_delay, R.plurals.accessibilty_autoclick_preference_subtitle_short_delay, R.plurals.accessibilty_autoclick_preference_subtitle_long_delay, R.plurals.accessibilty_autoclick_preference_subtitle_very_long_delay };
1.1134.2. ToggleAutoclickPreferenceFragmentMethod方法列表
1.1134.2.1. onPreferenceToggled(String preferenceKey,boolean enabled)
protected void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.1134.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1134.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1134.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1134.2.5. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1134.2.6. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.1134.2.7. onRemoveSwitchBarToggleSwitch()
protected void onRemoveSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRemoveSwitchBarToggleSwitch", ""));
1.1134.2.8. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1134.2.9. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1134.2.10. seekBarProgressToDelay(int progress)
private int seekBarProgressToDelay(int progress)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"seekBarProgressToDelay", "int progress"));
1.1134.2.11. delayToSeekBarProgress(int delay)
private int delayToSeekBarProgress(int delay)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"delayToSeekBarProgress", "int delay"));
1.1134.2.12. static getAutoclickPreferenceSummary(Resources resources,int delay)
static CharSequence getAutoclickPreferenceSummary(Resources resources, int delay)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getAutoclickPreferenceSummary", "Resources resources,int delay"));
1.1134.2.13. static getAutoclickPreferenceSummaryIndex(int delay)
private static int getAutoclickPreferenceSummaryIndex(int delay)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAutoclickPreferenceSummaryIndex", "int delay"));
1.1135. ToggleBackupSettingFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/backup/ToggleBackupSettingFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1135.1. ToggleBackupSettingFragment Field属性列表
1.1135.1.1. IBackupManager mBackupManager;
private IBackupManager mBackupManager;
1.1135.1.2. SwitchBar mSwitchBar;
protected SwitchBar mSwitchBar;
1.1135.1.3. ToggleSwitch mToggleSwitch;
protected ToggleSwitch mToggleSwitch;
1.1135.1.4. Preference mSummaryPreference;
private Preference mSummaryPreference;
1.1135.1.5. Dialog mConfirmDialog;
private Dialog mConfirmDialog;
1.1135.1.6. boolean mWaitingForConfirmationDialog
private boolean mWaitingForConfirmationDialog = false;
1.1135.1.7. static final String TAG
private static final String TAG = "ToggleBackupSettingFragment";
1.1135.1.8. static final String BACKUP_TOGGLE
private static final String BACKUP_TOGGLE = "toggle_backup";
1.1135.1.9. static final // based on whether they have been presented with the details of what that backup entails // (usually surfaced somewhere like device setup) private String USER_FULL_DATA_BACKUP_AWARE
// System setting that governs whether the user is eligible for full app-data backup,
// based on whether they have been presented with the details of what that backup entails
// (usually surfaced somewhere like device setup)
private static final String USER_FULL_DATA_BACKUP_AWARE = "user_full_data_backup_aware";
1.1135.2. ToggleBackupSettingFragmentMethod方法列表
1.1135.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1135.2.2. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.1135.2.3. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.1135.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1135.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1135.2.6. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.1135.2.7. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.1135.2.8. showEraseBackupDialog()
private void showEraseBackupDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showEraseBackupDialog", ""));
1.1135.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1135.2.10. setBackupEnabled(boolean enable)
private void setBackupEnabled(boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBackupEnabled", "boolean enable"));
1.1136. ToggleDaltonizerPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleDaltonizerPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1136.1. ToggleDaltonizerPreferenceFragment Field属性列表
1.1136.1.1. ListPreference mType;
private ListPreference mType;
1.1136.1.2. static final String ENABLED
private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED;
1.1136.1.3. static final String TYPE
private static final String TYPE = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER;
1.1136.1.4. static final int DEFAULT_TYPE
private static final int DEFAULT_TYPE = AccessibilityManager.DALTONIZER_CORRECT_DEUTERANOMALY;
1.1136.2. ToggleDaltonizerPreferenceFragmentMethod方法列表
1.1136.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1136.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1136.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1136.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1136.2.5. onPreferenceToggled(String preferenceKey,boolean enabled)
protected void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.1136.2.6. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1136.2.7. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.1136.2.8. onRemoveSwitchBarToggleSwitch()
protected void onRemoveSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRemoveSwitchBarToggleSwitch", ""));
1.1136.2.9. updateSwitchBarText(SwitchBar switchBar)
protected void updateSwitchBarText(SwitchBar switchBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSwitchBarText", "SwitchBar switchBar"));
1.1136.2.10. initPreferences()
private void initPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initPreferences", ""));
1.1136.2.11. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1137. ToggleFeaturePreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFeaturePreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1137.1. ToggleFeaturePreferenceFragment Field属性列表
1.1137.1.1. SwitchBar mSwitchBar;
protected SwitchBar mSwitchBar;
1.1137.1.2. ToggleSwitch mToggleSwitch;
protected ToggleSwitch mToggleSwitch;
1.1137.1.3. String mPreferenceKey;
protected String mPreferenceKey;
1.1137.1.4. CharSequence mSettingsTitle;
protected CharSequence mSettingsTitle;
1.1137.1.5. Intent mSettingsIntent;
protected Intent mSettingsIntent;
1.1137.2. ToggleFeaturePreferenceFragmentMethod方法列表
1.1137.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1137.2.2. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.1137.2.3. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1137.2.4. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.1137.2.5. updateSwitchBarText(SwitchBar switchBar)
protected void updateSwitchBarText(SwitchBar switchBar)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSwitchBarText", "SwitchBar switchBar"));
1.1137.2.6. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.1137.2.7. onRemoveSwitchBarToggleSwitch()
protected void onRemoveSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRemoveSwitchBarToggleSwitch", ""));
1.1137.2.8. installActionBarToggleSwitch()
private void installActionBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"installActionBarToggleSwitch", ""));
1.1137.2.9. removeActionBarToggleSwitch()
private void removeActionBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeActionBarToggleSwitch", ""));
1.1137.2.10. setTitle(String title)
public void setTitle(String title)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTitle", "String title"));
1.1137.2.11. onProcessArguments(Bundle arguments)
protected void onProcessArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProcessArguments", "Bundle arguments"));
1.1137.2.12. abstract onPreferenceToggled(String preferenceKey,boolean enabled)
protected abstract void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.1138. ToggleFontSizePreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleFontSizePreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1138.1. ToggleFontSizePreferenceFragment Field属性列表
1.1138.1.1. float[] mValues;
private float[] mValues;
1.1138.2. ToggleFontSizePreferenceFragmentMethod方法列表
1.1138.2.1. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.1138.2.2. createConfig(Configuration origConfig,int index)
protected Configuration createConfig(Configuration origConfig, int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"Configuration" ,"createConfig", "Configuration origConfig,int index"));
1.1138.2.3. commit()
protected void commit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"commit", ""));
1.1138.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1138.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1138.2.6. static fontSizeValueToIndex(float val,String[] indices)
public static int fontSizeValueToIndex(float val, String[] indices)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"fontSizeValueToIndex", "float val,String[] indices"));
1.1139. TogglePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/core/TogglePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1139.1. TogglePreferenceController Field属性列表
1.1139.1.1. static final String TAG
private static final String TAG = "TogglePrefController";
1.1139.2. TogglePreferenceControllerMethod方法列表
1.1139.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1139.2.2. getSliceType()
public int getSliceType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliceType", ""));
1.1139.2.3. final onPreferenceChange(Preference preference,Object newValue)
public final boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1139.2.4. abstract isChecked()
public abstract boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1139.2.5. abstract setChecked(boolean isChecked)
public abstract boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1140. ToggleScreenMagnificationPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1140.1. ToggleScreenMagnificationPreferenceFragment Field属性列表
1.1140.1.1. VideoPreference mVideoPreference;
protected VideoPreference mVideoPreference;
1.1140.1.2. Preference mConfigWarningPreference;
protected Preference mConfigWarningPreference;
1.1140.1.3. boolean mLaunchFromSuw
private boolean mLaunchFromSuw = false;
1.1140.1.4. boolean mInitialSetting
private boolean mInitialSetting = false;
1.1140.2. ToggleScreenMagnificationPreferenceFragmentMethod方法列表
1.1140.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1140.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1140.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1140.2.4. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1140.2.5. onPreferenceToggled(String preferenceKey,boolean enabled)
protected void onPreferenceToggled(String preferenceKey, boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPreferenceToggled", "String preferenceKey,boolean enabled"));
1.1140.2.6. onInstallSwitchBarToggleSwitch()
protected void onInstallSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onInstallSwitchBarToggleSwitch", ""));
1.1140.2.7. onRemoveSwitchBarToggleSwitch()
protected void onRemoveSwitchBarToggleSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRemoveSwitchBarToggleSwitch", ""));
1.1140.2.8. onProcessArguments(Bundle arguments)
protected void onProcessArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProcessArguments", "Bundle arguments"));
1.1140.2.9. updateConfigurationWarningIfNeeded()
private void updateConfigurationWarningIfNeeded()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateConfigurationWarningIfNeeded", ""));
1.1140.2.10. static getScreenWidth(Context context)
private static int getScreenWidth(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getScreenWidth", "Context context"));
1.1141. ToggleScreenMagnificationPreferenceFragmentForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragmentForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1141.1. ToggleScreenMagnificationPreferenceFragmentForSetupWizard Field属性列表
1.1141.2. ToggleScreenMagnificationPreferenceFragmentForSetupWizardMethod方法列表
1.1141.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1141.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1142. ToggleScreenReaderPreferenceFragmentForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleScreenReaderPreferenceFragmentForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1142.1. ToggleScreenReaderPreferenceFragmentForSetupWizard Field属性列表
1.1142.1.1. boolean mToggleSwitchWasInitiallyChecked;
private boolean mToggleSwitchWasInitiallyChecked;
1.1142.2. ToggleScreenReaderPreferenceFragmentForSetupWizardMethod方法列表
1.1142.2.1. onProcessArguments(Bundle arguments)
protected void onProcessArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProcessArguments", "Bundle arguments"));
1.1142.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1142.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1143. ToggleSelectToSpeakPreferenceFragmentForSetupWizard.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/ToggleSelectToSpeakPreferenceFragmentForSetupWizard.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1143.1. ToggleSelectToSpeakPreferenceFragmentForSetupWizard Field属性列表
1.1143.1.1. boolean mToggleSwitchWasInitiallyChecked;
private boolean mToggleSwitchWasInitiallyChecked;
1.1143.2. ToggleSelectToSpeakPreferenceFragmentForSetupWizardMethod方法列表
1.1143.2.1. onProcessArguments(Bundle arguments)
protected void onProcessArguments(Bundle arguments)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onProcessArguments", "Bundle arguments"));
1.1143.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1143.2.3. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1144. ToggleSwitch.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ToggleSwitch.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1144.1. ToggleSwitch Field属性列表
1.1144.1.1. ToggleSwitch.OnBeforeCheckedChangeListener mOnBeforeListener;
private ToggleSwitch.OnBeforeCheckedChangeListener mOnBeforeListener;
1.1144.2. ToggleSwitchMethod方法列表
1.1144.2.1. setOnBeforeCheckedChangeListener(OnBeforeCheckedChangeListener listener)
public void setOnBeforeCheckedChangeListener(OnBeforeCheckedChangeListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnBeforeCheckedChangeListener", "OnBeforeCheckedChangeListener listener"));
1.1144.2.2. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1144.2.3. setCheckedInternal(boolean checked)
public void setCheckedInternal(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCheckedInternal", "boolean checked"));
1.1145. TouchBlockingFrameLayout.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TouchBlockingFrameLayout.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1145.1. TouchBlockingFrameLayout Field属性列表
1.1145.2. TouchBlockingFrameLayoutMethod方法列表
1.1145.2.1. dispatchTouchEvent(MotionEvent ev)
public boolean dispatchTouchEvent(MotionEvent ev)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"dispatchTouchEvent", "MotionEvent ev"));
1.1146. TouchSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/TouchSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1146.1. TouchSoundPreferenceController Field属性列表
1.1146.1.1. static final String KEY_TOUCH_SOUNDS
private static final String KEY_TOUCH_SOUNDS = "touch_sounds";
1.1146.2. TouchSoundPreferenceControllerMethod方法列表
1.1146.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1147. TouchVibrationPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/TouchVibrationPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1147.1. TouchVibrationPreferenceFragment Field属性列表
1.1147.2. TouchVibrationPreferenceFragmentMethod方法列表
1.1147.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1147.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1147.2.3. getVibrationIntensitySetting()
protected String getVibrationIntensitySetting()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVibrationIntensitySetting", ""));
1.1147.2.4. getDefaultVibrationIntensity()
protected int getDefaultVibrationIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultVibrationIntensity", ""));
1.1147.2.5. getPreviewVibrationAudioAttributesUsage()
protected int getPreviewVibrationAudioAttributesUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreviewVibrationAudioAttributesUsage", ""));
1.1147.2.6. onVibrationIntensitySelected(int intensity)
public void onVibrationIntensitySelected(int intensity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onVibrationIntensitySelected", "int intensity"));
1.1148. TransitionAnimationScalePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/TransitionAnimationScalePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1148.1. TransitionAnimationScalePreferenceController Field属性列表
1.1148.1.1. final IWindowManager mWindowManager;
private final IWindowManager mWindowManager;
1.1148.1.2. final String[] mListValues;
private final String[] mListValues;
1.1148.1.3. final String[] mListSummaries;
private final String[] mListSummaries;
1.1148.1.4. static final String TRANSITION_ANIMATION_SCALE_KEY
private static final String TRANSITION_ANIMATION_SCALE_KEY = "transition_animation_scale";
1.1148.1.5. static final int TRANSITION_ANIMATION_SCALE_SELECTOR
@VisibleForTesting
static final int TRANSITION_ANIMATION_SCALE_SELECTOR = 1;
1.1148.1.6. static final float DEFAULT_VALUE
@VisibleForTesting
static final float DEFAULT_VALUE = 1;
1.1148.2. TransitionAnimationScalePreferenceControllerMethod方法列表
1.1148.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1148.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1148.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1148.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1148.2.5. writeAnimationScaleOption(Object newValue)
private void writeAnimationScaleOption(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeAnimationScaleOption", "Object newValue"));
1.1148.2.6. updateAnimationScaleValue()
private void updateAnimationScaleValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnimationScaleValue", ""));
1.1149. TrustAgentListPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/trustagent/TrustAgentListPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1149.1. TrustAgentListPreferenceController Field属性列表
1.1149.1.1. Intent mTrustAgentClickIntent;
private Intent mTrustAgentClickIntent;
1.1149.1.2. PreferenceCategory mSecurityCategory;
private PreferenceCategory mSecurityCategory;
1.1149.1.3. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.1149.1.4. final TrustAgentManager mTrustAgentManager;
private final TrustAgentManager mTrustAgentManager;
1.1149.1.5. final SecuritySettings mHost;
private final SecuritySettings mHost;
1.1149.1.6. static final String TRUST_AGENT_CLICK_INTENT
private static final String TRUST_AGENT_CLICK_INTENT = "trust_agent_click_intent";
1.1149.1.7. static final String PREF_KEY_TRUST_AGENT
@VisibleForTesting
static final String PREF_KEY_TRUST_AGENT = "trust_agent";
1.1149.1.8. static final String PREF_KEY_SECURITY_CATEGORY
@VisibleForTesting
static final String PREF_KEY_SECURITY_CATEGORY = "security_category";
1.1149.1.9. static final int MY_USER_ID
private static final int MY_USER_ID = UserHandle.myUserId();
1.1149.2. TrustAgentListPreferenceControllerMethod方法列表
1.1149.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1149.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1149.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1149.2.4. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1149.2.5. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1149.2.6. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1149.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1149.2.8. updateTrustAgents()
private void updateTrustAgents()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateTrustAgents", ""));
1.1149.2.9. handleActivityResult(int requestCode,int resultCode)
public boolean handleActivityResult(int requestCode, int resultCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handleActivityResult", "int requestCode,int resultCode"));
1.1150. TrustAgentManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/trustagent/TrustAgentManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1150.1. TrustAgentManager Field属性列表
1.1150.1.1. static final boolean ONLY_ONE_TRUST_AGENT
// Only allow one trust agent on the platform.
private static final boolean ONLY_ONE_TRUST_AGENT = true;
1.1150.1.2. static final String TAG
private static final String TAG = "TrustAgentManager";
1.1150.1.3. static final Intent TRUST_AGENT_INTENT
private static final Intent TRUST_AGENT_INTENT = new Intent(TrustAgentService.SERVICE_INTERFACE);
1.1150.1.4. static final String PERMISSION_PROVIDE_AGENT
@VisibleForTesting
static final String PERMISSION_PROVIDE_AGENT = android.Manifest.permission.PROVIDE_TRUST_AGENT;
1.1150.2. TrustAgentManagerMethod方法列表
1.1150.2.1. shouldProvideTrust(ResolveInfo resolveInfo,PackageManager pm)
public boolean shouldProvideTrust(ResolveInfo resolveInfo, PackageManager pm)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldProvideTrust", "ResolveInfo resolveInfo,PackageManager pm"));
1.1150.2.2. getActiveTrustAgentLabel(Context context,LockPatternUtils utils)
public CharSequence getActiveTrustAgentLabel(Context context, LockPatternUtils utils)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getActiveTrustAgentLabel", "Context context,LockPatternUtils utils"));
1.1150.2.3. getActiveTrustAgents(Context context,LockPatternUtils utils)
public List getActiveTrustAgents(Context context, LockPatternUtils utils)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getActiveTrustAgents", "Context context,LockPatternUtils utils"));
1.1150.2.4. getComponentName(ResolveInfo resolveInfo)
public ComponentName getComponentName(ResolveInfo resolveInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getComponentName", "ResolveInfo resolveInfo"));
1.1150.2.5. getSettingsComponent(PackageManager pm,ResolveInfo resolveInfo)
private TrustAgentComponentInfo getSettingsComponent(PackageManager pm, ResolveInfo resolveInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"TrustAgentComponentInfo" ,"getSettingsComponent", "PackageManager pm,ResolveInfo resolveInfo"));
1.1151. TrustAgentSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/trustagent/TrustAgentSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1151.1. TrustAgentSettings Field属性列表
1.1151.1.1. ArrayMap mAvailableAgents;
private ArrayMap mAvailableAgents;
1.1151.1.2. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.1151.1.3. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.1151.1.4. TrustAgentManager mTrustAgentManager;
private TrustAgentManager mTrustAgentManager;
1.1151.1.5. final ArraySet mActiveAgents
private final ArraySet mActiveAgents = new ArraySet();
1.1151.1.6. static final String SERVICE_INTERFACE
private static final String SERVICE_INTERFACE = TrustAgentService.SERVICE_INTERFACE;
1.1151.2. TrustAgentSettingsMethod方法列表
1.1151.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1151.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1151.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1151.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1151.2.5. updateAgents()
private void updateAgents()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAgents", ""));
1.1151.2.6. loadActiveAgents()
private void loadActiveAgents()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadActiveAgents", ""));
1.1151.2.7. saveActiveAgents()
private void saveActiveAgents()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveActiveAgents", ""));
1.1151.2.8. findAvailableTrustAgents()
private ArrayMap findAvailableTrustAgents()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayMap" ,"findAvailableTrustAgents", ""));
1.1151.2.9. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1152. TrustedCredentialsDialogBuilder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TrustedCredentialsDialogBuilder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1152.1. TrustedCredentialsDialogBuilder Field属性列表
1.1152.1.1. final DialogEventHandler mDialogEventHandler;
private final DialogEventHandler mDialogEventHandler;
1.1152.2. TrustedCredentialsDialogBuilderMethod方法列表
1.1152.2.1. setCertHolder(CertHolder certHolder)
public TrustedCredentialsDialogBuilder setCertHolder(CertHolder certHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"TrustedCredentialsDialogBuilder" ,"setCertHolder", "CertHolder certHolder"));
1.1152.2.2. setCertHolders(@NonNull CertHolder[] certHolders)
public TrustedCredentialsDialogBuilder setCertHolders(@NonNull CertHolder[] certHolders)
methodList.add(new ZMethod(mZAndroidAPPClass,"TrustedCredentialsDialogBuilder" ,"setCertHolders", "@NonNull CertHolder[] certHolders"));
1.1152.2.3. create()
public AlertDialog create()
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"create", ""));
1.1152.2.4. initDefaultBuilderParams()
private void initDefaultBuilderParams()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initDefaultBuilderParams", ""));
1.1153. TrustedCredentialsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/TrustedCredentialsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1153.1. TrustedCredentialsSettings Field属性列表
1.1153.1.1. UserManager mUserManager;
private UserManager mUserManager;
1.1153.1.2. KeyguardManager mKeyguardManager;
private KeyguardManager mKeyguardManager;
1.1153.1.3. int mTrustAllCaUserId;
private int mTrustAllCaUserId;
1.1153.1.4. TabHost mTabHost;
private TabHost mTabHost;
1.1153.1.5. ArrayList mGroupAdapters
private ArrayList mGroupAdapters = new ArrayList<>(2);
1.1153.1.6. AliasOperation mAliasOperation;
private AliasOperation mAliasOperation;
1.1153.1.7. ArraySet mConfirmedCredentialUsers;
private ArraySet mConfirmedCredentialUsers;
1.1153.1.8. int mConfirmingCredentialUser;
private int mConfirmingCredentialUser;
1.1153.1.9. IntConsumer mConfirmingCredentialListener;
private IntConsumer mConfirmingCredentialListener;
1.1153.1.10. Set mAliasLoaders
private Set mAliasLoaders = new ArraySet(2);
1.1153.1.11. BroadcastReceiver mWorkProfileChangedReceiver
private BroadcastReceiver mWorkProfileChangedReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final String action = intent.getAction();
if (Intent.ACTION_MANAGED_PROFILE_AVAILABLE.equals(action) || Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE.equals(action) || Intent.ACTION_MANAGED_PROFILE_UNLOCKED.equals(action)) {
for (GroupAdapter adapter : mGroupAdapters) {
adapter.load();
}
}
}
};
1.1153.1.12. final SparseArray mKeyChainConnectionByProfileId
@GuardedBy("mKeyChainConnectionByProfileId")
private final SparseArray mKeyChainConnectionByProfileId = new SparseArray();
1.1153.1.13. static final String ARG_SHOW_NEW_FOR_USER
public static final String ARG_SHOW_NEW_FOR_USER = "ARG_SHOW_NEW_FOR_USER";
1.1153.1.14. static final String TAG
private static final String TAG = "TrustedCredentialsSettings";
1.1153.1.15. static final String SAVED_CONFIRMED_CREDENTIAL_USERS
private static final String SAVED_CONFIRMED_CREDENTIAL_USERS = "ConfirmedCredentialUsers";
1.1153.1.16. static final String SAVED_CONFIRMING_CREDENTIAL_USER
private static final String SAVED_CONFIRMING_CREDENTIAL_USER = "ConfirmingCredentialUser";
1.1153.1.17. static final String USER_ACTION
private static final String USER_ACTION = "com.android.settings.TRUSTED_CREDENTIALS_USER";
1.1153.1.18. static final int REQUEST_CONFIRM_CREDENTIALS
private static final int REQUEST_CONFIRM_CREDENTIALS = 1;
1.1153.2. TrustedCredentialsSettingsMethod方法列表
1.1153.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1153.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1153.2.3. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1153.2.4. onCreateView(LayoutInflater inflater,ViewGroup parent,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup parent,Bundle savedInstanceState"));
1.1153.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1153.2.6. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1153.2.7. closeKeyChainConnections()
private void closeKeyChainConnections()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"closeKeyChainConnections", ""));
1.1153.2.8. addTab(Tab tab)
private void addTab(Tab tab)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addTab", "Tab tab"));
1.1153.2.9. startConfirmCredential(int userId)
private boolean startConfirmCredential(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"startConfirmCredential", "int userId"));
1.1153.2.10. isTrustAllCaCertModeInProgress()
private boolean isTrustAllCaCertModeInProgress()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTrustAllCaCertModeInProgress", ""));
1.1153.2.11. showTrustAllCaDialog(List unapprovedCertHolders)
private void showTrustAllCaDialog(List unapprovedCertHolders)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showTrustAllCaDialog", "List unapprovedCertHolders"));
1.1153.2.12. showCertDialog(final CertHolder certHolder)
private void showCertDialog(final CertHolder certHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showCertDialog", "final CertHolder certHolder"));
1.1153.2.13. getX509CertsFromCertHolder(CertHolder certHolder)
public List getX509CertsFromCertHolder(CertHolder certHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getX509CertsFromCertHolder", "CertHolder certHolder"));
1.1153.2.14. removeOrInstallCert(CertHolder certHolder)
public void removeOrInstallCert(CertHolder certHolder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeOrInstallCert", "CertHolder certHolder"));
1.1153.2.15. startConfirmCredentialIfNotConfirmed(int userId,IntConsumer onCredentialConfirmedListener)
public boolean startConfirmCredentialIfNotConfirmed(int userId, IntConsumer onCredentialConfirmedListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"startConfirmCredentialIfNotConfirmed", "int userId,IntConsumer onCredentialConfirmedListener"));
1.1154. TtsEnginePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/tts/TtsEnginePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1154.1. TtsEnginePreference Field属性列表
1.1154.1.1. RadioButton mRadioButton;
private RadioButton mRadioButton;
1.1154.1.2. Intent mVoiceCheckData;
private Intent mVoiceCheckData;
1.1154.1.3. volatile boolean mPreventRadioButtonCallbacks;
/**
* When true, the change callbacks on the radio button will not
* fire.
*/
private volatile boolean mPreventRadioButtonCallbacks;
1.1154.1.4. final EngineInfo mEngineInfo;
/**
* The engine information for the engine this preference represents.
* Contains it's name, label etc. which are used for display.
*/
private final EngineInfo mEngineInfo;
1.1154.1.5. final RadioButtonGroupState mSharedState;
/**
* The shared radio button state, which button is checked etc.
*/
private final RadioButtonGroupState mSharedState;
1.1154.1.6. final CompoundButton.OnCheckedChangeListener mRadioChangeListener
private final CompoundButton.OnCheckedChangeListener mRadioChangeListener = new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
onRadioButtonClicked(buttonView, isChecked);
}
};
1.1154.1.7. static final String TAG
private static final String TAG = "TtsEnginePreference";
1.1154.2. TtsEnginePreferenceMethod方法列表
1.1154.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1154.2.2. setVoiceDataDetails(Intent data)
public void setVoiceDataDetails(Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVoiceDataDetails", "Intent data"));
1.1154.2.3. shouldDisplayDataAlert()
private boolean shouldDisplayDataAlert()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldDisplayDataAlert", ""));
1.1154.2.4. displayDataAlert(DialogInterface.OnClickListener positiveOnClickListener,DialogInterface.OnClickListener negativeOnClickListener)
private void displayDataAlert(DialogInterface.OnClickListener positiveOnClickListener, DialogInterface.OnClickListener negativeOnClickListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayDataAlert", "DialogInterface.OnClickListener positiveOnClickListener,DialogInterface.OnClickListener negativeOnClickListener"));
1.1154.2.5. onRadioButtonClicked(final CompoundButton buttonView,boolean isChecked)
private void onRadioButtonClicked(final CompoundButton buttonView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "final CompoundButton buttonView,boolean isChecked"));
1.1154.2.6. makeCurrentEngine(Checkable current)
private void makeCurrentEngine(Checkable current)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"makeCurrentEngine", "Checkable current"));
1.1155. TtsEnginePreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/tts/TtsEnginePreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1155.1. TtsEnginePreferenceFragment Field属性列表
1.1155.1.1. String mCurrentEngine;
/** The currently selected engine. */
private String mCurrentEngine;
1.1155.1.2. Checkable mCurrentChecked;
/**
* The engine checkbox that is currently checked. Saves us a bit of effort in deducing the right
* one from the currently selected engine.
*/
private Checkable mCurrentChecked;
1.1155.1.3. String mPreviousEngine;
/**
* The previously selected TTS engine. Useful for rollbacks if the users choice is not loaded or
* fails a voice integrity check.
*/
private String mPreviousEngine;
1.1155.1.4. PreferenceCategory mEnginePreferenceCategory;
private PreferenceCategory mEnginePreferenceCategory;
1.1155.1.5. TextToSpeech mTts
private TextToSpeech mTts = null;
1.1155.1.6. TtsEngines mEnginesHelper
private TtsEngines mEnginesHelper = null;
1.1155.1.7. final TextToSpeech.OnInitListener mUpdateListener
/**
* The initialization listener used when the user changes his choice of engine (as opposed to
* when then screen is being initialized for the first time).
*/
private final TextToSpeech.OnInitListener mUpdateListener = new TextToSpeech.OnInitListener() {
@Override
public void onInit(int status) {
onUpdateEngine(status);
}
};
1.1155.1.8. static final String TAG
private static final String TAG = "TtsEnginePrefFragment";
1.1155.1.9. static final int VOICE_DATA_INTEGRITY_CHECK
private static final int VOICE_DATA_INTEGRITY_CHECK = 1977;
1.1155.1.10. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.tts_engine_picker;
return Arrays.asList(sir);
}
};
1.1155.2. TtsEnginePreferenceFragmentMethod方法列表
1.1155.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1155.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1155.2.3. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1155.2.4. initSettings()
private void initSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initSettings", ""));
1.1155.2.5. getCurrentChecked()
public Checkable getCurrentChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"Checkable" ,"getCurrentChecked", ""));
1.1155.2.6. getCurrentKey()
public String getCurrentKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCurrentKey", ""));
1.1155.2.7. setCurrentChecked(Checkable current)
public void setCurrentChecked(Checkable current)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentChecked", "Checkable current"));
1.1155.2.8. updateDefaultEngine(String engine)
private void updateDefaultEngine(String engine)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDefaultEngine", "String engine"));
1.1155.2.9. onUpdateEngine(int status)
public void onUpdateEngine(int status)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUpdateEngine", "int status"));
1.1155.2.10. setCurrentKey(String key)
public void setCurrentKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentKey", "String key"));
1.1156. TtsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/language/TtsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1156.1. TtsPreferenceController Field属性列表
1.1156.1.1. final TtsEngines mTtsEngines;
private final TtsEngines mTtsEngines;
1.1156.1.2. static final String KEY_VOICE_CATEGORY
private static final String KEY_VOICE_CATEGORY = "voice_category";
1.1156.1.3. static final String KEY_TTS_SETTINGS
private static final String KEY_TTS_SETTINGS = "tts_settings_summary";
1.1156.2. TtsPreferenceControllerMethod方法列表
1.1156.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1156.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1157. TwoStateButtonPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/TwoStateButtonPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1157.1. TwoStateButtonPreference Field属性列表
1.1157.1.1. boolean mIsChecked;
private boolean mIsChecked;
1.1157.1.2. final Button mButtonOn;
private final Button mButtonOn;
1.1157.1.3. final Button mButtonOff;
private final Button mButtonOff;
1.1157.2. TwoStateButtonPreferenceMethod方法列表
1.1157.2.1. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1157.2.2. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1157.2.3. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1157.2.4. setButtonEnabled(boolean enabled)
public void setButtonEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setButtonEnabled", "boolean enabled"));
1.1157.2.5. getStateOnButton()
public Button getStateOnButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getStateOnButton", ""));
1.1157.2.6. getStateOffButton()
public Button getStateOffButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getStateOffButton", ""));
1.1158. UnificationConfirmationDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/UnificationConfirmationDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1158.1. UnificationConfirmationDialog Field属性列表
1.1158.1.1. static final String TAG_UNIFICATION_DIALOG
static final String TAG_UNIFICATION_DIALOG = "unification_dialog";
1.1158.1.2. static final String EXTRA_COMPLIANT
private static final String EXTRA_COMPLIANT = "compliant";
1.1158.2. UnificationConfirmationDialogMethod方法列表
1.1158.2.1. show(SecuritySettings host)
public void show(SecuritySettings host)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "SecuritySettings host"));
1.1158.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1158.2.3. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.1158.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1158.2.5. static newInstance(boolean compliant)
public static UnificationConfirmationDialog newInstance(boolean compliant)
methodList.add(new ZMethod(mZAndroidAPPClass,"UnificationConfirmationDialog" ,"newInstance", "boolean compliant"));
1.1159. UnrestrictAppAction.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/actions/UnrestrictAppAction.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1159.1. UnrestrictAppAction Field属性列表
1.1159.1.1. UnrestrictAppTip mUnRestrictAppTip;
private UnrestrictAppTip mUnRestrictAppTip;
1.1159.1.2. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.1159.2. UnrestrictAppActionMethod方法列表
1.1159.2.1. handlePositiveAction(int metricsKey)
public void handlePositiveAction(int metricsKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePositiveAction", "int metricsKey"));
1.1160. UnrestrictAppTip.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/UnrestrictAppTip.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1160.1. UnrestrictAppTip Field属性列表
1.1160.1.1. AppInfo mAppInfo;
private AppInfo mAppInfo;
1.1160.1.2. static final Creator CREATOR
public static final Creator CREATOR = new Creator() {
public BatteryTip createFromParcel(Parcel in) {
return new UnrestrictAppTip(in);
}
public BatteryTip[] newArray(int size) {
return new UnrestrictAppTip[size];
}
};
1.1160.2. UnrestrictAppTipMethod方法列表
1.1160.2.1. getTitle(Context context)
public CharSequence getTitle(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", "Context context"));
1.1160.2.2. getSummary(Context context)
public CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.1160.2.3. getIconId()
public int getIconId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIconId", ""));
1.1160.2.4. getPackageName()
public String getPackageName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPackageName", ""));
1.1160.2.5. updateState(BatteryTip tip)
public void updateState(BatteryTip tip)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "BatteryTip tip"));
1.1160.2.6. log(Context context,MetricsFeatureProvider metricsFeatureProvider)
public void log(Context context, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"log", "Context context,MetricsFeatureProvider metricsFeatureProvider"));
1.1160.2.7. getUnrestrictAppInfo()
public AppInfo getUnrestrictAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"AppInfo" ,"getUnrestrictAppInfo", ""));
1.1160.2.8. writeToParcel(Parcel dest,int flags)
public void writeToParcel(Parcel dest, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeToParcel", "Parcel dest,int flags"));
1.1161. UnrestrictedDataAccess.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datausage/UnrestrictedDataAccess.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1161.1. UnrestrictedDataAccess Field属性列表
1.1161.1.1. ApplicationsState mApplicationsState;
private ApplicationsState mApplicationsState;
1.1161.1.2. AppStateDataUsageBridge mDataUsageBridge;
private AppStateDataUsageBridge mDataUsageBridge;
1.1161.1.3. ApplicationsState.Session mSession;
private ApplicationsState.Session mSession;
1.1161.1.4. DataSaverBackend mDataSaverBackend;
private DataSaverBackend mDataSaverBackend;
1.1161.1.5. boolean mShowSystem;
private boolean mShowSystem;
1.1161.1.6. boolean mExtraLoaded;
private boolean mExtraLoaded;
1.1161.1.7. AppFilter mFilter;
private AppFilter mFilter;
1.1161.1.8. static final int MENU_SHOW_SYSTEM
private static final int MENU_SHOW_SYSTEM = Menu.FIRST + 42;
1.1161.1.9. static final String EXTRA_SHOW_SYSTEM
private static final String EXTRA_SHOW_SYSTEM = "show_system";
1.1161.2. UnrestrictedDataAccessMethod方法列表
1.1161.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1161.2.2. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1161.2.3. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1161.2.4. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1161.2.5. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.1161.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1161.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1161.2.8. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1161.2.9. onExtraInfoUpdated()
public void onExtraInfoUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onExtraInfoUpdated", ""));
1.1161.2.10. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1161.2.11. rebuild()
private void rebuild()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"rebuild", ""));
1.1161.2.12. onRunningStateChanged(boolean running)
public void onRunningStateChanged(boolean running)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRunningStateChanged", "boolean running"));
1.1161.2.13. onPackageListChanged()
public void onPackageListChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageListChanged", ""));
1.1161.2.14. onRebuildComplete(ArrayList apps)
public void onRebuildComplete(ArrayList apps)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRebuildComplete", "ArrayList apps"));
1.1161.2.15. onPackageIconChanged()
public void onPackageIconChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageIconChanged", ""));
1.1161.2.16. onPackageSizeChanged(String packageName)
public void onPackageSizeChanged(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPackageSizeChanged", "String packageName"));
1.1161.2.17. onAllSizesComputed()
public void onAllSizesComputed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAllSizesComputed", ""));
1.1161.2.18. onLauncherInfoChanged()
public void onLauncherInfoChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLauncherInfoChanged", ""));
1.1161.2.19. onLoadEntriesCompleted()
public void onLoadEntriesCompleted()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadEntriesCompleted", ""));
1.1161.2.20. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1161.2.21. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1161.2.22. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1161.2.23. logSpecialPermissionChange(boolean whitelisted,String packageName)
void logSpecialPermissionChange(boolean whitelisted, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean whitelisted,String packageName"));
1.1161.2.24. shouldAddPreference(AppEntry app)
boolean shouldAddPreference(AppEntry app)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldAddPreference", "AppEntry app"));
1.1162. UpdatableListPreferenceDialogFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/UpdatableListPreferenceDialogFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1162.1. UpdatableListPreferenceDialogFragment Field属性列表
1.1162.1.1. ArrayAdapter mAdapter;
private ArrayAdapter mAdapter;
1.1162.1.2. int mClickedDialogEntryIndex;
private int mClickedDialogEntryIndex;
1.1162.1.3. ArrayList mEntries;
private ArrayList mEntries;
1.1162.1.4. CharSequence[] mEntryValues;
private CharSequence[] mEntryValues;
1.1162.1.5. int mMetricsCategory
private int mMetricsCategory = Instrumentable.METRICS_CATEGORY_UNKNOWN;
1.1162.1.6. static final String SAVE_STATE_INDEX
private static final String SAVE_STATE_INDEX = "UpdatableListPreferenceDialogFragment.index";
1.1162.1.7. static final String SAVE_STATE_ENTRIES
private static final String SAVE_STATE_ENTRIES = "UpdatableListPreferenceDialogFragment.entries";
1.1162.1.8. static final String SAVE_STATE_ENTRY_VALUES
private static final String SAVE_STATE_ENTRY_VALUES = "UpdatableListPreferenceDialogFragment.entryValues";
1.1162.1.9. static final String METRICS_CATEGORY_KEY
private static final String METRICS_CATEGORY_KEY = "metrics_category_key";
1.1162.2. UpdatableListPreferenceDialogFragmentMethod方法列表
1.1162.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1162.2.2. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1162.2.3. onDialogClosed(boolean positiveResult)
public void onDialogClosed(boolean positiveResult)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogClosed", "boolean positiveResult"));
1.1162.2.4. setAdapter(ArrayAdapter adapter)
void setAdapter(ArrayAdapter adapter)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAdapter", "ArrayAdapter adapter"));
1.1162.2.5. setEntries(ArrayList entries)
void setEntries(ArrayList entries)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEntries", "ArrayList entries"));
1.1162.2.6. getAdapter()
ArrayAdapter getAdapter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayAdapter" ,"getAdapter", ""));
1.1162.2.7. setMetricsCategory(Bundle bundle)
void setMetricsCategory(Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMetricsCategory", "Bundle bundle"));
1.1162.2.8. onPrepareDialogBuilder(AlertDialog.Builder builder)
protected void onPrepareDialogBuilder(AlertDialog.Builder builder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareDialogBuilder", "AlertDialog.Builder builder"));
1.1162.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1162.2.10. getListPreference()
private ListPreference getListPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"ListPreference" ,"getListPreference", ""));
1.1162.2.11. setPreferenceData(ListPreference preference)
private void setPreferenceData(ListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPreferenceData", "ListPreference preference"));
1.1162.2.12. onListPreferenceUpdated(ListPreference preference)
public void onListPreferenceUpdated(ListPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListPreferenceUpdated", "ListPreference preference"));
1.1162.2.13. static newInstance(String key,int metricsCategory)
public static UpdatableListPreferenceDialogFragment newInstance(String key, int metricsCategory)
methodList.add(new ZMethod(mZAndroidAPPClass,"UpdatableListPreferenceDialogFragment" ,"newInstance", "String key,int metricsCategory"));
1.1163. UpdateTimeAndDateCallback.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/UpdateTimeAndDateCallback.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1164. UsageAccessDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/UsageAccessDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1164.1. UsageAccessDetails Field属性列表
1.1164.1.1. // TODO: Break out this functionality into its own class. private AppStateUsageBridge mUsageBridge;
// Use a bridge to get the usage stats but don't initialize it to connect with all state.
// TODO: Break out this functionality into its own class.
private AppStateUsageBridge mUsageBridge;
1.1164.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.1164.1.3. SwitchPreference mSwitchPref;
private SwitchPreference mSwitchPref;
1.1164.1.4. Preference mUsageDesc;
private Preference mUsageDesc;
1.1164.1.5. Intent mSettingsIntent;
private Intent mSettingsIntent;
1.1164.1.6. UsageState mUsageState;
private UsageState mUsageState;
1.1164.1.7. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.1164.1.8. static final String KEY_APP_OPS_PREFERENCE_SCREEN
private static final String KEY_APP_OPS_PREFERENCE_SCREEN = "app_ops_preference_screen";
1.1164.1.9. static final String KEY_APP_OPS_SETTINGS_SWITCH
private static final String KEY_APP_OPS_SETTINGS_SWITCH = "app_ops_settings_switch";
1.1164.1.10. static final String KEY_APP_OPS_SETTINGS_DESC
private static final String KEY_APP_OPS_SETTINGS_DESC = "app_ops_settings_description";
1.1164.2. UsageAccessDetailsMethod方法列表
1.1164.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1164.2.2. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1164.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1164.2.4. setHasAccess(boolean newState)
private void setHasAccess(boolean newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setHasAccess", "boolean newState"));
1.1164.2.5. logSpecialPermissionChange(boolean newState,String packageName)
void logSpecialPermissionChange(boolean newState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean newState,String packageName"));
1.1164.2.6. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.1164.2.7. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.1164.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1165. UsageGraph.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/graph/UsageGraph.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1165.1. UsageGraph Field属性列表
1.1165.1.1. int mAccentColor;
private int mAccentColor;
1.1165.1.2. float mMaxX
private float mMaxX = 100;
1.1165.1.3. float mMaxY
private float mMaxY = 100;
1.1165.1.4. float mMiddleDividerLoc
private float mMiddleDividerLoc = .5f;
1.1165.1.5. int mMiddleDividerTint
private int mMiddleDividerTint = -1;
1.1165.1.6. int mTopDividerTint
private int mTopDividerTint = -1;
1.1165.1.7. final Paint mLinePaint;
private final Paint mLinePaint;
1.1165.1.8. final Paint mFillPaint;
private final Paint mFillPaint;
1.1165.1.9. final Paint mDottedPaint;
private final Paint mDottedPaint;
1.1165.1.10. final Drawable mDivider;
private final Drawable mDivider;
1.1165.1.11. final Drawable mTintedDivider;
private final Drawable mTintedDivider;
1.1165.1.12. final int mDividerSize;
private final int mDividerSize;
1.1165.1.13. final Path mPath
private final Path mPath = new Path();
1.1165.1.14. final SparseIntArray mPaths
// Paths in coordinates they are passed in.
private final SparseIntArray mPaths = new SparseIntArray();
1.1165.1.15. final SparseIntArray mLocalPaths
// Paths in local coordinates for drawing.
private final SparseIntArray mLocalPaths = new SparseIntArray();
1.1165.1.16. final SparseIntArray mProjectedPaths
// Paths for projection in coordinates they are passed in.
private final SparseIntArray mProjectedPaths = new SparseIntArray();
1.1165.1.17. final SparseIntArray mLocalProjectedPaths
// Paths for projection in local coordinates for drawing.
private final SparseIntArray mLocalProjectedPaths = new SparseIntArray();
1.1165.1.18. final int mCornerRadius;
private final int mCornerRadius;
1.1165.1.19. static final int PATH_DELIM
private static final int PATH_DELIM = -1;
1.1165.1.20. static final String LOG_TAG
public static final String LOG_TAG = "UsageGraph";
1.1165.2. UsageGraphMethod方法列表
1.1165.2.1. clearPaths()
void clearPaths()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearPaths", ""));
1.1165.2.2. setMax(int maxX,int maxY)
void setMax(int maxX, int maxY)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMax", "int maxX,int maxY"));
1.1165.2.3. setDividerLoc(int height)
void setDividerLoc(int height)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerLoc", "int height"));
1.1165.2.4. setDividerColors(int middleColor,int topColor)
void setDividerColors(int middleColor, int topColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerColors", "int middleColor,int topColor"));
1.1165.2.5. addPath(SparseIntArray points)
public void addPath(SparseIntArray points)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPath", "SparseIntArray points"));
1.1165.2.6. addProjectedPath(SparseIntArray points)
public void addProjectedPath(SparseIntArray points)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addProjectedPath", "SparseIntArray points"));
1.1165.2.7. addPathAndUpdate(SparseIntArray points,SparseIntArray paths,SparseIntArray localPaths)
private void addPathAndUpdate(SparseIntArray points, SparseIntArray paths, SparseIntArray localPaths)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPathAndUpdate", "SparseIntArray points,SparseIntArray paths,SparseIntArray localPaths"));
1.1165.2.8. setAccentColor(int color)
void setAccentColor(int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccentColor", "int color"));
1.1165.2.9. onSizeChanged(int w,int h,int oldw,int oldh)
protected void onSizeChanged(int w, int h, int oldw, int oldh)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSizeChanged", "int w,int h,int oldw,int oldh"));
1.1165.2.10. calculateLocalPaths()
private void calculateLocalPaths()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateLocalPaths", ""));
1.1165.2.11. calculateLocalPaths(SparseIntArray paths,SparseIntArray localPaths)
void calculateLocalPaths(SparseIntArray paths, SparseIntArray localPaths)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"calculateLocalPaths", "SparseIntArray paths,SparseIntArray localPaths"));
1.1165.2.12. hasDiff(int x1,int x2)
private boolean hasDiff(int x1, int x2)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasDiff", "int x1,int x2"));
1.1165.2.13. getX(float x)
private int getX(float x)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getX", "float x"));
1.1165.2.14. getY(float y)
private int getY(float y)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getY", "float y"));
1.1165.2.15. updateGradient()
private void updateGradient()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateGradient", ""));
1.1165.2.16. getColor(int color,float alphaScale)
private int getColor(int color, float alphaScale)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getColor", "int color,float alphaScale"));
1.1165.2.17. onDraw(Canvas canvas)
protected void onDraw(Canvas canvas)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDraw", "Canvas canvas"));
1.1165.2.18. drawLinePath(Canvas canvas,SparseIntArray localPaths,Paint paint)
private void drawLinePath(Canvas canvas, SparseIntArray localPaths, Paint paint)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawLinePath", "Canvas canvas,SparseIntArray localPaths,Paint paint"));
1.1165.2.19. drawFilledPath(Canvas canvas,SparseIntArray localPaths,Paint paint)
private void drawFilledPath(Canvas canvas, SparseIntArray localPaths, Paint paint)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawFilledPath", "Canvas canvas,SparseIntArray localPaths,Paint paint"));
1.1165.2.20. drawDivider(int y,Canvas canvas,int tintColor)
private void drawDivider(int y, Canvas canvas, int tintColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"drawDivider", "int y,Canvas canvas,int tintColor"));
1.1166. UsageStatsActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/UsageStatsActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1166.1. UsageStatsActivity Field属性列表
1.1166.1.1. UsageStatsManager mUsageStatsManager;
private UsageStatsManager mUsageStatsManager;
1.1166.1.2. LayoutInflater mInflater;
private LayoutInflater mInflater;
1.1166.1.3. UsageStatsAdapter mAdapter;
private UsageStatsAdapter mAdapter;
1.1166.1.4. PackageManager mPm;
private PackageManager mPm;
1.1166.1.5. static final String TAG
private static final String TAG = "UsageStatsActivity";
1.1166.1.6. static final boolean localLOGV
private static final boolean localLOGV = false;
1.1166.2. UsageStatsActivityMethod方法列表
1.1166.2.1. onCreate(Bundle icicle)
protected void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1166.2.2. onItemSelected(AdapterView parent,View view,int position,long id)
public void onItemSelected(AdapterView parent, View view, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemSelected", "AdapterView parent,View view,int position,long id"));
1.1166.2.3. onNothingSelected(AdapterView parent)
public void onNothingSelected(AdapterView parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNothingSelected", "AdapterView parent"));
1.1167. UsageView.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/graph/UsageView.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1167.1. UsageView Field属性列表
1.1167.1.1. final UsageGraph mUsageGraph;
private final UsageGraph mUsageGraph;
1.1167.1.2. final TextView[] mLabels;
private final TextView[] mLabels;
1.1167.1.3. final TextView[] mBottomLabels;
private final TextView[] mBottomLabels;
1.1167.2. UsageViewMethod方法列表
1.1167.2.1. clearPaths()
public void clearPaths()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearPaths", ""));
1.1167.2.2. addPath(SparseIntArray points)
public void addPath(SparseIntArray points)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPath", "SparseIntArray points"));
1.1167.2.3. addProjectedPath(SparseIntArray points)
public void addProjectedPath(SparseIntArray points)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addProjectedPath", "SparseIntArray points"));
1.1167.2.4. configureGraph(int maxX,int maxY)
public void configureGraph(int maxX, int maxY)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"configureGraph", "int maxX,int maxY"));
1.1167.2.5. setAccentColor(int color)
public void setAccentColor(int color)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccentColor", "int color"));
1.1167.2.6. setDividerLoc(int dividerLoc)
public void setDividerLoc(int dividerLoc)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerLoc", "int dividerLoc"));
1.1167.2.7. setDividerColors(int middleColor,int topColor)
public void setDividerColors(int middleColor, int topColor)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDividerColors", "int middleColor,int topColor"));
1.1167.2.8. setSideLabelWeights(float before,float after)
public void setSideLabelWeights(float before, float after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSideLabelWeights", "float before,float after"));
1.1167.2.9. setWeight(int id,float weight)
private void setWeight(int id, float weight)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWeight", "int id,float weight"));
1.1167.2.10. setSideLabels(CharSequence[] labels)
public void setSideLabels(CharSequence[] labels)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSideLabels", "CharSequence[] labels"));
1.1167.2.11. setBottomLabels(CharSequence[] labels)
public void setBottomLabels(CharSequence[] labels)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setBottomLabels", "CharSequence[] labels"));
1.1168. UsbAudioRoutingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/UsbAudioRoutingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1168.1. UsbAudioRoutingPreferenceController Field属性列表
1.1168.1.1. static final String USB_AUDIO_KEY
private static final String USB_AUDIO_KEY = "usb_audio";
1.1168.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1168.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1168.2. UsbAudioRoutingPreferenceControllerMethod方法列表
1.1168.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1168.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1168.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1168.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1169. UsbBackend.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbBackend.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1169.1. UsbBackend Field属性列表
1.1169.1.1. UsbManager mUsbManager;
private UsbManager mUsbManager;
1.1169.1.2. UsbPort mPort;
@Nullable
private UsbPort mPort;
1.1169.1.3. UsbPortStatus mPortStatus;
@Nullable
private UsbPortStatus mPortStatus;
1.1169.1.4. final boolean mFileTransferRestricted;
private final boolean mFileTransferRestricted;
1.1169.1.5. final boolean mFileTransferRestrictedBySystem;
private final boolean mFileTransferRestrictedBySystem;
1.1169.1.6. final boolean mTetheringRestricted;
private final boolean mTetheringRestricted;
1.1169.1.7. final boolean mTetheringRestrictedBySystem;
private final boolean mTetheringRestrictedBySystem;
1.1169.1.8. final boolean mMidiSupported;
private final boolean mMidiSupported;
1.1169.1.9. final boolean mTetheringSupported;
private final boolean mTetheringSupported;
1.1169.1.10. static final int PD_ROLE_SWAP_TIMEOUT_MS
static final int PD_ROLE_SWAP_TIMEOUT_MS = 3000;
1.1169.1.11. static final int NONPD_ROLE_SWAP_TIMEOUT_MS
static final int NONPD_ROLE_SWAP_TIMEOUT_MS = 15000;
1.1169.2. UsbBackendMethod方法列表
1.1169.2.1. getCurrentFunctions()
public long getCurrentFunctions()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getCurrentFunctions", ""));
1.1169.2.2. setCurrentFunctions(long functions)
public void setCurrentFunctions(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCurrentFunctions", "long functions"));
1.1169.2.3. getDefaultUsbFunctions()
public long getDefaultUsbFunctions()
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getDefaultUsbFunctions", ""));
1.1169.2.4. setDefaultUsbFunctions(long functions)
public void setDefaultUsbFunctions(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDefaultUsbFunctions", "long functions"));
1.1169.2.5. areFunctionsSupported(long functions)
public boolean areFunctionsSupported(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areFunctionsSupported", "long functions"));
1.1169.2.6. getPowerRole()
public int getPowerRole()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPowerRole", ""));
1.1169.2.7. getDataRole()
public int getDataRole()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDataRole", ""));
1.1169.2.8. setPowerRole(int role)
public void setPowerRole(int role)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPowerRole", "int role"));
1.1169.2.9. setDataRole(int role)
public void setDataRole(int role)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDataRole", "int role"));
1.1169.2.10. areAllRolesSupported()
public boolean areAllRolesSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areAllRolesSupported", ""));
1.1169.2.11. areFunctionDisallowed(long functions)
private boolean areFunctionDisallowed(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areFunctionDisallowed", "long functions"));
1.1169.2.12. areFunctionsDisallowedBySystem(long functions)
private boolean areFunctionsDisallowedBySystem(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areFunctionsDisallowedBySystem", "long functions"));
1.1169.2.13. updatePorts()
private void updatePorts()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePorts", ""));
1.1169.2.14. static usbFunctionsToString(long functions)
public static String usbFunctionsToString(long functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"usbFunctionsToString", "long functions"));
1.1169.2.15. static usbFunctionsFromString(String functions)
public static long usbFunctionsFromString(String functions)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"usbFunctionsFromString", "String functions"));
1.1169.2.16. static dataRoleToString(int role)
public static String dataRoleToString(int role)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"dataRoleToString", "int role"));
1.1169.2.17. static dataRoleFromString(String role)
public static int dataRoleFromString(String role)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"dataRoleFromString", "String role"));
1.1169.2.18. static isUsbFileTransferRestricted(UserManager userManager)
private static boolean isUsbFileTransferRestricted(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUsbFileTransferRestricted", "UserManager userManager"));
1.1169.2.19. static isUsbTetheringRestricted(UserManager userManager)
private static boolean isUsbTetheringRestricted(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUsbTetheringRestricted", "UserManager userManager"));
1.1169.2.20. static isUsbFileTransferRestrictedBySystem(UserManager userManager)
private static boolean isUsbFileTransferRestrictedBySystem(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUsbFileTransferRestrictedBySystem", "UserManager userManager"));
1.1169.2.21. static isUsbTetheringRestrictedBySystem(UserManager userManager)
private static boolean isUsbTetheringRestrictedBySystem(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isUsbTetheringRestrictedBySystem", "UserManager userManager"));
1.1170. UsbConnectionBroadcastReceiver.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbConnectionBroadcastReceiver.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1170.1. UsbConnectionBroadcastReceiver Field属性列表
1.1170.1.1. Context mContext;
private Context mContext;
1.1170.1.2. UsbConnectionListener mUsbConnectionListener;
private UsbConnectionListener mUsbConnectionListener;
1.1170.1.3. boolean mListeningToUsbEvents;
private boolean mListeningToUsbEvents;
1.1170.1.4. UsbBackend mUsbBackend;
private UsbBackend mUsbBackend;
1.1170.1.5. boolean mConnected;
private boolean mConnected;
1.1170.1.6. long mFunctions;
private long mFunctions;
1.1170.1.7. int mDataRole;
private int mDataRole;
1.1170.1.8. int mPowerRole;
private int mPowerRole;
1.1170.2. UsbConnectionBroadcastReceiverMethod方法列表
1.1170.2.1. onReceive(Context context,Intent intent)
public void onReceive(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onReceive", "Context context,Intent intent"));
1.1170.2.2. register()
public void register()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", ""));
1.1170.2.3. unregister()
public void unregister()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregister", ""));
1.1170.2.4. isConnected()
public boolean isConnected()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConnected", ""));
1.1170.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1170.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1171. UsbDefaultFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDefaultFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1171.1. UsbDefaultFragment Field属性列表
1.1171.1.1. UsbBackend mUsbBackend;
@VisibleForTesting
UsbBackend mUsbBackend;
1.1171.2. UsbDefaultFragmentMethod方法列表
1.1171.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1171.2.2. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.1171.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1171.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1171.2.5. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1171.2.6. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1171.2.7. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1172. UsbDetailsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1172.1. UsbDetailsController Field属性列表
1.1172.1.1. Handler mHandler;
@VisibleForTesting
Handler mHandler;
1.1172.1.2. final Context mContext;
protected final Context mContext;
1.1172.1.3. final UsbDetailsFragment mFragment;
protected final UsbDetailsFragment mFragment;
1.1172.1.4. final UsbBackend mUsbBackend;
protected final UsbBackend mUsbBackend;
1.1172.2. UsbDetailsControllerMethod方法列表
1.1172.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1172.2.2. abstract refresh(boolean connected,long functions,int powerRole,int dataRole)
protected abstract void refresh(boolean connected, long functions, int powerRole, int dataRole)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", "boolean connected,long functions,int powerRole,int dataRole"));
1.1173. UsbDetailsDataRoleController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsDataRoleController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1173.1. UsbDetailsDataRoleController Field属性列表
1.1173.1.1. PreferenceCategory mPreferenceCategory;
private PreferenceCategory mPreferenceCategory;
1.1173.1.2. RadioButtonPreference mDevicePref;
private RadioButtonPreference mDevicePref;
1.1173.1.3. RadioButtonPreference mHostPref;
private RadioButtonPreference mHostPref;
1.1173.1.4. RadioButtonPreference mNextRolePref;
private RadioButtonPreference mNextRolePref;
1.1173.1.5. final Runnable mFailureCallback
private final Runnable mFailureCallback = () -> {
if (mNextRolePref != null) {
mNextRolePref.setSummary(R.string.usb_switching_failed);
mNextRolePref = null;
}
};
1.1173.2. UsbDetailsDataRoleControllerMethod方法列表
1.1173.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1173.2.2. refresh(boolean connected,long functions,int powerRole,int dataRole)
protected void refresh(boolean connected, long functions, int powerRole, int dataRole)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", "boolean connected,long functions,int powerRole,int dataRole"));
1.1173.2.3. onRadioButtonClicked(RadioButtonPreference preference)
public void onRadioButtonClicked(RadioButtonPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference preference"));
1.1173.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1173.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1173.2.6. makeRadioPreference(String key,int titleId)
private RadioButtonPreference makeRadioPreference(String key, int titleId)
methodList.add(new ZMethod(mZAndroidAPPClass,"RadioButtonPreference" ,"makeRadioPreference", "String key,int titleId"));
1.1174. UsbDetailsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1174.1. UsbDetailsFragment Field属性列表
1.1174.1.1. List mControllers;
private List mControllers;
1.1174.1.2. UsbBackend mUsbBackend;
private UsbBackend mUsbBackend;
1.1174.1.3. UsbConnectionBroadcastReceiver mUsbReceiver;
@VisibleForTesting
UsbConnectionBroadcastReceiver mUsbReceiver;
1.1174.1.4. UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener
private UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener = (connected, functions, powerRole, dataRole) -> {
for (UsbDetailsController controller : mControllers) {
controller.refresh(connected, functions, powerRole, dataRole);
}
};
1.1174.1.5. static final String TAG
private static final String TAG = UsbDetailsFragment.class.getSimpleName();
1.1174.1.6. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
SearchIndexableResource res = new SearchIndexableResource(context);
res.xmlResId = R.xml.usb_details_fragment;
return Lists.newArrayList(res);
}
@Override
public List getNonIndexableKeys(Context context) {
return super.getNonIndexableKeys(context);
}
@Override
public List createPreferenceControllers(Context context) {
return new ArrayList<>(createControllerList(context, new UsbBackend(context), null));
}
};
1.1174.2. UsbDetailsFragmentMethod方法列表
1.1174.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1174.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1174.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1174.2.4. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.1174.2.5. isConnected()
public boolean isConnected()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isConnected", ""));
1.1174.2.6. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1174.2.7. static createControllerList(Context context,UsbBackend usbBackend,UsbDetailsFragment fragment)
private static List createControllerList(Context context, UsbBackend usbBackend, UsbDetailsFragment fragment)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createControllerList", "Context context,UsbBackend usbBackend,UsbDetailsFragment fragment"));
1.1175. UsbDetailsFunctionsController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsFunctionsController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1175.1. UsbDetailsFunctionsController Field属性列表
1.1175.1.1. PreferenceCategory mProfilesContainer;
private PreferenceCategory mProfilesContainer;
1.1175.1.2. static final Map FUNCTIONS_MAP
static final Map FUNCTIONS_MAP = new LinkedHashMap<>();
1.1175.2. UsbDetailsFunctionsControllerMethod方法列表
1.1175.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1175.2.2. getProfilePreference(String key,int titleId)
private RadioButtonPreference getProfilePreference(String key, int titleId)
methodList.add(new ZMethod(mZAndroidAPPClass,"RadioButtonPreference" ,"getProfilePreference", "String key,int titleId"));
1.1175.2.3. refresh(boolean connected,long functions,int powerRole,int dataRole)
protected void refresh(boolean connected, long functions, int powerRole, int dataRole)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", "boolean connected,long functions,int powerRole,int dataRole"));
1.1175.2.4. onRadioButtonClicked(RadioButtonPreference preference)
public void onRadioButtonClicked(RadioButtonPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClicked", "RadioButtonPreference preference"));
1.1175.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1175.2.6. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1176. UsbDetailsHeaderController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsHeaderController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1176.1. UsbDetailsHeaderController Field属性列表
1.1176.1.1. EntityHeaderController mHeaderController;
private EntityHeaderController mHeaderController;
1.1176.1.2. static final String KEY_DEVICE_HEADER
private static final String KEY_DEVICE_HEADER = "usb_device_header";
1.1176.2. UsbDetailsHeaderControllerMethod方法列表
1.1176.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1176.2.2. refresh(boolean connected,long functions,int powerRole,int dataRole)
protected void refresh(boolean connected, long functions, int powerRole, int dataRole)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", "boolean connected,long functions,int powerRole,int dataRole"));
1.1176.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1177. UsbDetailsPowerRoleController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/UsbDetailsPowerRoleController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1177.1. UsbDetailsPowerRoleController Field属性列表
1.1177.1.1. PreferenceCategory mPreferenceCategory;
private PreferenceCategory mPreferenceCategory;
1.1177.1.2. SwitchPreference mSwitchPreference;
private SwitchPreference mSwitchPreference;
1.1177.1.3. int mNextPowerRole;
private int mNextPowerRole;
1.1177.1.4. final Runnable mFailureCallback
private final Runnable mFailureCallback = () -> {
if (mNextPowerRole != UsbPort.POWER_ROLE_NONE) {
mSwitchPreference.setSummary(R.string.usb_switching_failed);
mNextPowerRole = UsbPort.POWER_ROLE_NONE;
}
};
1.1177.2. UsbDetailsPowerRoleControllerMethod方法列表
1.1177.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1177.2.2. refresh(boolean connected,long functions,int powerRole,int dataRole)
protected void refresh(boolean connected, long functions, int powerRole, int dataRole)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refresh", "boolean connected,long functions,int powerRole,int dataRole"));
1.1177.2.3. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1177.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1177.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1178. UseOpenWifiPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/UseOpenWifiPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1178.1. UseOpenWifiPreferenceController Field属性列表
1.1178.1.1. Preference mPreference;
private Preference mPreference;
1.1178.1.2. ComponentName mEnableUseWifiComponentName;
private ComponentName mEnableUseWifiComponentName;
1.1178.1.3. boolean mDoFeatureSupportedScorersExist;
private boolean mDoFeatureSupportedScorersExist;
1.1178.1.4. final ContentResolver mContentResolver;
private final ContentResolver mContentResolver;
1.1178.1.5. final Fragment mFragment;
private final Fragment mFragment;
1.1178.1.6. final NetworkScoreManager mNetworkScoreManager;
private final NetworkScoreManager mNetworkScoreManager;
1.1178.1.7. final SettingObserver mSettingObserver;
private final SettingObserver mSettingObserver;
1.1178.1.8. static final int REQUEST_CODE_OPEN_WIFI_AUTOMATICALLY
public static final int REQUEST_CODE_OPEN_WIFI_AUTOMATICALLY = 400;
1.1178.1.9. static final String KEY_USE_OPEN_WIFI_AUTOMATICALLY
private static final String KEY_USE_OPEN_WIFI_AUTOMATICALLY = "use_open_wifi_automatically";
1.1178.2. UseOpenWifiPreferenceControllerMethod方法列表
1.1178.2.1. updateEnableUseWifiComponentName()
private void updateEnableUseWifiComponentName()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEnableUseWifiComponentName", ""));
1.1178.2.2. checkForFeatureSupportedScorers()
private void checkForFeatureSupportedScorers()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"checkForFeatureSupportedScorers", ""));
1.1178.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1178.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1178.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1178.2.6. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1178.2.7. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1178.2.8. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1178.2.9. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1178.2.10. isSettingEnabled()
private boolean isSettingEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSettingEnabled", ""));
1.1178.2.11. onActivityResult(int requestCode,int resultCode)
public boolean onActivityResult(int requestCode, int resultCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode"));
1.1179. UserAppInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/UserAppInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1179.1. UserAppInfo Field属性列表
1.1179.1.1. final UserInfo userInfo;
public final UserInfo userInfo;
1.1179.1.2. final ApplicationInfo appInfo;
public final ApplicationInfo appInfo;
1.1179.2. UserAppInfoMethod方法列表
1.1179.2.1. equals(Object other)
public boolean equals(Object other)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object other"));
1.1179.2.2. hashCode()
public int hashCode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"hashCode", ""));
1.1180. UserCapabilities.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserCapabilities.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1180.1. UserCapabilities Field属性列表
1.1180.1.1. boolean mEnabled
boolean mEnabled = true;
1.1180.1.2. boolean mCanAddUser
boolean mCanAddUser = true;
1.1180.1.3. boolean mCanAddRestrictedProfile
boolean mCanAddRestrictedProfile = true;
1.1180.1.4. boolean mIsAdmin;
boolean mIsAdmin;
1.1180.1.5. boolean mIsGuest;
boolean mIsGuest;
1.1180.1.6. boolean mCanAddGuest;
boolean mCanAddGuest;
1.1180.1.7. boolean mDisallowAddUser;
boolean mDisallowAddUser;
1.1180.1.8. boolean mDisallowAddUserSetByAdmin;
boolean mDisallowAddUserSetByAdmin;
1.1180.1.9. boolean mDisallowSwitchUser;
boolean mDisallowSwitchUser;
1.1180.1.10. RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin;
RestrictedLockUtils.EnforcedAdmin mEnforcedAdmin;
1.1180.2. UserCapabilitiesMethod方法列表
1.1180.2.1. updateAddUserCapabilities(Context context)
public void updateAddUserCapabilities(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAddUserCapabilities", "Context context"));
1.1180.2.2. isAdmin()
public boolean isAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAdmin", ""));
1.1180.2.3. disallowAddUser()
public boolean disallowAddUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"disallowAddUser", ""));
1.1180.2.4. disallowAddUserSetByAdmin()
public boolean disallowAddUserSetByAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"disallowAddUserSetByAdmin", ""));
1.1180.2.5. getEnforcedAdmin()
public RestrictedLockUtils.EnforcedAdmin getEnforcedAdmin()
methodList.add(new ZMethod(mZAndroidAPPClass,"RestrictedLockUtils.EnforcedAdmin" ,"getEnforcedAdmin", ""));
1.1180.2.6. toString()
public String toString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"toString", ""));
1.1180.2.7. static create(Context context)
public static UserCapabilities create(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserCapabilities" ,"create", "Context context"));
1.1181. UserCredentialsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/UserCredentialsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1181.1. UserCredentialsPreferenceController Field属性列表
1.1181.1.1. static final String KEY_USER_CREDENTIALS
private static final String KEY_USER_CREDENTIALS = "user_credentials";
1.1181.2. UserCredentialsPreferenceControllerMethod方法列表
1.1181.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1182. UserCredentialsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/UserCredentialsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1182.1. UserCredentialsSettings Field属性列表
1.1182.1.1. static final String TAG
private static final String TAG = "UserCredentialsSettings";
1.1182.1.2. static final SparseArray credentialViewTypes
/**
* Mapping from View IDs in {@link R} to the types of credentials they describe.
*/
private static final SparseArray credentialViewTypes = new SparseArray<>();
1.1182.2. UserCredentialsSettingsMethod方法列表
1.1182.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1182.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1182.2.3. onClick(final View view)
public void onClick(final View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "final View view"));
1.1182.2.4. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.1182.2.5. announceRemoval(String alias)
protected void announceRemoval(String alias)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"announceRemoval", "String alias"));
1.1182.2.6. refreshItems()
protected void refreshItems()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshItems", ""));
1.1182.2.7. static getCredentialView(Credential item,@LayoutRes int layoutResource,@Nullable View view,ViewGroup parent,boolean expanded)
protected static View getCredentialView(Credential item, @LayoutRes int layoutResource, @Nullable View view, ViewGroup parent, boolean expanded)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"getCredentialView", "Credential item,@LayoutRes int layoutResource,@Nullable View view,ViewGroup parent,boolean expanded"));
1.1183. UserDetailsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserDetailsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1183.1. UserDetailsSettings Field属性列表
1.1183.1.1. UserManager mUserManager;
private UserManager mUserManager;
1.1183.1.2. SwitchPreference mPhonePref;
private SwitchPreference mPhonePref;
1.1183.1.3. Preference mRemoveUserPref;
private Preference mRemoveUserPref;
1.1183.1.4. UserInfo mUserInfo;
private UserInfo mUserInfo;
1.1183.1.5. boolean mGuestUser;
private boolean mGuestUser;
1.1183.1.6. Bundle mDefaultGuestRestrictions;
private Bundle mDefaultGuestRestrictions;
1.1183.1.7. static final String TAG
private static final String TAG = UserDetailsSettings.class.getSimpleName();
1.1183.1.8. static final String KEY_ENABLE_TELEPHONY
private static final String KEY_ENABLE_TELEPHONY = "enable_calling";
1.1183.1.9. static final String KEY_REMOVE_USER
private static final String KEY_REMOVE_USER = "remove_user";
1.1183.1.10. static final String EXTRA_USER_ID
/** Integer extra containing the userId to manage */
static final String EXTRA_USER_ID = "user_id";
1.1183.1.11. static final String EXTRA_USER_GUEST
/** Boolean extra to indicate guest preferences */
static final String EXTRA_USER_GUEST = "guest_user";
1.1183.1.12. static final int DIALOG_CONFIRM_REMOVE
private static final int DIALOG_CONFIRM_REMOVE = 1;
1.1183.1.13. static final int DIALOG_CONFIRM_ENABLE_CALLING
private static final int DIALOG_CONFIRM_ENABLE_CALLING = 2;
1.1183.1.14. static final int DIALOG_CONFIRM_ENABLE_CALLING_AND_SMS
private static final int DIALOG_CONFIRM_ENABLE_CALLING_AND_SMS = 3;
1.1183.2. UserDetailsSettingsMethod方法列表
1.1183.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1183.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1183.2.3. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1183.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1183.2.5. enableCallsAndSms(boolean enabled)
void enableCallsAndSms(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableCallsAndSms", "boolean enabled"));
1.1183.2.6. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.1183.2.7. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1183.2.8. removeUser()
void removeUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeUser", ""));
1.1184. UserDialogs.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserDialogs.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1184.1. UserDialogs Field属性列表
1.1184.2. UserDialogsMethod方法列表
1.1184.2.1. static createRemoveDialog(Context context,int removingUserId,DialogInterface.OnClickListener onConfirmListener)
public static Dialog createRemoveDialog(Context context, int removingUserId, DialogInterface.OnClickListener onConfirmListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createRemoveDialog", "Context context,int removingUserId,DialogInterface.OnClickListener onConfirmListener"));
1.1184.2.2. static createRemoveManagedUserDialogView(Context context,int userId)
private static View createRemoveManagedUserDialogView(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"createRemoveManagedUserDialogView", "Context context,int userId"));
1.1184.2.3. static createEnablePhoneCallsAndSmsDialog(Context context,DialogInterface.OnClickListener onConfirmListener)
public static Dialog createEnablePhoneCallsAndSmsDialog(Context context, DialogInterface.OnClickListener onConfirmListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createEnablePhoneCallsAndSmsDialog", "Context context,DialogInterface.OnClickListener onConfirmListener"));
1.1184.2.4. static createEnablePhoneCallsDialog(Context context,DialogInterface.OnClickListener onConfirmListener)
public static Dialog createEnablePhoneCallsDialog(Context context, DialogInterface.OnClickListener onConfirmListener)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"createEnablePhoneCallsDialog", "Context context,DialogInterface.OnClickListener onConfirmListener"));
1.1185. UserDictionaryAddWordActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionaryAddWordActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1185.1. UserDictionaryAddWordActivity Field属性列表
1.1185.1.1. UserDictionaryAddWordContents mContents;
private UserDictionaryAddWordContents mContents;
1.1185.1.2. static final String MODE_EDIT_ACTION
public static final String MODE_EDIT_ACTION = "com.android.settings.USER_DICTIONARY_EDIT";
1.1185.1.3. static final String MODE_INSERT_ACTION
public static final String MODE_INSERT_ACTION = "com.android.settings.USER_DICTIONARY_INSERT";
1.1185.1.4. static final int CODE_WORD_ADDED
/* package */
static final int CODE_WORD_ADDED = 0;
1.1185.1.5. static final int CODE_CANCEL
/* package */
static final int CODE_CANCEL = 1;
1.1185.1.6. static final int CODE_ALREADY_PRESENT
/* package */
static final int CODE_ALREADY_PRESENT = 2;
1.1185.2. UserDictionaryAddWordActivityMethod方法列表
1.1185.2.1. onCreate(final Bundle savedInstanceState)
public void onCreate(final Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "final Bundle savedInstanceState"));
1.1185.2.2. onSaveInstanceState(final Bundle outState)
public void onSaveInstanceState(final Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "final Bundle outState"));
1.1185.2.3. reportBackToCaller(final int resultCode,final Bundle result)
private void reportBackToCaller(final int resultCode, final Bundle result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reportBackToCaller", "final int resultCode,final Bundle result"));
1.1185.2.4. onClickCancel(final View v)
public void onClickCancel(final View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClickCancel", "final View v"));
1.1185.2.5. onClickConfirm(final View v)
public void onClickConfirm(final View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClickConfirm", "final View v"));
1.1186. UserDictionaryAddWordContents.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionaryAddWordContents.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1186.1. UserDictionaryAddWordContents Field属性列表
1.1186.1.1. String mLocale;
private String mLocale;
1.1186.1.2. String mSavedWord;
private String mSavedWord;
1.1186.1.3. String mSavedShortcut;
private String mSavedShortcut;
1.1186.1.4. final int mMode;
// Either MODE_EDIT or MODE_INSERT
private final int mMode;
1.1186.1.5. final EditText mWordEditText;
private final EditText mWordEditText;
1.1186.1.6. final EditText mShortcutEditText;
private final EditText mShortcutEditText;
1.1186.1.7. final String mOldWord;
private final String mOldWord;
1.1186.1.8. final String mOldShortcut;
private final String mOldShortcut;
1.1186.1.9. static final String EXTRA_MODE
public static final String EXTRA_MODE = "mode";
1.1186.1.10. static final String EXTRA_WORD
public static final String EXTRA_WORD = "word";
1.1186.1.11. static final String EXTRA_SHORTCUT
public static final String EXTRA_SHORTCUT = "shortcut";
1.1186.1.12. static final String EXTRA_LOCALE
public static final String EXTRA_LOCALE = "locale";
1.1186.1.13. static final String EXTRA_ORIGINAL_WORD
public static final String EXTRA_ORIGINAL_WORD = "originalWord";
1.1186.1.14. static final String EXTRA_ORIGINAL_SHORTCUT
public static final String EXTRA_ORIGINAL_SHORTCUT = "originalShortcut";
1.1186.1.15. static final int MODE_EDIT
public static final int MODE_EDIT = 0;
1.1186.1.16. static final int MODE_INSERT
public static final int MODE_INSERT = 1;
1.1186.1.17. static final int FREQUENCY_FOR_USER_DICTIONARY_ADDS
private static final int FREQUENCY_FOR_USER_DICTIONARY_ADDS = 250;
1.1186.1.18. static final String[] HAS_WORD_PROJECTION
private static final String[] HAS_WORD_PROJECTION = { UserDictionary.Words.WORD };
1.1186.1.19. static final String HAS_WORD_SELECTION_ONE_LOCALE
private static final String HAS_WORD_SELECTION_ONE_LOCALE = UserDictionary.Words.WORD + "=? AND " + UserDictionary.Words.LOCALE + "=?";
1.1186.1.20. static final String HAS_WORD_SELECTION_ALL_LOCALES
private static final String HAS_WORD_SELECTION_ALL_LOCALES = UserDictionary.Words.WORD + "=? AND " + UserDictionary.Words.LOCALE + " is null";
1.1186.2. UserDictionaryAddWordContentsMethod方法列表
1.1186.2.1. updateLocale(final String locale)
void updateLocale(final String locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateLocale", "final String locale"));
1.1186.2.2. saveStateIntoBundle(final Bundle outState)
void saveStateIntoBundle(final Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveStateIntoBundle", "final Bundle outState"));
1.1186.2.3. delete(final Context context)
void delete(final Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"delete", "final Context context"));
1.1186.2.4. apply(final Context context,final Bundle outParameters)
int apply(final Context context, final Bundle outParameters)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"apply", "final Context context,final Bundle outParameters"));
1.1186.2.5. hasWord(final String word,final Context context)
private boolean hasWord(final String word, final Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasWord", "final String word,final Context context"));
1.1186.2.6. getLocalesList(final Activity activity)
public ArrayList getLocalesList(final Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArrayList" ,"getLocalesList", "final Activity activity"));
1.1186.2.7. getCurrentUserDictionaryLocale()
public String getCurrentUserDictionaryLocale()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getCurrentUserDictionaryLocale", ""));
1.1186.2.8. static addLocaleDisplayNameToList(final Context context,final ArrayList list,final String locale)
private static void addLocaleDisplayNameToList(final Context context, final ArrayList list, final String locale)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addLocaleDisplayNameToList", "final Context context,final ArrayList list,final String locale"));
1.1187. UserDictionaryAddWordFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionaryAddWordFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1187.1. UserDictionaryAddWordFragment Field属性列表
1.1187.1.1. UserDictionaryAddWordContents mContents;
private UserDictionaryAddWordContents mContents;
1.1187.1.2. View mRootView;
private View mRootView;
1.1187.1.3. boolean mIsDeleting
private boolean mIsDeleting = false;
1.1187.1.4. static final int OPTIONS_MENU_DELETE
private static final int OPTIONS_MENU_DELETE = Menu.FIRST;
1.1187.2. UserDictionaryAddWordFragmentMethod方法列表
1.1187.2.1. onActivityCreated(final Bundle savedInstanceState)
public void onActivityCreated(final Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "final Bundle savedInstanceState"));
1.1187.2.2. onCreateView(final LayoutInflater inflater,final ViewGroup container,final Bundle savedState)
public View onCreateView(final LayoutInflater inflater, final ViewGroup container, final Bundle savedState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "final LayoutInflater inflater,final ViewGroup container,final Bundle savedState"));
1.1187.2.3. onCreateOptionsMenu(final Menu menu,final MenuInflater inflater)
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "final Menu menu,final MenuInflater inflater"));
1.1187.2.4. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1187.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1187.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1187.2.7. updateSpinner()
private void updateSpinner()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSpinner", ""));
1.1187.2.8. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1188. UserDictionaryCursorLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionaryCursorLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1188.1. UserDictionaryCursorLoader Field属性列表
1.1188.1.1. final // - The string representation of a locale, as returned by Locale#toString() // - The empty string. This means we want a cursor returning words valid for all locales. // - null. This means we want a cursor for the current locale, whatever this is. // Note that this contrasts with the data inside the database, where NULL means "all // locales" and there should never be an empty string. The confusion is called by the // historical use of null for "all locales". // TODO: it should be easy to make this more readable by making the special values // human-readable, like "all_locales" and "current_locales" strings, provided they // can be guaranteed not to match locales that may exist. private String mLocale;
// Locale can be any of:
// - The string representation of a locale, as returned by Locale#toString()
// - The empty string. This means we want a cursor returning words valid for all locales.
// - null. This means we want a cursor for the current locale, whatever this is.
// Note that this contrasts with the data inside the database, where NULL means "all
// locales" and there should never be an empty string. The confusion is called by the
// historical use of null for "all locales".
// TODO: it should be easy to make this more readable by making the special values
// human-readable, like "all_locales" and "current_locales" strings, provided they
// can be guaranteed not to match locales that may exist.
private final String mLocale;
1.1188.1.2. static final String[] QUERY_PROJECTION
@VisibleForTesting
static final String[] QUERY_PROJECTION = { UserDictionary.Words._ID, UserDictionary.Words.WORD, UserDictionary.Words.SHORTCUT };
1.1188.1.3. static final int INDEX_SHORTCUT
// The index of the shortcut in the above array.
static final int INDEX_SHORTCUT = 2;
1.1188.1.4. static final // or the word equals our current locale private String QUERY_SELECTION
// Either the locale is empty (means the word is applicable to all locales)
// or the word equals our current locale
private static final String QUERY_SELECTION = UserDictionary.Words.LOCALE + "=?";
1.1188.1.5. static final String QUERY_SELECTION_ALL_LOCALES
private static final String QUERY_SELECTION_ALL_LOCALES = UserDictionary.Words.LOCALE + " is null";
1.1188.2. UserDictionaryCursorLoaderMethod方法列表
1.1188.2.1. loadInBackground()
public Cursor loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"Cursor" ,"loadInBackground", ""));
1.1189. UserDictionaryList.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionaryList.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1189.1. UserDictionaryList Field属性列表
1.1189.1.1. String mLocale;
private String mLocale;
1.1189.1.2. static final String USER_DICTIONARY_SETTINGS_INTENT_ACTION
public static final String USER_DICTIONARY_SETTINGS_INTENT_ACTION = "android.settings.USER_DICTIONARY_SETTINGS";
1.1189.2. UserDictionaryListMethod方法列表
1.1189.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1189.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1189.2.3. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1189.2.4. createUserDictSettings(PreferenceGroup userDictGroup)
protected void createUserDictSettings(PreferenceGroup userDictGroup)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createUserDictSettings", "PreferenceGroup userDictGroup"));
1.1189.2.5. createUserDictionaryPreference(String locale,Activity activity)
protected Preference createUserDictionaryPreference(String locale, Activity activity)
methodList.add(new ZMethod(mZAndroidAPPClass,"Preference" ,"createUserDictionaryPreference", "String locale,Activity activity"));
1.1189.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1189.2.7. static getUserDictionaryLocalesSet(Context context)
public static TreeSet getUserDictionaryLocalesSet(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"TreeSet" ,"getUserDictionaryLocalesSet", "Context context"));
1.1190. UserDictionaryPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/language/UserDictionaryPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1190.1. UserDictionaryPreferenceController Field属性列表
1.1190.1.1. static final String KEY_USER_DICTIONARY_SETTINGS
private static final String KEY_USER_DICTIONARY_SETTINGS = "key_user_dictionary_settings";
1.1190.2. UserDictionaryPreferenceControllerMethod方法列表
1.1190.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1190.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1190.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1190.2.4. getDictionaryLocales()
protected TreeSet getDictionaryLocales()
methodList.add(new ZMethod(mZAndroidAPPClass,"TreeSet" ,"getDictionaryLocales", ""));
1.1191. UserDictionarySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionarySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1191.1. UserDictionarySettings Field属性列表
1.1191.1.1. VisibilityLoggerMixin mVisibilityLoggerMixin;
private VisibilityLoggerMixin mVisibilityLoggerMixin;
1.1191.1.2. Cursor mCursor;
private Cursor mCursor;
1.1191.1.3. String mLocale;
private String mLocale;
1.1191.1.4. static final String DELETE_SELECTION_WITH_SHORTCUT
private static final String DELETE_SELECTION_WITH_SHORTCUT = UserDictionary.Words.WORD + "=? AND " + UserDictionary.Words.SHORTCUT + "=?";
1.1191.1.5. static final String DELETE_SELECTION_WITHOUT_SHORTCUT
private static final String DELETE_SELECTION_WITHOUT_SHORTCUT = UserDictionary.Words.WORD + "=? AND " + UserDictionary.Words.SHORTCUT + " is null OR " + UserDictionary.Words.SHORTCUT + "=''";
1.1191.1.6. static final int OPTIONS_MENU_ADD
private static final int OPTIONS_MENU_ADD = Menu.FIRST;
1.1191.1.7. static final int LOADER_ID
private static final int LOADER_ID = 1;
1.1191.2. UserDictionarySettingsMethod方法列表
1.1191.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1191.2.2. onCreate(@Nullable Bundle savedInstanceState)
public void onCreate(@Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "@Nullable Bundle savedInstanceState"));
1.1191.2.3. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.1191.2.4. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.1191.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1191.2.6. createAdapter()
private ListAdapter createAdapter()
methodList.add(new ZMethod(mZAndroidAPPClass,"ListAdapter" ,"createAdapter", ""));
1.1191.2.7. onListItemClick(ListView l,View v,int position,long id)
public void onListItemClick(ListView l, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView l,View v,int position,long id"));
1.1191.2.8. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1191.2.9. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1191.2.10. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1191.2.11. showAddOrEditDialog(final String editingWord,final String editingShortcut)
private void showAddOrEditDialog(final String editingWord, final String editingShortcut)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showAddOrEditDialog", "final String editingWord,final String editingShortcut"));
1.1191.2.12. getWord(final int position)
private String getWord(final int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getWord", "final int position"));
1.1191.2.13. getShortcut(final int position)
private String getShortcut(final int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getShortcut", "final int position"));
1.1191.2.14. onCreateLoader(int id,Bundle args)
public Loader onCreateLoader(int id, Bundle args)
methodList.add(new ZMethod(mZAndroidAPPClass,"Loader" ,"onCreateLoader", "int id,Bundle args"));
1.1191.2.15. onLoadFinished(Loader loader,Cursor data)
public void onLoadFinished(Loader loader, Cursor data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoadFinished", "Loader loader,Cursor data"));
1.1191.2.16. onLoaderReset(Loader loader)
public void onLoaderReset(Loader loader)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLoaderReset", "Loader loader"));
1.1191.2.17. static deleteWord(final String word,final String shortcut,final ContentResolver resolver)
public static void deleteWord(final String word, final String shortcut, final ContentResolver resolver)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"deleteWord", "final String word,final String shortcut,final ContentResolver resolver"));
1.1192. UserDictionarySettingsUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/UserDictionarySettingsUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1192.1. UserDictionarySettingsUtils Field属性列表
1.1192.2. UserDictionarySettingsUtilsMethod方法列表
1.1192.2.1. static getLocaleDisplayName(Context context,String localeStr)
public static String getLocaleDisplayName(Context context, String localeStr)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLocaleDisplayName", "Context context,String localeStr"));
1.1193. UserFeatureProvider.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserFeatureProvider.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1194. UserFeatureProviderImpl.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserFeatureProviderImpl.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1194.1. UserFeatureProviderImpl Field属性列表
1.1194.1.1. UserManager mUm;
UserManager mUm;
1.1194.2. UserFeatureProviderImplMethod方法列表
1.1194.2.1. getUserProfiles()
public List getUserProfiles()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getUserProfiles", ""));
1.1195. UserIconLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/UserIconLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1195.1. UserIconLoader Field属性列表
1.1195.1.1. FetchUserIconTask mTask;
private FetchUserIconTask mTask;
1.1195.2. UserIconLoaderMethod方法列表
1.1195.2.1. loadInBackground()
public SparseArray loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"loadInBackground", ""));
1.1195.2.2. onDiscardResult(SparseArray result)
protected void onDiscardResult(SparseArray result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "SparseArray result"));
1.1195.2.3. static loadUserIconsWithContext(Context context)
public static SparseArray loadUserIconsWithContext(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"SparseArray" ,"loadUserIconsWithContext", "Context context"));
1.1196. UserPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1196.1. UserPreference Field属性列表
1.1196.1.1. OnClickListener mDeleteClickListener;
private OnClickListener mDeleteClickListener;
1.1196.1.2. OnClickListener mSettingsClickListener;
private OnClickListener mSettingsClickListener;
1.1196.1.3. int mSerialNumber
private int mSerialNumber = -1;
1.1196.1.4. int mUserId
private int mUserId = USERID_UNKNOWN;
1.1196.1.5. static final int ALPHA_ENABLED
private static final int ALPHA_ENABLED = 255;
1.1196.1.6. static final int ALPHA_DISABLED
private static final int ALPHA_DISABLED = 102;
1.1196.1.7. static final int USERID_UNKNOWN
public static final int USERID_UNKNOWN = -10;
1.1196.1.8. static final int USERID_GUEST_DEFAULTS
public static final int USERID_GUEST_DEFAULTS = -11;
1.1196.1.9. static final Comparator SERIAL_NUMBER_COMPARATOR
public static final Comparator SERIAL_NUMBER_COMPARATOR = new Comparator() {
@Override
public int compare(UserPreference p1, UserPreference p2) {
int sn1 = p1.getSerialNumber();
int sn2 = p2.getSerialNumber();
if (sn1 < sn2) {
return -1;
} else if (sn1 > sn2) {
return 1;
}
return 0;
}
};
1.1196.1.10. static final int SETTINGS_ID
static final int SETTINGS_ID = R.id.manage_user;
1.1196.1.11. static final int DELETE_ID
static final int DELETE_ID = R.id.trash_user;
1.1196.2. UserPreferenceMethod方法列表
1.1196.2.1. dimIcon(boolean dimmed)
private void dimIcon(boolean dimmed)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dimIcon", "boolean dimmed"));
1.1196.2.2. shouldHideSecondTarget()
protected boolean shouldHideSecondTarget()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldHideSecondTarget", ""));
1.1196.2.3. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1196.2.4. canDeleteUser()
private boolean canDeleteUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canDeleteUser", ""));
1.1196.2.5. getSerialNumber()
private int getSerialNumber()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSerialNumber", ""));
1.1196.2.6. getUserId()
public int getUserId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserId", ""));
1.1197. UserProfileController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/UserProfileController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1197.1. UserProfileController Field属性列表
1.1197.1.1. StorageItemPreference mStoragePreference;
private StorageItemPreference mStoragePreference;
1.1197.1.2. UserInfo mUser;
private UserInfo mUser;
1.1197.1.3. long mTotalSizeBytes;
private long mTotalSizeBytes;
1.1197.1.4. final int mPreferenceOrder;
private final int mPreferenceOrder;
1.1197.1.5. static final String PREFERENCE_KEY_BASE
private static final String PREFERENCE_KEY_BASE = "pref_profile_";
1.1197.2. UserProfileControllerMethod方法列表
1.1197.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1197.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1197.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1197.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1197.2.5. handleResult(SparseArray stats)
public void handleResult(SparseArray stats)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleResult", "SparseArray stats"));
1.1197.2.6. setSize(long size,long totalSize)
public void setSize(long size, long totalSize)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSize", "long size,long totalSize"));
1.1197.2.7. setTotalSize(long totalSize)
public void setTotalSize(long totalSize)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setTotalSize", "long totalSize"));
1.1197.2.8. handleUserIcons(SparseArray fetchedIcons)
public void handleUserIcons(SparseArray fetchedIcons)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUserIcons", "SparseArray fetchedIcons"));
1.1197.2.9. static applyTint(Context context,Drawable icon)
private static Drawable applyTint(Context context, Drawable icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"applyTint", "Context context,Drawable icon"));
1.1198. UserSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/users/UserSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1198.1. UserSettings Field属性列表
1.1198.1.1. PreferenceGroup mUserListCategory;
private PreferenceGroup mUserListCategory;
1.1198.1.2. UserPreference mMePreference;
private UserPreference mMePreference;
1.1198.1.3. RestrictedPreference mAddUser;
private RestrictedPreference mAddUser;
1.1198.1.4. int mRemovingUserId
private int mRemovingUserId = -1;
1.1198.1.5. int mAddedUserId
private int mAddedUserId = 0;
1.1198.1.6. boolean mAddingUser;
private boolean mAddingUser;
1.1198.1.7. String mAddingUserName;
private String mAddingUserName;
1.1198.1.8. UserCapabilities mUserCaps;
private UserCapabilities mUserCaps;
1.1198.1.9. boolean mShouldUpdateUserList
private boolean mShouldUpdateUserList = true;
1.1198.1.10. UserManager mUserManager;
private UserManager mUserManager;
1.1198.1.11. SparseArray mUserIcons
private SparseArray mUserIcons = new SparseArray<>();
1.1198.1.12. EditUserInfoController mEditUserInfoController
private EditUserInfoController mEditUserInfoController = new EditUserInfoController();
1.1198.1.13. AddUserWhenLockedPreferenceController mAddUserWhenLockedPreferenceController;
private AddUserWhenLockedPreferenceController mAddUserWhenLockedPreferenceController;
1.1198.1.14. Drawable mDefaultIconDrawable;
// A place to cache the generated default avatar
private Drawable mDefaultIconDrawable;
1.1198.1.15. Handler mHandler
private Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
switch(msg.what) {
case MESSAGE_UPDATE_LIST:
updateUserList();
break;
case MESSAGE_SETUP_USER:
onUserCreated(msg.arg1);
break;
case MESSAGE_CONFIG_USER:
onManageUserClicked(msg.arg1, true);
break;
}
}
};
1.1198.1.16. BroadcastReceiver mUserChangeReceiver
private BroadcastReceiver mUserChangeReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals(Intent.ACTION_USER_REMOVED)) {
mRemovingUserId = -1;
} else if (intent.getAction().equals(Intent.ACTION_USER_INFO_CHANGED)) {
int userHandle = intent.getIntExtra(Intent.EXTRA_USER_HANDLE, -1);
if (userHandle != -1) {
mUserIcons.remove(userHandle);
}
}
mHandler.sendEmptyMessage(MESSAGE_UPDATE_LIST);
}
};
1.1198.1.17. final Object mUserLock
private final Object mUserLock = new Object();
1.1198.1.18. static SparseArray sDarkDefaultUserBitmapCache
private static SparseArray sDarkDefaultUserBitmapCache = new SparseArray<>();
1.1198.1.19. static final String TAG
private static final String TAG = "UserSettings";
1.1198.1.20. static final String SAVE_REMOVING_USER
/** UserId of the user being removed */
private static final String SAVE_REMOVING_USER = "removing_user";
1.1198.1.21. static final String SAVE_ADDING_USER
/** UserId of the user that was just added */
private static final String SAVE_ADDING_USER = "adding_user";
1.1198.1.22. static final String KEY_USER_LIST
private static final String KEY_USER_LIST = "user_list";
1.1198.1.23. static final String KEY_USER_ME
private static final String KEY_USER_ME = "user_me";
1.1198.1.24. static final String KEY_ADD_USER
private static final String KEY_ADD_USER = "user_add";
1.1198.1.25. static final String KEY_ADD_USER_WHEN_LOCKED
private static final String KEY_ADD_USER_WHEN_LOCKED = "user_settings_add_users_when_locked";
1.1198.1.26. static final int MENU_REMOVE_USER
private static final int MENU_REMOVE_USER = Menu.FIRST;
1.1198.1.27. static final int DIALOG_CONFIRM_REMOVE
private static final int DIALOG_CONFIRM_REMOVE = 1;
1.1198.1.28. static final int DIALOG_ADD_USER
private static final int DIALOG_ADD_USER = 2;
1.1198.1.29. static final int DIALOG_SETUP_USER
private static final int DIALOG_SETUP_USER = 3;
1.1198.1.30. static final int DIALOG_SETUP_PROFILE
private static final int DIALOG_SETUP_PROFILE = 4;
1.1198.1.31. static final int DIALOG_USER_CANNOT_MANAGE
private static final int DIALOG_USER_CANNOT_MANAGE = 5;
1.1198.1.32. static final int DIALOG_CHOOSE_USER_TYPE
private static final int DIALOG_CHOOSE_USER_TYPE = 6;
1.1198.1.33. static final int DIALOG_NEED_LOCKSCREEN
private static final int DIALOG_NEED_LOCKSCREEN = 7;
1.1198.1.34. static final int DIALOG_CONFIRM_EXIT_GUEST
private static final int DIALOG_CONFIRM_EXIT_GUEST = 8;
1.1198.1.35. static final int DIALOG_USER_PROFILE_EDITOR
private static final int DIALOG_USER_PROFILE_EDITOR = 9;
1.1198.1.36. static final int MESSAGE_UPDATE_LIST
private static final int MESSAGE_UPDATE_LIST = 1;
1.1198.1.37. static final int MESSAGE_SETUP_USER
private static final int MESSAGE_SETUP_USER = 2;
1.1198.1.38. static final int MESSAGE_CONFIG_USER
private static final int MESSAGE_CONFIG_USER = 3;
1.1198.1.39. static final int USER_TYPE_USER
private static final int USER_TYPE_USER = 1;
1.1198.1.40. static final int USER_TYPE_RESTRICTED_PROFILE
private static final int USER_TYPE_RESTRICTED_PROFILE = 2;
1.1198.1.41. static final int REQUEST_CHOOSE_LOCK
private static final int REQUEST_CHOOSE_LOCK = 10;
1.1198.1.42. static final String KEY_ADD_USER_LONG_MESSAGE_DISPLAYED
private static final String KEY_ADD_USER_LONG_MESSAGE_DISPLAYED = "key_add_user_long_message_displayed";
1.1198.1.43. static final String KEY_TITLE
private static final String KEY_TITLE = "title";
1.1198.1.44. static final String KEY_SUMMARY
private static final String KEY_SUMMARY = "summary";
1.1198.1.45. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = (activity, summaryLoader) -> new SummaryProvider(activity, summaryLoader);
1.1198.1.46. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
protected boolean isPageSearchEnabled(Context context) {
final UserCapabilities userCaps = UserCapabilities.create(context);
return userCaps.mEnabled;
}
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final List index = new ArrayList<>();
// Append the rest of the settings
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.user_settings;
index.add(sir);
return index;
}
@Override
public List getNonIndexableKeysFromXml(Context context, int xmlResId) {
final List niks = super.getNonIndexableKeysFromXml(context, xmlResId);
new AddUserWhenLockedPreferenceController(context, KEY_ADD_USER_WHEN_LOCKED, null).updateNonIndexableKeys(niks);
new AutoSyncDataPreferenceController(context, null).updateNonIndexableKeys(niks);
new AutoSyncPersonalDataPreferenceController(context, null).updateNonIndexableKeys(niks);
new AutoSyncWorkDataPreferenceController(context, null).updateNonIndexableKeys(niks);
return niks;
}
};
1.1198.2. UserSettingsMethod方法列表
1.1198.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1198.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1198.2.3. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1198.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1198.2.5. onDestroy()
public void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1198.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1198.2.7. startActivityForResult(Intent intent,int requestCode)
public void startActivityForResult(Intent intent, int requestCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startActivityForResult", "Intent intent,int requestCode"));
1.1198.2.8. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1198.2.9. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1198.2.10. loadProfile()
private void loadProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadProfile", ""));
1.1198.2.11. finishLoadProfile(String profileName)
private void finishLoadProfile(String profileName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finishLoadProfile", "String profileName"));
1.1198.2.12. hasLockscreenSecurity()
private boolean hasLockscreenSecurity()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasLockscreenSecurity", ""));
1.1198.2.13. launchChooseLockscreen()
private void launchChooseLockscreen()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchChooseLockscreen", ""));
1.1198.2.14. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1198.2.15. onAddUserClicked(int userType)
private void onAddUserClicked(int userType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAddUserClicked", "int userType"));
1.1198.2.16. onRemoveUserClicked(int userId)
private void onRemoveUserClicked(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRemoveUserClicked", "int userId"));
1.1198.2.17. createRestrictedProfile()
private UserInfo createRestrictedProfile()
methodList.add(new ZMethod(mZAndroidAPPClass,"UserInfo" ,"createRestrictedProfile", ""));
1.1198.2.18. createTrustedUser()
private UserInfo createTrustedUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"UserInfo" ,"createTrustedUser", ""));
1.1198.2.19. onManageUserClicked(int userId,boolean newUser)
private void onManageUserClicked(int userId, boolean newUser)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onManageUserClicked", "int userId,boolean newUser"));
1.1198.2.20. onUserCreated(int userId)
private void onUserCreated(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onUserCreated", "int userId"));
1.1198.2.21. onDialogShowing()
public void onDialogShowing()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDialogShowing", ""));
1.1198.2.22. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.1198.2.23. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1198.2.24. removeUserNow()
private void removeUserNow()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeUserNow", ""));
1.1198.2.25. removeThisUser()
private void removeThisUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeThisUser", ""));
1.1198.2.26. addUserNow(final int userType)
private void addUserNow(final int userType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addUserNow", "final int userType"));
1.1198.2.27. switchUserNow(int userId)
private void switchUserNow(int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"switchUserNow", "int userId"));
1.1198.2.28. exitGuest()
private void exitGuest()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"exitGuest", ""));
1.1198.2.29. updateUserList()
private void updateUserList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUserList", ""));
1.1198.2.30. getMaxRealUsers()
private int getMaxRealUsers()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaxRealUsers", ""));
1.1198.2.31. loadIconsAsync(List missingIcons)
private void loadIconsAsync(List missingIcons)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadIconsAsync", "List missingIcons"));
1.1198.2.32. getEncircledDefaultIcon()
private Drawable getEncircledDefaultIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getEncircledDefaultIcon", ""));
1.1198.2.33. setPhotoId(Preference pref,UserInfo user)
private void setPhotoId(Preference pref, UserInfo user)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPhotoId", "Preference pref,UserInfo user"));
1.1198.2.34. onPreferenceClick(Preference pref)
public boolean onPreferenceClick(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference pref"));
1.1198.2.35. isInitialized(UserInfo user)
private boolean isInitialized(UserInfo user)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isInitialized", "UserInfo user"));
1.1198.2.36. encircle(Bitmap icon)
private Drawable encircle(Bitmap icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"encircle", "Bitmap icon"));
1.1198.2.37. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1198.2.38. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.1198.2.39. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1198.2.40. onPhotoChanged(Drawable photo)
public void onPhotoChanged(Drawable photo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPhotoChanged", "Drawable photo"));
1.1198.2.41. onLabelChanged(CharSequence label)
public void onLabelChanged(CharSequence label)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLabelChanged", "CharSequence label"));
1.1198.2.42. static getDefaultUserIconAsBitmap(Resources resources,int userId)
private static Bitmap getDefaultUserIconAsBitmap(Resources resources, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Bitmap" ,"getDefaultUserIconAsBitmap", "Resources resources,int userId"));
1.1198.2.43. static assignDefaultPhoto(Context context,int userId)
static boolean assignDefaultPhoto(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"assignDefaultPhoto", "Context context,int userId"));
1.1198.2.44. static copyMeProfilePhoto(Context context,UserInfo user)
static void copyMeProfilePhoto(Context context, UserInfo user)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"copyMeProfilePhoto", "Context context,UserInfo user"));
1.1199. Utf8ByteLengthFilter.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/Utf8ByteLengthFilter.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1199.1. Utf8ByteLengthFilter Field属性列表
1.1199.1.1. final int mMaxBytes;
private final int mMaxBytes;
1.1199.2. Utf8ByteLengthFilterMethod方法列表
1.1199.2.1. filter(CharSequence source,int start,int end,Spanned dest,int dstart,int dend)
public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"filter", "CharSequence source,int start,int end,Spanned dest,int dstart,int dend"));
1.1200. Utils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/bluetooth/Utils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1200.1. Utils Field属性列表
1.1200.1.1. static final boolean V
// verbose logging
static final boolean V = com.android.settingslib.bluetooth.Utils.V;
1.1200.1.2. static final boolean D
// regular logging
static final boolean D = com.android.settingslib.bluetooth.Utils.D;
1.1200.1.3. static final ErrorListener mErrorListener
private static final ErrorListener mErrorListener = new ErrorListener() {
@Override
public void onShowError(Context context, String name, int messageResId) {
showError(context, name, messageResId);
}
};
1.1200.1.4. static final BluetoothManagerCallback mOnInitCallback
private static final BluetoothManagerCallback mOnInitCallback = new BluetoothManagerCallback() {
@Override
public void onBluetoothManagerInitialized(Context appContext, LocalBluetoothManager bluetoothManager) {
com.android.settingslib.bluetooth.Utils.setErrorListener(mErrorListener);
}
};
1.1200.2. UtilsMethod方法列表
1.1200.2.1. static getConnectionStateSummary(int connectionState)
public static int getConnectionStateSummary(int connectionState)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getConnectionStateSummary", "int connectionState"));
1.1200.2.2. static showDisconnectDialog(Context context,AlertDialog dialog,DialogInterface.OnClickListener disconnectListener,CharSequence title,CharSequence message)
static AlertDialog showDisconnectDialog(Context context, AlertDialog dialog, DialogInterface.OnClickListener disconnectListener, CharSequence title, CharSequence message)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"showDisconnectDialog", "Context context,AlertDialog dialog,DialogInterface.OnClickListener disconnectListener,CharSequence title,CharSequence message"));
1.1200.2.3. static showConnectingError(Context context,String name)
static void showConnectingError(Context context, String name)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showConnectingError", "Context context,String name"));
1.1200.2.4. static showConnectingError(Context context,String name,LocalBluetoothManager manager)
static void showConnectingError(Context context, String name, LocalBluetoothManager manager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showConnectingError", "Context context,String name,LocalBluetoothManager manager"));
1.1200.2.5. static showError(Context context,String name,int messageResId)
static void showError(Context context, String name, int messageResId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "Context context,String name,int messageResId"));
1.1200.2.6. static showError(Context context,String name,int messageResId,LocalBluetoothManager manager)
private static void showError(Context context, String name, int messageResId, LocalBluetoothManager manager)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showError", "Context context,String name,int messageResId,LocalBluetoothManager manager"));
1.1200.2.7. static getLocalBtManager(Context context)
public static LocalBluetoothManager getLocalBtManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"LocalBluetoothManager" ,"getLocalBtManager", "Context context"));
1.1200.2.8. static createRemoteName(Context context,BluetoothDevice device)
public static String createRemoteName(Context context, BluetoothDevice device)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"createRemoteName", "Context context,BluetoothDevice device"));
1.1200.2.9. static isBluetoothScanningEnabled(Context context)
public static boolean isBluetoothScanningEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBluetoothScanningEnabled", "Context context"));
1.1201. Utils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/Utils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1201.1. Utils Field属性列表
1.1201.1.1. static final String TAG
private static final String TAG = "Settings";
1.1201.1.2. static final int UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY
/**
* Set the preference's title to the matching activity's label.
*/
public static final int UPDATE_PREFERENCE_FLAG_SET_TITLE_TO_MATCHING_ACTIVITY = 1;
1.1201.1.3. static final int[] BADNESS_COLORS
/**
* Color spectrum to use to indicate badness. 0 is completely transparent (no data),
* 1 is most bad (red), the last value is least bad (green).
*/
public static final int[] BADNESS_COLORS = new int[] { 0x00000000, 0xffc43828, 0xffe54918, 0xfff47b00, 0xfffabf2c, 0xff679e37, 0xff0a7f42 };
1.1201.1.4. static final String SETTINGS_PACKAGE_NAME
private static final String SETTINGS_PACKAGE_NAME = "com.android.settings";
1.1201.1.5. static final String OS_PKG
public static final String OS_PKG = "os";
1.1201.1.6. static final StringBuilder sBuilder
private static final StringBuilder sBuilder = new StringBuilder(50);
1.1201.1.7. static final java.util.Formatter sFormatter
private static final java.util.Formatter sFormatter = new java.util.Formatter(sBuilder, Locale.getDefault());
1.1201.2. UtilsMethod方法列表
1.1201.2.1. static updatePreferenceToSpecificActivityOrRemove(Context context,PreferenceGroup parentPreferenceGroup,String preferenceKey,int flags)
public static boolean updatePreferenceToSpecificActivityOrRemove(Context context, PreferenceGroup parentPreferenceGroup, String preferenceKey, int flags)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"updatePreferenceToSpecificActivityOrRemove", "Context context,PreferenceGroup parentPreferenceGroup,String preferenceKey,int flags"));
1.1201.2.2. static getUserManager(Context context)
public static UserManager getUserManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserManager" ,"getUserManager", "Context context"));
1.1201.2.3. static isMonkeyRunning()
public static boolean isMonkeyRunning()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isMonkeyRunning", ""));
1.1201.2.4. static isVoiceCapable(Context context)
public static boolean isVoiceCapable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVoiceCapable", "Context context"));
1.1201.2.5. static getWifiIpAddresses(Context context)
public static String getWifiIpAddresses(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getWifiIpAddresses", "Context context"));
1.1201.2.6. static formatIpAddresses(LinkProperties prop)
private static String formatIpAddresses(LinkProperties prop)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatIpAddresses", "LinkProperties prop"));
1.1201.2.7. static createLocaleFromString(String localeStr)
public static Locale createLocaleFromString(String localeStr)
methodList.add(new ZMethod(mZAndroidAPPClass,"Locale" ,"createLocaleFromString", "String localeStr"));
1.1201.2.8. static isBatteryPresent(Intent batteryChangedIntent)
public static boolean isBatteryPresent(Intent batteryChangedIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBatteryPresent", "Intent batteryChangedIntent"));
1.1201.2.9. static getBatteryPercentage(Intent batteryChangedIntent)
public static String getBatteryPercentage(Intent batteryChangedIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getBatteryPercentage", "Intent batteryChangedIntent"));
1.1201.2.10. static prepareCustomPreferencesList(ViewGroup parent,View child,View list,boolean ignoreSidePadding)
public static void prepareCustomPreferencesList(ViewGroup parent, View child, View list, boolean ignoreSidePadding)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"prepareCustomPreferencesList", "ViewGroup parent,View child,View list,boolean ignoreSidePadding"));
1.1201.2.11. static forceCustomPadding(View view,boolean additive)
public static void forceCustomPadding(View view, boolean additive)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forceCustomPadding", "View view,boolean additive"));
1.1201.2.12. static getMeProfileName(Context context,boolean full)
public static String getMeProfileName(Context context, boolean full)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getMeProfileName", "Context context,boolean full"));
1.1201.2.13. static getShorterNameIfPossible(Context context)
private static String getShorterNameIfPossible(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getShorterNameIfPossible", "Context context"));
1.1201.2.14. static getLocalProfileGivenName(Context context)
private static String getLocalProfileGivenName(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLocalProfileGivenName", "Context context"));
1.1201.2.15. static hasMultipleUsers(Context context)
public static boolean hasMultipleUsers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasMultipleUsers", "Context context"));
1.1201.2.16. static getManagedProfile(UserManager userManager)
public static UserHandle getManagedProfile(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserHandle" ,"getManagedProfile", "UserManager userManager"));
1.1201.2.17. static getManagedProfileWithDisabled(UserManager userManager)
public static UserHandle getManagedProfileWithDisabled(UserManager userManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserHandle" ,"getManagedProfileWithDisabled", "UserManager userManager"));
1.1201.2.18. static getManagedProfileId(UserManager um,int parentUserId)
public static int getManagedProfileId(UserManager um, int parentUserId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getManagedProfileId", "UserManager um,int parentUserId"));
1.1201.2.19. static getSecureTargetUser(IBinder activityToken,UserManager um,@Nullable Bundle arguments,@Nullable Bundle intentExtras)
public static UserHandle getSecureTargetUser(IBinder activityToken, UserManager um, @Nullable Bundle arguments, @Nullable Bundle intentExtras)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserHandle" ,"getSecureTargetUser", "IBinder activityToken,UserManager um,@Nullable Bundle arguments,@Nullable Bundle intentExtras"));
1.1201.2.20. static getUserHandleFromBundle(Bundle bundle)
private static UserHandle getUserHandleFromBundle(Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserHandle" ,"getUserHandleFromBundle", "Bundle bundle"));
1.1201.2.21. static isProfileOf(UserManager um,UserHandle otherUser)
private static boolean isProfileOf(UserManager um, UserHandle otherUser)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProfileOf", "UserManager um,UserHandle otherUser"));
1.1201.2.22. static showSimCardTile(Context context)
public static boolean showSimCardTile(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showSimCardTile", "Context context"));
1.1201.2.23. static getExistingUser(UserManager userManager,UserHandle checkUser)
public static UserInfo getExistingUser(UserManager userManager, UserHandle checkUser)
methodList.add(new ZMethod(mZAndroidAPPClass,"UserInfo" ,"getExistingUser", "UserManager userManager,UserHandle checkUser"));
1.1201.2.24. static inflateCategoryHeader(LayoutInflater inflater,ViewGroup parent)
public static View inflateCategoryHeader(LayoutInflater inflater, ViewGroup parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"inflateCategoryHeader", "LayoutInflater inflater,ViewGroup parent"));
1.1201.2.25. static getHandledDomains(PackageManager pm,String packageName)
public static ArraySet getHandledDomains(PackageManager pm, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"ArraySet" ,"getHandledDomains", "PackageManager pm,String packageName"));
1.1201.2.26. static getAdminApplicationInfo(Context context,int profileId)
public static ApplicationInfo getAdminApplicationInfo(Context context, int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ApplicationInfo" ,"getAdminApplicationInfo", "Context context,int profileId"));
1.1201.2.27. static isBandwidthControlEnabled()
public static boolean isBandwidthControlEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isBandwidthControlEnabled", ""));
1.1201.2.28. static createAccessibleSequence(CharSequence displayText,String accessibileText)
public static SpannableString createAccessibleSequence(CharSequence displayText, String accessibileText)
methodList.add(new ZMethod(mZAndroidAPPClass,"SpannableString" ,"createAccessibleSequence", "CharSequence displayText,String accessibileText"));
1.1201.2.29. static getUserIdFromBundle(Context context,Bundle bundle)
public static int getUserIdFromBundle(Context context, Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserIdFromBundle", "Context context,Bundle bundle"));
1.1201.2.30. static getUserIdFromBundle(Context context,Bundle bundle,boolean isInternal)
public static int getUserIdFromBundle(Context context, Bundle bundle, boolean isInternal)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getUserIdFromBundle", "Context context,Bundle bundle,boolean isInternal"));
1.1201.2.31. static enforceSystemUser(Context context,int userId)
public static int enforceSystemUser(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"enforceSystemUser", "Context context,int userId"));
1.1201.2.32. static enforceSameOwner(Context context,int userId)
public static int enforceSameOwner(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"enforceSameOwner", "Context context,int userId"));
1.1201.2.33. static getCredentialOwnerUserId(Context context)
public static int getCredentialOwnerUserId(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCredentialOwnerUserId", "Context context"));
1.1201.2.34. static getCredentialOwnerUserId(Context context,int userId)
public static int getCredentialOwnerUserId(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getCredentialOwnerUserId", "Context context,int userId"));
1.1201.2.35. static formatDateRange(Context context,long start,long end)
public static String formatDateRange(Context context, long start, long end)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"formatDateRange", "Context context,long start,long end"));
1.1201.2.36. static isDeviceProvisioned(Context context)
public static boolean isDeviceProvisioned(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeviceProvisioned", "Context context"));
1.1201.2.37. static startQuietModeDialogIfNecessary(Context context,UserManager um,int userId)
public static boolean startQuietModeDialogIfNecessary(Context context, UserManager um, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"startQuietModeDialogIfNecessary", "Context context,UserManager um,int userId"));
1.1201.2.38. static unlockWorkProfileIfNecessary(Context context,int userId)
public static boolean unlockWorkProfileIfNecessary(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"unlockWorkProfileIfNecessary", "Context context,int userId"));
1.1201.2.39. static confirmWorkProfileCredentials(Context context,int userId)
private static boolean confirmWorkProfileCredentials(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"confirmWorkProfileCredentials", "Context context,int userId"));
1.1201.2.40. static getApplicationLabel(Context context,String packageName)
public static CharSequence getApplicationLabel(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getApplicationLabel", "Context context,String packageName"));
1.1201.2.41. static isPackageDirectBootAware(Context context,String packageName)
public static boolean isPackageDirectBootAware(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPackageDirectBootAware", "Context context,String packageName"));
1.1201.2.42. static createPackageContextAsUser(Context context,int userId)
public static Context createPackageContextAsUser(Context context, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"createPackageContextAsUser", "Context context,int userId"));
1.1201.2.43. static getFingerprintManagerOrNull(Context context)
public static FingerprintManager getFingerprintManagerOrNull(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"FingerprintManager" ,"getFingerprintManagerOrNull", "Context context"));
1.1201.2.44. static hasFingerprintHardware(Context context)
public static boolean hasFingerprintHardware(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasFingerprintHardware", "Context context"));
1.1201.2.45. static launchIntent(Fragment fragment,Intent intent)
public static void launchIntent(Fragment fragment, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchIntent", "Fragment fragment,Intent intent"));
1.1201.2.46. static isDemoUser(Context context)
public static boolean isDemoUser(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDemoUser", "Context context"));
1.1201.2.47. static getDeviceOwnerComponent(Context context)
public static ComponentName getDeviceOwnerComponent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ComponentName" ,"getDeviceOwnerComponent", "Context context"));
1.1201.2.48. static isProfileOf(UserInfo user,UserInfo profile)
public static boolean isProfileOf(UserInfo user, UserInfo profile)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProfileOf", "UserInfo user,UserInfo profile"));
1.1201.2.49. static maybeInitializeVolume(StorageManager sm,Bundle bundle)
public static VolumeInfo maybeInitializeVolume(StorageManager sm, Bundle bundle)
methodList.add(new ZMethod(mZAndroidAPPClass,"VolumeInfo" ,"maybeInitializeVolume", "StorageManager sm,Bundle bundle"));
1.1201.2.50. static isProfileOrDeviceOwner(UserManager userManager,DevicePolicyManager devicePolicyManager,String packageName)
public static boolean isProfileOrDeviceOwner(UserManager userManager, DevicePolicyManager devicePolicyManager, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isProfileOrDeviceOwner", "UserManager userManager,DevicePolicyManager devicePolicyManager,String packageName"));
1.1201.2.51. static getInstallationStatus(ApplicationInfo info)
public static int getInstallationStatus(ApplicationInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getInstallationStatus", "ApplicationInfo info"));
1.1201.2.52. static isVolumeValid(VolumeInfo volume)
private static boolean isVolumeValid(VolumeInfo volume)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVolumeValid", "VolumeInfo volume"));
1.1201.2.53. static setEditTextCursorPosition(EditText editText)
public static void setEditTextCursorPosition(EditText editText)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEditTextCursorPosition", "EditText editText"));
1.1201.2.54. static setSafeIcon(Preference pref,Drawable icon)
public static void setSafeIcon(Preference pref, Drawable icon)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSafeIcon", "Preference pref,Drawable icon"));
1.1201.2.55. static getSafeDrawable(Drawable original,int maxWidth,int maxHeight)
public static Drawable getSafeDrawable(Drawable original, int maxWidth, int maxHeight)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getSafeDrawable", "Drawable original,int maxWidth,int maxHeight"));
1.1201.2.56. static getBadgedIcon(IconDrawableFactory iconDrawableFactory,PackageManager packageManager,String packageName,int userId)
public static Drawable getBadgedIcon(IconDrawableFactory iconDrawableFactory, PackageManager packageManager, String packageName, int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getBadgedIcon", "IconDrawableFactory iconDrawableFactory,PackageManager packageManager,String packageName,int userId"));
1.1201.2.57. static final getProfileDisplayName(Context context)
private static final String getProfileDisplayName(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getProfileDisplayName", "Context context"));
1.1202. ValidatedEditTextPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/ValidatedEditTextPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1202.1. ValidatedEditTextPreference Field属性列表
1.1202.1.1. Validator mValidator;
private Validator mValidator;
1.1202.1.2. boolean mIsPassword;
private boolean mIsPassword;
1.1202.1.3. boolean mIsSummaryPassword;
private boolean mIsSummaryPassword;
1.1202.1.4. final EditTextWatcher mTextWatcher
private final EditTextWatcher mTextWatcher = new EditTextWatcher();
1.1202.2. ValidatedEditTextPreferenceMethod方法列表
1.1202.2.1. onBindDialogView(View view)
protected void onBindDialogView(View view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindDialogView", "View view"));
1.1202.2.2. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.1202.2.3. setIsPassword(boolean isPassword)
public void setIsPassword(boolean isPassword)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsPassword", "boolean isPassword"));
1.1202.2.4. setIsSummaryPassword(boolean isPassword)
public void setIsSummaryPassword(boolean isPassword)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIsSummaryPassword", "boolean isPassword"));
1.1202.2.5. isPassword()
public boolean isPassword()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPassword", ""));
1.1202.2.6. setValidator(Validator validator)
public void setValidator(Validator validator)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setValidator", "Validator validator"));
1.1203. VerifyAppsOverUsbPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/VerifyAppsOverUsbPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1203.1. VerifyAppsOverUsbPreferenceController Field属性列表
1.1203.1.1. final RestrictedLockUtilsDelegate mRestrictedLockUtils
// NB: This field is accessed using reflection in the test, please keep name in sync.
private final RestrictedLockUtilsDelegate mRestrictedLockUtils = new RestrictedLockUtilsDelegate();
1.1203.1.2. final PackageManagerWrapper mPackageManager;
// This field is accessed using reflection in the test, please keep name in sync.
private final PackageManagerWrapper mPackageManager;
1.1203.1.3. static final String VERIFY_APPS_OVER_USB_KEY
private static final String VERIFY_APPS_OVER_USB_KEY = "verify_apps_over_usb";
1.1203.1.4. static final String PACKAGE_MIME_TYPE
private static final String PACKAGE_MIME_TYPE = "application/vnd.android.package-archive";
1.1203.1.5. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1203.1.6. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1203.2. VerifyAppsOverUsbPreferenceControllerMethod方法列表
1.1203.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1203.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1203.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1203.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1203.2.5. onAdbSettingChanged()
public void onAdbSettingChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAdbSettingChanged", ""));
1.1203.2.6. onDeveloperOptionsSwitchEnabled()
protected void onDeveloperOptionsSwitchEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchEnabled", ""));
1.1203.2.7. shouldBeEnabled()
private boolean shouldBeEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldBeEnabled", ""));
1.1204. VibrateOnTouchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VibrateOnTouchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1204.1. VibrateOnTouchPreferenceController Field属性列表
1.1204.1.1. static final String KEY_VIBRATE_ON_TOUCH
private static final String KEY_VIBRATE_ON_TOUCH = "vibrate_on_touch";
1.1204.2. VibrateOnTouchPreferenceControllerMethod方法列表
1.1204.2.1. static hasHaptic(Context context)
private static boolean hasHaptic(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasHaptic", "Context context"));
1.1205. VibrateWhenRingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VibrateWhenRingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1205.1. VibrateWhenRingPreferenceController Field属性列表
1.1205.1.1. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.1205.1.2. final int DEFAULT_VALUE
private final int DEFAULT_VALUE = 0;
1.1205.1.3. final int NOTIFICATION_VIBRATE_WHEN_RINGING
private final int NOTIFICATION_VIBRATE_WHEN_RINGING = 1;
1.1205.1.4. static final String KEY_VIBRATE_WHEN_RINGING
private static final String KEY_VIBRATE_WHEN_RINGING = "vibrate_when_ringing";
1.1205.2. VibrateWhenRingPreferenceControllerMethod方法列表
1.1205.2.1. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1205.2.2. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1205.2.3. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1205.2.4. isSliceable()
public boolean isSliceable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSliceable", ""));
1.1205.2.5. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1205.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1205.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1206. VibrationIntensityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/VibrationIntensityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1206.1. VibrationIntensityPreferenceController Field属性列表
1.1206.1.1. Preference mPreference;
private Preference mPreference;
1.1206.1.2. final Vibrator mVibrator;
protected final Vibrator mVibrator;
1.1206.1.3. final SettingObserver mSettingsContentObserver;
private final SettingObserver mSettingsContentObserver;
1.1206.1.4. final String mSettingKey;
private final String mSettingKey;
1.1206.2. VibrationIntensityPreferenceControllerMethod方法列表
1.1206.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1206.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1206.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1206.2.4. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1206.2.5. abstract getDefaultIntensity()
protected abstract int getDefaultIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultIntensity", ""));
1.1206.2.6. static getIntensityString(Context context,int intensity)
public static CharSequence getIntensityString(Context context, int intensity)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getIntensityString", "Context context,int intensity"));
1.1207. VibrationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VibrationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1207.1. VibrationPreferenceController Field属性列表
1.1207.1.1. final Vibrator mVibrator;
private final Vibrator mVibrator;
1.1207.1.2. static final String KEY_VIBRATE
private static final String KEY_VIBRATE = "vibrate";
1.1207.2. VibrationPreferenceControllerMethod方法列表
1.1207.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1207.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1207.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1207.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1208. VibrationPreferenceFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/VibrationPreferenceFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1208.1. VibrationPreferenceFragment Field属性列表
1.1208.1.1. final Map mCandidates;
private final Map mCandidates;
1.1208.1.2. final SettingsObserver mSettingsObserver;
private final SettingsObserver mSettingsObserver;
1.1208.1.3. static final String TAG
private static final String TAG = "VibrationPreferenceFragment";
1.1208.1.4. static final String KEY_INTENSITY_OFF
@VisibleForTesting
static final String KEY_INTENSITY_OFF = "intensity_off";
1.1208.1.5. static final String KEY_INTENSITY_LOW
@VisibleForTesting
static final String KEY_INTENSITY_LOW = "intensity_low";
1.1208.1.6. static final String KEY_INTENSITY_MEDIUM
@VisibleForTesting
static final String KEY_INTENSITY_MEDIUM = "intensity_medium";
1.1208.1.7. static final String KEY_INTENSITY_HIGH
@VisibleForTesting
static final String KEY_INTENSITY_HIGH = "intensity_high";
1.1208.1.8. static final @VisibleForTesting static String KEY_INTENSITY_ON
// KEY_INTENSITY_ON is only used when the device doesn't support multiple intensity levels.
@VisibleForTesting
static final String KEY_INTENSITY_ON = "intensity_on";
1.1208.2. VibrationPreferenceFragmentMethod方法列表
1.1208.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1208.2.2. loadCandidates(Context context)
private void loadCandidates(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadCandidates", "Context context"));
1.1208.2.3. onDetach()
public void onDetach()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetach", ""));
1.1208.2.4. onVibrationIntensitySelected(int intensity)
protected void onVibrationIntensitySelected(int intensity)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onVibrationIntensitySelected", "int intensity"));
1.1208.2.5. playVibrationPreview()
protected void playVibrationPreview()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"playVibrationPreview", ""));
1.1208.2.6. getPreviewVibrationAudioAttributesUsage()
protected int getPreviewVibrationAudioAttributesUsage()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreviewVibrationAudioAttributesUsage", ""));
1.1208.2.7. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1208.2.8. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1208.2.9. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1208.2.10. abstract getVibrationIntensitySetting()
protected abstract String getVibrationIntensitySetting()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getVibrationIntensitySetting", ""));
1.1208.2.11. abstract getDefaultVibrationIntensity()
protected abstract int getDefaultVibrationIntensity()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultVibrationIntensity", ""));
1.1209. VibrationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/accessibility/VibrationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1209.1. VibrationSettings Field属性列表
1.1209.1.1. static final String TAG
private static final String TAG = "VibrationSettings";
1.1209.1.2. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
List indexables = new ArrayList<>();
SearchIndexableResource indexable = new SearchIndexableResource(context);
indexable.xmlResId = R.xml.accessibility_vibration_settings;
indexables.add(indexable);
return indexables;
}
};
1.1209.2. VibrationSettingsMethod方法列表
1.1209.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1209.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1209.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1210. VideoPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/VideoPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1210.1. VideoPreference Field属性列表
1.1210.1.1. Uri mVideoPath;
private Uri mVideoPath;
1.1210.1.2. MediaPlayer mMediaPlayer;
@VisibleForTesting
MediaPlayer mMediaPlayer;
1.1210.1.3. boolean mAnimationAvailable;
@VisibleForTesting
boolean mAnimationAvailable;
1.1210.1.4. boolean mVideoReady;
private boolean mVideoReady;
1.1210.1.5. boolean mVideoPaused;
private boolean mVideoPaused;
1.1210.1.6. float mAspectRadio
private float mAspectRadio = 1.0f;
1.1210.1.7. int mPreviewResource;
private int mPreviewResource;
1.1210.1.8. final Context mContext;
private final Context mContext;
1.1210.1.9. static final String TAG
private static final String TAG = "VideoPreference";
1.1210.2. VideoPreferenceMethod方法列表
1.1210.2.1. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.1210.2.2. onDetached()
public void onDetached()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDetached", ""));
1.1210.2.3. onViewVisible(boolean videoPaused)
public void onViewVisible(boolean videoPaused)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewVisible", "boolean videoPaused"));
1.1210.2.4. onViewInvisible()
public void onViewInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewInvisible", ""));
1.1210.2.5. isVideoPaused()
public boolean isVideoPaused()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVideoPaused", ""));
1.1210.2.6. updateAspectRatio()
void updateAspectRatio()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAspectRatio", ""));
1.1211. VirtualKeyboardFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/VirtualKeyboardFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1211.1. VirtualKeyboardFragment Field属性列表
1.1211.1.1. InputMethodManager mImm;
private InputMethodManager mImm;
1.1211.1.2. DevicePolicyManager mDpm;
private DevicePolicyManager mDpm;
1.1211.1.3. Preference mAddVirtualKeyboardScreen;
private Preference mAddVirtualKeyboardScreen;
1.1211.1.4. final ArrayList mInputMethodPreferenceList
private final ArrayList mInputMethodPreferenceList = new ArrayList<>();
1.1211.1.5. static final String ADD_VIRTUAL_KEYBOARD_SCREEN
private static final String ADD_VIRTUAL_KEYBOARD_SCREEN = "add_virtual_keyboard_screen";
1.1211.1.6. static final Drawable NO_ICON
private static final Drawable NO_ICON = new ColorDrawable(Color.TRANSPARENT);
1.1211.1.7. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.virtual_keyboard_settings;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
keys.add("add_virtual_keyboard_screen");
return keys;
}
};
1.1211.2. VirtualKeyboardFragmentMethod方法列表
1.1211.2.1. onCreatePreferences(Bundle bundle,String s)
public void onCreatePreferences(Bundle bundle, String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle bundle,String s"));
1.1211.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1211.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1211.2.4. updateInputMethodPreferenceViews()
private void updateInputMethodPreferenceViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateInputMethodPreferenceViews", ""));
1.1212. VirtualKeyboardPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/inputmethod/VirtualKeyboardPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1212.1. VirtualKeyboardPreferenceController Field属性列表
1.1212.1.1. final InputMethodManager mImm;
private final InputMethodManager mImm;
1.1212.1.2. final DevicePolicyManager mDpm;
private final DevicePolicyManager mDpm;
1.1212.1.3. final PackageManager mPm;
private final PackageManager mPm;
1.1212.2. VirtualKeyboardPreferenceControllerMethod方法列表
1.1212.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1212.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1212.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1213. VisibilityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VisibilityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1213.1. VisibilityPreferenceController Field属性列表
1.1213.1.1. LockPatternUtils mLockPatternUtils;
private LockPatternUtils mLockPatternUtils;
1.1213.1.2. static final String TAG
private static final String TAG = "ChannelVisPrefContr";
1.1213.1.3. static final String KEY_VISIBILITY_OVERRIDE
private static final String KEY_VISIBILITY_OVERRIDE = "visibility_override";
1.1213.2. VisibilityPreferenceControllerMethod方法列表
1.1213.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1213.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1213.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1213.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1213.2.5. setRestrictedIfNotificationFeaturesDisabled(RestrictedListPreference pref,CharSequence entry,CharSequence entryValue,int keyguardNotificationFeatures)
private void setRestrictedIfNotificationFeaturesDisabled(RestrictedListPreference pref, CharSequence entry, CharSequence entryValue, int keyguardNotificationFeatures)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRestrictedIfNotificationFeaturesDisabled", "RestrictedListPreference pref,CharSequence entry,CharSequence entryValue,int keyguardNotificationFeatures"));
1.1213.2.6. getGlobalVisibility()
private int getGlobalVisibility()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getGlobalVisibility", ""));
1.1213.2.7. getLockscreenNotificationsEnabled()
private boolean getLockscreenNotificationsEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getLockscreenNotificationsEnabled", ""));
1.1213.2.8. getLockscreenAllowPrivateNotifications()
private boolean getLockscreenAllowPrivateNotifications()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getLockscreenAllowPrivateNotifications", ""));
1.1213.2.9. isLockScreenSecure()
protected boolean isLockScreenSecure()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isLockScreenSecure", ""));
1.1214. VisiblePatternProfilePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/security/VisiblePatternProfilePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1214.1. VisiblePatternProfilePreferenceController Field属性列表
1.1214.1.1. Preference mPreference;
private Preference mPreference;
1.1214.1.2. final LockPatternUtils mLockPatternUtils;
private final LockPatternUtils mLockPatternUtils;
1.1214.1.3. final UserManager mUm;
private final UserManager mUm;
1.1214.1.4. final int mUserId
private final int mUserId = UserHandle.myUserId();
1.1214.1.5. final int mProfileChallengeUserId;
private final int mProfileChallengeUserId;
1.1214.1.6. static final String KEY_VISIBLE_PATTERN_PROFILE
private static final String KEY_VISIBLE_PATTERN_PROFILE = "visiblepattern_profile";
1.1214.1.7. static final String TAG
private static final String TAG = "VisPtnProfPrefCtrl";
1.1214.2. VisiblePatternProfilePreferenceControllerMethod方法列表
1.1214.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1214.2.2. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1214.2.3. setChecked(boolean isChecked)
public boolean setChecked(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setChecked", "boolean isChecked"));
1.1214.2.4. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1214.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1215. VoiceInputHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/assist/VoiceInputHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1215.1. VoiceInputHelper Field属性列表
1.1215.1.1. ComponentName mCurrentVoiceInteraction;
ComponentName mCurrentVoiceInteraction;
1.1215.1.2. ComponentName mCurrentRecognizer;
ComponentName mCurrentRecognizer;
1.1215.1.3. final Context mContext;
final Context mContext;
1.1215.1.4. final List mAvailableVoiceInteractions;
final List mAvailableVoiceInteractions;
1.1215.1.5. final List mAvailableRecognition;
final List mAvailableRecognition;
1.1215.1.6. final ArrayList mAvailableInteractionInfos
final ArrayList mAvailableInteractionInfos = new ArrayList<>();
1.1215.1.7. final ArrayList mAvailableRecognizerInfos
final ArrayList mAvailableRecognizerInfos = new ArrayList<>();
1.1215.1.8. static final String TAG
static final String TAG = "VoiceInputHelper";
1.1215.2. VoiceInputHelperMethod方法列表
1.1215.2.1. buildUi()
public void buildUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildUi", ""));
1.1216. VoiceSettingsActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/VoiceSettingsActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1216.1. VoiceSettingsActivity Field属性列表
1.1216.1.1. static final String TAG
private static final String TAG = "VoiceSettingsActivity";
1.1216.2. VoiceSettingsActivityMethod方法列表
1.1216.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1216.2.2. notifySuccess(CharSequence prompt)
protected void notifySuccess(CharSequence prompt)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifySuccess", "CharSequence prompt"));
1.1216.2.3. notifyFailure(CharSequence prompt)
protected void notifyFailure(CharSequence prompt)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"notifyFailure", "CharSequence prompt"));
1.1216.2.4. abstract onVoiceSettingInteraction(Intent intent)
protected abstract boolean onVoiceSettingInteraction(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onVoiceSettingInteraction", "Intent intent"));
1.1217. VolumeSeekBarPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VolumeSeekBarPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1217.1. VolumeSeekBarPreference Field属性列表
1.1217.1.1. int mStream;
private int mStream;
1.1217.1.2. SeekBar mSeekBar;
private SeekBar mSeekBar;
1.1217.1.3. SeekBarVolumizer mVolumizer;
private SeekBarVolumizer mVolumizer;
1.1217.1.4. Callback mCallback;
private Callback mCallback;
1.1217.1.5. ImageView mIconView;
private ImageView mIconView;
1.1217.1.6. TextView mSuppressionTextView;
private TextView mSuppressionTextView;
1.1217.1.7. String mSuppressionText;
private String mSuppressionText;
1.1217.1.8. boolean mMuted;
private boolean mMuted;
1.1217.1.9. boolean mZenMuted;
private boolean mZenMuted;
1.1217.1.10. int mIconResId;
private int mIconResId;
1.1217.1.11. int mMuteIconResId;
private int mMuteIconResId;
1.1217.1.12. boolean mStopped;
private boolean mStopped;
1.1217.1.13. AudioManager mAudioManager;
@VisibleForTesting
AudioManager mAudioManager;
1.1217.1.14. static final String TAG
private static final String TAG = "VolumeSeekBarPreference";
1.1217.2. VolumeSeekBarPreferenceMethod方法列表
1.1217.2.1. setStream(int stream)
public void setStream(int stream)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setStream", "int stream"));
1.1217.2.2. setCallback(Callback callback)
public void setCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCallback", "Callback callback"));
1.1217.2.3. onActivityResume()
public void onActivityResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResume", ""));
1.1217.2.4. onActivityPause()
public void onActivityPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityPause", ""));
1.1217.2.5. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1217.2.6. init()
private void init()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"init", ""));
1.1217.2.7. updateIconView()
private void updateIconView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateIconView", ""));
1.1217.2.8. showIcon(int resId)
public void showIcon(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showIcon", "int resId"));
1.1217.2.9. setMuteIcon(int resId)
public void setMuteIcon(int resId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMuteIcon", "int resId"));
1.1217.2.10. getMediaVolumeUri()
private Uri getMediaVolumeUri()
methodList.add(new ZMethod(mZAndroidAPPClass,"Uri" ,"getMediaVolumeUri", ""));
1.1217.2.11. setSuppressionText(String text)
public void setSuppressionText(String text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSuppressionText", "String text"));
1.1217.2.12. updateSuppressionText()
private void updateSuppressionText()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSuppressionText", ""));
1.1218. VolumeSeekBarPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/VolumeSeekBarPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1218.1. VolumeSeekBarPreferenceController Field属性列表
1.1218.1.1. VolumeSeekBarPreference mPreference;
protected VolumeSeekBarPreference mPreference;
1.1218.1.2. VolumeSeekBarPreference.Callback mVolumePreferenceCallback;
protected VolumeSeekBarPreference.Callback mVolumePreferenceCallback;
1.1218.1.3. AudioHelper mHelper;
protected AudioHelper mHelper;
1.1218.2. VolumeSeekBarPreferenceControllerMethod方法列表
1.1218.2.1. setAudioHelper(AudioHelper helper)
void setAudioHelper(AudioHelper helper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAudioHelper", "AudioHelper helper"));
1.1218.2.2. setCallback(Callback callback)
public void setCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCallback", "Callback callback"));
1.1218.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1218.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1218.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1218.2.6. getSliderPosition()
public int getSliderPosition()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSliderPosition", ""));
1.1218.2.7. setSliderPosition(int position)
public boolean setSliderPosition(int position)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setSliderPosition", "int position"));
1.1218.2.8. getMaxSteps()
public int getMaxSteps()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMaxSteps", ""));
1.1218.2.9. abstract getAudioStream()
protected abstract int getAudioStream()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAudioStream", ""));
1.1218.2.10. abstract getMuteIcon()
protected abstract int getMuteIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMuteIcon", ""));
1.1219. VolumeSizesLoader.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/VolumeSizesLoader.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1219.1. VolumeSizesLoader Field属性列表
1.1219.1.1. StorageVolumeProvider mVolumeProvider;
private StorageVolumeProvider mVolumeProvider;
1.1219.1.2. StorageStatsManager mStats;
private StorageStatsManager mStats;
1.1219.1.3. VolumeInfo mVolume;
private VolumeInfo mVolume;
1.1219.2. VolumeSizesLoaderMethod方法列表
1.1219.2.1. onDiscardResult(PrivateStorageInfo result)
protected void onDiscardResult(PrivateStorageInfo result)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDiscardResult", "PrivateStorageInfo result"));
1.1219.2.2. loadInBackground()
public PrivateStorageInfo loadInBackground()
methodList.add(new ZMethod(mZAndroidAPPClass,"PrivateStorageInfo" ,"loadInBackground", ""));
1.1219.2.3. static getVolumeSize(StorageVolumeProvider storageVolumeProvider,StorageStatsManager stats,VolumeInfo info)
static PrivateStorageInfo getVolumeSize(StorageVolumeProvider storageVolumeProvider, StorageStatsManager stats, VolumeInfo info) throws IOException
methodList.add(new ZMethod(mZAndroidAPPClass,"PrivateStorageInfo" ,"getVolumeSize", "StorageVolumeProvider storageVolumeProvider,StorageStatsManager stats,VolumeInfo info"));
1.1220. VpnPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/network/VpnPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1220.1. VpnPreferenceController Field属性列表
1.1220.1.1. Preference mPreference;
private Preference mPreference;
1.1220.1.2. final String mToggleable;
private final String mToggleable;
1.1220.1.3. final UserManager mUserManager;
private final UserManager mUserManager;
1.1220.1.4. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1220.1.5. final IConnectivityManager mConnectivityManagerService;
private final IConnectivityManager mConnectivityManagerService;
1.1220.1.6. final ConnectivityManager.NetworkCallback mNetworkCallback
// Copied from SystemUI::SecurityControllerImpl
private final ConnectivityManager.NetworkCallback mNetworkCallback = new ConnectivityManager.NetworkCallback() {
@Override
public void onAvailable(Network network) {
updateSummary();
}
@Override
public void onLost(Network network) {
updateSummary();
}
};
1.1220.1.7. static final String KEY_VPN_SETTINGS
private static final String KEY_VPN_SETTINGS = "vpn_settings";
1.1220.1.8. static final NetworkRequest REQUEST
private static final NetworkRequest REQUEST = new NetworkRequest.Builder().removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN).removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED).removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED).build();
1.1220.1.9. static final String TAG
private static final String TAG = "VpnPreferenceController";
1.1220.2. VpnPreferenceControllerMethod方法列表
1.1220.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1220.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1220.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1220.2.4. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1220.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1220.2.6. updateSummary()
void updateSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", ""));
1.1220.2.7. getNameForVpnConfig(VpnConfig cfg,UserHandle user)
String getNameForVpnConfig(VpnConfig cfg, UserHandle user)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getNameForVpnConfig", "VpnConfig cfg,UserHandle user"));
1.1221. VpnSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/VpnSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1221.1. VpnSettings Field属性列表
1.1221.1.1. ConnectivityManager mConnectivityManager;
private ConnectivityManager mConnectivityManager;
1.1221.1.2. UserManager mUserManager;
private UserManager mUserManager;
1.1221.1.3. Map mLegacyVpnPreferences
private Map mLegacyVpnPreferences = new ArrayMap<>();
1.1221.1.4. Map mAppPreferences
private Map mAppPreferences = new ArrayMap<>();
1.1221.1.5. Handler mUpdater;
@GuardedBy("this")
private Handler mUpdater;
1.1221.1.6. HandlerThread mUpdaterThread;
private HandlerThread mUpdaterThread;
1.1221.1.7. LegacyVpnInfo mConnectedLegacyVpn;
private LegacyVpnInfo mConnectedLegacyVpn;
1.1221.1.8. boolean mUnavailable;
private boolean mUnavailable;
1.1221.1.9. OnGearClickListener mGearListener
private OnGearClickListener mGearListener = new OnGearClickListener() {
@Override
public void onGearClick(GearPreference p) {
if (p instanceof LegacyVpnPreference) {
LegacyVpnPreference pref = (LegacyVpnPreference) p;
ConfigDialogFragment.show(VpnSettings.this, pref.getProfile(), true, /* editing */
true);
} else if (p instanceof AppPreference) {
AppPreference pref = (AppPreference) p;
AppManagementFragment.show(getPrefContext(), pref, getMetricsCategory());
}
}
};
1.1221.1.10. NetworkCallback mNetworkCallback
private NetworkCallback mNetworkCallback = new NetworkCallback() {
@Override
public void onAvailable(Network network) {
if (mUpdater != null) {
mUpdater.sendEmptyMessage(RESCAN_MESSAGE);
}
}
@Override
public void onLost(Network network) {
if (mUpdater != null) {
mUpdater.sendEmptyMessage(RESCAN_MESSAGE);
}
}
};
1.1221.1.11. final IConnectivityManager mConnectivityService
private final IConnectivityManager mConnectivityService = IConnectivityManager.Stub.asInterface(ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
1.1221.1.12. final KeyStore mKeyStore
private final KeyStore mKeyStore = KeyStore.getInstance();
1.1221.1.13. static final String LOG_TAG
private static final String LOG_TAG = "VpnSettings";
1.1221.1.14. static final int RESCAN_MESSAGE
private static final int RESCAN_MESSAGE = 0;
1.1221.1.15. static final int RESCAN_INTERVAL_MS
private static final int RESCAN_INTERVAL_MS = 1000;
1.1221.1.16. static final NetworkRequest VPN_REQUEST
private static final NetworkRequest VPN_REQUEST = new NetworkRequest.Builder().removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_VPN).removeCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED).removeCapability(NetworkCapabilities.NET_CAPABILITY_TRUSTED).build();
1.1221.2. VpnSettingsMethod方法列表
1.1221.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1221.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1221.2.3. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1221.2.4. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.1221.2.5. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1221.2.6. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1221.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1221.2.8. handleMessage(Message message)
public boolean handleMessage(Message message)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handleMessage", "Message message"));
1.1221.2.9. canAddPreferences()
public boolean canAddPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canAddPreferences", ""));
1.1221.2.10. setShownPreferences(final Collection updates)
public void setShownPreferences(final Collection updates)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setShownPreferences", "final Collection updates"));
1.1221.2.11. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1221.2.12. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1221.2.13. findOrCreatePreference(VpnProfile profile,boolean update)
public LegacyVpnPreference findOrCreatePreference(VpnProfile profile, boolean update)
methodList.add(new ZMethod(mZAndroidAPPClass,"LegacyVpnPreference" ,"findOrCreatePreference", "VpnProfile profile,boolean update"));
1.1221.2.14. findOrCreatePreference(AppVpnInfo app)
public AppPreference findOrCreatePreference(AppVpnInfo app)
methodList.add(new ZMethod(mZAndroidAPPClass,"AppPreference" ,"findOrCreatePreference", "AppVpnInfo app"));
1.1221.2.15. getConnectedLegacyVpns()
private Map getConnectedLegacyVpns()
methodList.add(new ZMethod(mZAndroidAPPClass,"Map" ,"getConnectedLegacyVpns", ""));
1.1221.2.16. getConnectedAppVpns()
private Set getConnectedAppVpns()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getConnectedAppVpns", ""));
1.1221.2.17. getAlwaysOnAppVpnInfos()
private Set getAlwaysOnAppVpnInfos()
methodList.add(new ZMethod(mZAndroidAPPClass,"Set" ,"getAlwaysOnAppVpnInfos", ""));
1.1221.2.18. static getVpnApps(Context context,boolean includeProfiles)
static List getVpnApps(Context context, boolean includeProfiles)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getVpnApps", "Context context,boolean includeProfiles"));
1.1221.2.19. static loadVpnProfiles(KeyStore keyStore,int... excludeTypes)
static List loadVpnProfiles(KeyStore keyStore, int... excludeTypes)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"loadVpnProfiles", "KeyStore keyStore,int... excludeTypes"));
1.1222. VpnUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/vpn2/VpnUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1222.1. VpnUtils Field属性列表
1.1222.1.1. static final String TAG
private static final String TAG = "VpnUtils";
1.1222.2. VpnUtilsMethod方法列表
1.1222.2.1. static getLockdownVpn()
public static String getLockdownVpn()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLockdownVpn", ""));
1.1222.2.2. static clearLockdownVpn(Context context)
public static void clearLockdownVpn(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearLockdownVpn", "Context context"));
1.1222.2.3. static setLockdownVpn(Context context,String lockdownKey)
public static void setLockdownVpn(Context context, String lockdownKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setLockdownVpn", "Context context,String lockdownKey"));
1.1222.2.4. static isVpnLockdown(String key)
public static boolean isVpnLockdown(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVpnLockdown", "String key"));
1.1222.2.5. static isAnyLockdownActive(Context context)
public static boolean isAnyLockdownActive(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAnyLockdownActive", "Context context"));
1.1222.2.6. static isVpnActive(Context context)
public static boolean isVpnActive(Context context) throws RemoteException
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVpnActive", "Context context"));
1.1222.2.7. static getConnectedPackage(IConnectivityManager service,final int userId)
public static String getConnectedPackage(IConnectivityManager service, final int userId) throws RemoteException
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConnectedPackage", "IConnectivityManager service,final int userId"));
1.1222.2.8. static getConnectivityManager(Context context)
private static ConnectivityManager getConnectivityManager(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConnectivityManager" ,"getConnectivityManager", "Context context"));
1.1222.2.9. static getIConnectivityManager()
private static IConnectivityManager getIConnectivityManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"IConnectivityManager" ,"getIConnectivityManager", ""));
1.1222.2.10. static isAlwaysOnVpnSet(ConnectivityManager cm,final int userId)
public static boolean isAlwaysOnVpnSet(ConnectivityManager cm, final int userId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAlwaysOnVpnSet", "ConnectivityManager cm,final int userId"));
1.1222.2.11. static disconnectLegacyVpn(Context context)
public static boolean disconnectLegacyVpn(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"disconnectLegacyVpn", "Context context"));
1.1223. VrDisplayPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/VrDisplayPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1223.1. VrDisplayPreferenceController Field属性列表
1.1223.1.1. static final String KEY_VR_DISPLAY_PREF
private static final String KEY_VR_DISPLAY_PREF = "vr_display_pref";
1.1223.2. VrDisplayPreferenceControllerMethod方法列表
1.1223.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1223.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1223.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1224. VrDisplayPreferencePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/VrDisplayPreferencePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1224.1. VrDisplayPreferencePicker Field属性列表
1.1224.1.1. static final String PREF_KEY_PREFIX
static final String PREF_KEY_PREFIX = "vr_display_pref_";
1.1224.2. VrDisplayPreferencePickerMethod方法列表
1.1224.2.1. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1224.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1224.2.3. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1224.2.4. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1224.2.5. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1225. VrListenerSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/VrListenerSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1225.1. VrListenerSettings Field属性列表
1.1225.1.1. static final String TAG
private static final String TAG = VrListenerSettings.class.getSimpleName();
1.1225.1.2. static final Config CONFIG
private static final Config CONFIG = new Config.Builder().setTag(TAG).setSetting(Settings.Secure.ENABLED_VR_LISTENERS).setIntentAction(VrListenerService.SERVICE_INTERFACE).setPermission(android.Manifest.permission.BIND_VR_LISTENER_SERVICE).setNoun("vr listener").setWarningDialogTitle(R.string.vr_listener_security_warning_title).setWarningDialogSummary(R.string.vr_listener_security_warning_summary).setEmptyText(R.string.no_vr_listeners).build();
1.1225.2. VrListenerSettingsMethod方法列表
1.1225.2.1. getConfig()
protected Config getConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"Config" ,"getConfig", ""));
1.1225.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1225.2.3. setEnabled(ComponentName service,String title,boolean enable)
protected boolean setEnabled(ComponentName service, String title, boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setEnabled", "ComponentName service,String title,boolean enable"));
1.1225.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1225.2.5. logSpecialPermissionChange(boolean enable,String packageName)
void logSpecialPermissionChange(boolean enable, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean enable,String packageName"));
1.1226. WaitForDebuggerPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WaitForDebuggerPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1226.1. WaitForDebuggerPreferenceController Field属性列表
1.1226.1.1. static final String WAIT_FOR_DEBUGGER_KEY
private static final String WAIT_FOR_DEBUGGER_KEY = "wait_for_debugger";
1.1226.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1226.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1226.2. WaitForDebuggerPreferenceControllerMethod方法列表
1.1226.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1226.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1226.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1226.2.4. onActivityResult(int requestCode,int resultCode,Intent data)
public boolean onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1226.2.5. updateState(Preference preference,String debugApp)
private void updateState(Preference preference, String debugApp)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference,String debugApp"));
1.1226.2.6. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1226.2.7. getActivityManagerService()
IActivityManager getActivityManagerService()
methodList.add(new ZMethod(mZAndroidAPPClass,"IActivityManager" ,"getActivityManagerService", ""));
1.1226.2.8. writeDebuggerAppOptions(String packageName,boolean waitForDebugger,boolean persistent)
private void writeDebuggerAppOptions(String packageName, boolean waitForDebugger, boolean persistent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeDebuggerAppOptions", "String packageName,boolean waitForDebugger,boolean persistent"));
1.1227. WakeLockAnomalyDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/WakeLockAnomalyDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1227.1. WakeLockAnomalyDetector Field属性列表
1.1227.1.1. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.1227.1.2. long mWakeLockThresholdMs;
@VisibleForTesting
long mWakeLockThresholdMs;
1.1227.1.3. PackageManager mPackageManager;
private PackageManager mPackageManager;
1.1227.1.4. Context mContext;
private Context mContext;
1.1227.1.5. AnomalyUtils mAnomalyUtils;
private AnomalyUtils mAnomalyUtils;
1.1227.1.6. static final String TAG
private static final String TAG = "WakeLockAnomalyChecker";
1.1227.2. WakeLockAnomalyDetectorMethod方法列表
1.1227.2.1. detectAnomalies(BatteryStatsHelper batteryStatsHelper)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper"));
1.1227.2.2. detectAnomalies(BatteryStatsHelper batteryStatsHelper,String targetPackageName)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper, String targetPackageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper,String targetPackageName"));
1.1227.2.3. getCurrentDurationMs(BatteryStats.Uid uid,long elapsedRealtimeMs)
long getCurrentDurationMs(BatteryStats.Uid uid, long elapsedRealtimeMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getCurrentDurationMs", "BatteryStats.Uid uid,long elapsedRealtimeMs"));
1.1227.2.4. getBackgroundTotalDurationMs(BatteryStats.Uid uid,long elapsedRealtimeMs)
long getBackgroundTotalDurationMs(BatteryStats.Uid uid, long elapsedRealtimeMs)
methodList.add(new ZMethod(mZAndroidAPPClass,"long" ,"getBackgroundTotalDurationMs", "BatteryStats.Uid uid,long elapsedRealtimeMs"));
1.1228. WakeupAlarmAnomalyDetector.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/fuelgauge/anomaly/checker/WakeupAlarmAnomalyDetector.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1228.1. WakeupAlarmAnomalyDetector Field属性列表
1.1228.1.1. BatteryUtils mBatteryUtils;
@VisibleForTesting
BatteryUtils mBatteryUtils;
1.1228.1.2. long mWakeupAlarmThreshold;
private long mWakeupAlarmThreshold;
1.1228.1.3. Set mWakeupBlacklistedTags;
private Set mWakeupBlacklistedTags;
1.1228.1.4. Context mContext;
private Context mContext;
1.1228.1.5. AnomalyUtils mAnomalyUtils;
private AnomalyUtils mAnomalyUtils;
1.1228.1.6. static final String TAG
private static final String TAG = "WakeupAlarmAnomalyDetector";
1.1228.2. WakeupAlarmAnomalyDetectorMethod方法列表
1.1228.2.1. detectAnomalies(BatteryStatsHelper batteryStatsHelper)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper"));
1.1228.2.2. detectAnomalies(BatteryStatsHelper batteryStatsHelper,String targetPackageName)
public List detectAnomalies(BatteryStatsHelper batteryStatsHelper, String targetPackageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"detectAnomalies", "BatteryStatsHelper batteryStatsHelper,String targetPackageName"));
1.1228.2.3. getWakeupAlarmCountFromUid(BatteryStats.Uid uid)
int getWakeupAlarmCountFromUid(BatteryStats.Uid uid)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWakeupAlarmCountFromUid", "BatteryStats.Uid uid"));
1.1229. WallpaperPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/display/WallpaperPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1229.1. WallpaperPreferenceController Field属性列表
1.1229.1.1. final String mWallpaperPackage;
private final String mWallpaperPackage;
1.1229.1.2. final String mWallpaperClass;
private final String mWallpaperClass;
1.1229.1.3. static final String TAG
private static final String TAG = "WallpaperPrefController";
1.1229.1.4. static final String KEY_WALLPAPER
public static final String KEY_WALLPAPER = "wallpaper";
1.1229.2. WallpaperPreferenceControllerMethod方法列表
1.1229.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1229.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1229.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1229.2.4. disablePreferenceIfManaged(RestrictedPreference pref)
private void disablePreferenceIfManaged(RestrictedPreference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disablePreferenceIfManaged", "RestrictedPreference pref"));
1.1230. WallpaperSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wallpaper/WallpaperSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1230.1. WallpaperSuggestionActivity Field属性列表
1.1230.2. WallpaperSuggestionActivityMethod方法列表
1.1230.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1230.2.2. startFallbackSuggestion()
void startFallbackSuggestion()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startFallbackSuggestion", ""));
1.1230.2.3. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.1230.2.4. static isWallpaperServiceEnabled(Context context)
private static boolean isWallpaperServiceEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWallpaperServiceEnabled", "Context context"));
1.1231. WallpaperTypeSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wallpaper/WallpaperTypeSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1231.1. WallpaperTypeSettings Field属性列表
1.1231.1.1. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList();
final Intent intent = new Intent(Intent.ACTION_SET_WALLPAPER);
final PackageManager pm = context.getPackageManager();
final List rList = pm.queryIntentActivities(intent, PackageManager.MATCH_DEFAULT_ONLY);
// Add indexable data for package that is in config_wallpaper_picker_package
final String wallpaperPickerPackage = context.getString(R.string.config_wallpaper_picker_package);
for (ResolveInfo info : rList) {
if (!wallpaperPickerPackage.equals(info.activityInfo.packageName)) {
continue;
}
CharSequence label = info.loadLabel(pm);
if (label == null)
label = info.activityInfo.packageName;
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = label.toString();
data.key = "wallpaper_type_settings";
data.screenTitle = context.getResources().getString(R.string.wallpaper_settings_fragment_title);
data.intentAction = Intent.ACTION_SET_WALLPAPER;
data.intentTargetPackage = info.activityInfo.packageName;
data.intentTargetClass = info.activityInfo.name;
data.keywords = context.getString(R.string.keywords_wallpaper);
result.add(data);
}
return result;
}
};
1.1231.2. WallpaperTypeSettingsMethod方法列表
1.1231.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1231.2.2. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1231.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1231.2.4. populateWallpaperTypes()
private void populateWallpaperTypes()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"populateWallpaperTypes", ""));
1.1231.2.5. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1232. WebViewAppPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/webview/WebViewAppPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1232.1. WebViewAppPicker Field属性列表
1.1232.1.1. WebViewUpdateServiceWrapper mWebViewUpdateServiceWrapper;
private WebViewUpdateServiceWrapper mWebViewUpdateServiceWrapper;
1.1232.2. WebViewAppPickerMethod方法列表
1.1232.2.1. getWebViewUpdateServiceWrapper()
private WebViewUpdateServiceWrapper getWebViewUpdateServiceWrapper()
methodList.add(new ZMethod(mZAndroidAPPClass,"WebViewUpdateServiceWrapper" ,"getWebViewUpdateServiceWrapper", ""));
1.1232.2.2. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1232.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1232.2.4. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1232.2.5. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1232.2.6. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1232.2.7. onSelectionPerformed(boolean success)
protected void onSelectionPerformed(boolean success)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSelectionPerformed", "boolean success"));
1.1232.2.8. createDefaultWebViewUpdateServiceWrapper()
private WebViewUpdateServiceWrapper createDefaultWebViewUpdateServiceWrapper()
methodList.add(new ZMethod(mZAndroidAPPClass,"WebViewUpdateServiceWrapper" ,"createDefaultWebViewUpdateServiceWrapper", ""));
1.1232.2.9. setWebViewUpdateServiceWrapper(WebViewUpdateServiceWrapper wvusWrapper)
void setWebViewUpdateServiceWrapper(WebViewUpdateServiceWrapper wvusWrapper)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWebViewUpdateServiceWrapper", "WebViewUpdateServiceWrapper wvusWrapper"));
1.1232.2.10. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1232.2.11. createDefaultAppInfo(Context context,PackageManagerWrapper pm,PackageItemInfo packageItemInfo,String disabledReason)
DefaultAppInfo createDefaultAppInfo(Context context, PackageManagerWrapper pm, PackageItemInfo packageItemInfo, String disabledReason)
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"createDefaultAppInfo", "Context context,PackageManagerWrapper pm,PackageItemInfo packageItemInfo,String disabledReason"));
1.1232.2.12. getDisabledReason(WebViewUpdateServiceWrapper webviewUpdateServiceWrapper,Context context,String packageName)
String getDisabledReason(WebViewUpdateServiceWrapper webviewUpdateServiceWrapper, Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDisabledReason", "WebViewUpdateServiceWrapper webviewUpdateServiceWrapper,Context context,String packageName"));
1.1233. WebViewAppPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WebViewAppPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1233.1. WebViewAppPreferenceController Field属性列表
1.1233.1.1. final PackageManagerWrapper mPackageManager;
private final PackageManagerWrapper mPackageManager;
1.1233.1.2. final WebViewUpdateServiceWrapper mWebViewUpdateServiceWrapper;
private final WebViewUpdateServiceWrapper mWebViewUpdateServiceWrapper;
1.1233.1.3. static final String TAG
private static final String TAG = "WebViewAppPrefCtrl";
1.1233.1.4. static final String WEBVIEW_APP_KEY
private static final String WEBVIEW_APP_KEY = "select_webview_provider";
1.1233.2. WebViewAppPreferenceControllerMethod方法列表
1.1233.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1233.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1233.2.3. getDefaultAppInfo()
DefaultAppInfo getDefaultAppInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultAppInfo" ,"getDefaultAppInfo", ""));
1.1233.2.4. getDefaultAppLabel()
private CharSequence getDefaultAppLabel()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getDefaultAppLabel", ""));
1.1234. WebViewUpdateServiceWrapper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/webview/WebViewUpdateServiceWrapper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1234.1. WebViewUpdateServiceWrapper Field属性列表
1.1234.1.1. static final String TAG
private static final String TAG = "WVUSWrapper";
1.1234.1.2. static final int PACKAGE_FLAGS
static final int PACKAGE_FLAGS = PackageManager.MATCH_ANY_USER;
1.1234.2. WebViewUpdateServiceWrapperMethod方法列表
1.1234.2.1. getCurrentWebViewPackage()
public PackageInfo getCurrentWebViewPackage()
methodList.add(new ZMethod(mZAndroidAPPClass,"PackageInfo" ,"getCurrentWebViewPackage", ""));
1.1234.2.2. getValidWebViewApplicationInfos(Context context)
public List getValidWebViewApplicationInfos(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getValidWebViewApplicationInfos", "Context context"));
1.1234.2.3. setWebViewProvider(String packageName)
public boolean setWebViewProvider(String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setWebViewProvider", "String packageName"));
1.1234.2.4. getPackageInfosAllUsers(Context context,String packageName)
public List getPackageInfosAllUsers(Context context, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getPackageInfosAllUsers", "Context context,String packageName"));
1.1234.2.5. showInvalidChoiceToast(Context context)
public void showInvalidChoiceToast(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showInvalidChoiceToast", "Context context"));
1.1235. WhenToDreamPicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/WhenToDreamPicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1235.1. WhenToDreamPicker Field属性列表
1.1235.1.1. DreamBackend mBackend;
private DreamBackend mBackend;
1.1235.1.2. static final String TAG
private static final String TAG = "WhenToDreamPicker";
1.1235.2. WhenToDreamPickerMethod方法列表
1.1235.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1235.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1235.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1235.2.4. getCandidates()
protected List getCandidates()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCandidates", ""));
1.1235.2.5. entries()
private String[] entries()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"entries", ""));
1.1235.2.6. keys()
private String[] keys()
methodList.add(new ZMethod(mZAndroidAPPClass,"String[]" ,"keys", ""));
1.1235.2.7. getDefaultKey()
protected String getDefaultKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getDefaultKey", ""));
1.1235.2.8. setDefaultKey(String key)
protected boolean setDefaultKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setDefaultKey", "String key"));
1.1235.2.9. onSelectionPerformed(boolean success)
protected void onSelectionPerformed(boolean success)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSelectionPerformed", "boolean success"));
1.1236. WhenToDreamPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dream/WhenToDreamPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1236.1. WhenToDreamPreferenceController Field属性列表
1.1236.1.1. final DreamBackend mBackend;
private final DreamBackend mBackend;
1.1236.1.2. static final String WHEN_TO_START
private static final String WHEN_TO_START = "when_to_start";
1.1236.2. WhenToDreamPreferenceControllerMethod方法列表
1.1236.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1236.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1236.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1237. WifiAPITest.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiAPITest.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1237.1. WifiAPITest Field属性列表
1.1237.1.1. int netid;
private int netid;
1.1237.1.2. Preference mWifiDisconnect;
private Preference mWifiDisconnect;
1.1237.1.3. Preference mWifiDisableNetwork;
private Preference mWifiDisableNetwork;
1.1237.1.4. Preference mWifiEnableNetwork;
private Preference mWifiEnableNetwork;
1.1237.1.5. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1237.1.6. static final String TAG
private static final String TAG = "WifiAPITest";
1.1237.1.7. static final //
//============================
// Preference/activity member variables
//============================
private static final String KEY_DISCONNECT = "disconnect";
1.1237.1.8. static final String KEY_DISABLE_NETWORK
private static final String KEY_DISABLE_NETWORK = "disable_network";
1.1237.1.9. static final String KEY_ENABLE_NETWORK
private static final String KEY_ENABLE_NETWORK = "enable_network";
1.1237.2. WifiAPITestMethod方法列表
1.1237.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1237.2.2. onCreatePreferences(Bundle savedInstanceState,String rootKey)
public void onCreatePreferences(Bundle savedInstanceState, String rootKey)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreatePreferences", "Bundle savedInstanceState,String rootKey"));
1.1237.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1237.2.4. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1237.2.5. onPreferenceClick(Preference pref)
public boolean onPreferenceClick(Preference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference pref"));
1.1238. WifiCallingSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/calling/WifiCallingSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1238.1. WifiCallingSettings Field属性列表
1.1238.1.1. List mSil;
private List mSil;
1.1238.1.2. RtlCompatibleViewPager mViewPager;
//UI objects
private RtlCompatibleViewPager mViewPager;
1.1238.1.3. WifiCallingViewPagerAdapter mPagerAdapter;
private WifiCallingViewPagerAdapter mPagerAdapter;
1.1238.1.4. SlidingTabLayout mTabLayout;
private SlidingTabLayout mTabLayout;
1.1238.1.5. static final String TAG
private static final String TAG = "WifiCallingSettings";
1.1238.2. WifiCallingSettingsMethod方法列表
1.1238.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1238.2.2. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.1238.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1238.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1238.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1238.2.6. updateSubList()
private void updateSubList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSubList", ""));
1.1239. WifiCallingSettingsForSub.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/calling/WifiCallingSettingsForSub.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1239.1. WifiCallingSettingsForSub Field属性列表
1.1239.1.1. SwitchBar mSwitchBar;
//UI objects
private SwitchBar mSwitchBar;
1.1239.1.2. Switch mSwitch;
private Switch mSwitch;
1.1239.1.3. ListPreference mButtonWfcMode;
private ListPreference mButtonWfcMode;
1.1239.1.4. ListPreference mButtonWfcRoamingMode;
private ListPreference mButtonWfcRoamingMode;
1.1239.1.5. Preference mUpdateAddress;
private Preference mUpdateAddress;
1.1239.1.6. TextView mEmptyView;
private TextView mEmptyView;
1.1239.1.7. boolean mValidListener
private boolean mValidListener = false;
1.1239.1.8. boolean mEditableWfcMode
private boolean mEditableWfcMode = true;
1.1239.1.9. boolean mEditableWfcRoamingMode
private boolean mEditableWfcRoamingMode = true;
1.1239.1.10. int mSubId
private int mSubId = SubscriptionManager.INVALID_SUBSCRIPTION_ID;
1.1239.1.11. ImsManager mImsManager;
private ImsManager mImsManager;
1.1239.1.12. IntentFilter mIntentFilter;
private IntentFilter mIntentFilter;
1.1239.1.13. BroadcastReceiver mIntentReceiver
private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(ImsManager.ACTION_IMS_REGISTRATION_ERROR)) {
// If this fragment is active then we are immediately
// showing alert on screen. There is no need to add
// notification in this case.
//
// In order to communicate to ImsPhone that it should
// not show notification, we are changing result code here.
setResultCode(Activity.RESULT_CANCELED);
showAlert(intent);
}
}
};
1.1239.1.14. final PhoneStateListener mPhoneStateListener
private final PhoneStateListener mPhoneStateListener = new PhoneStateListener() {
/*
* Enable/disable controls when in/out of a call and depending on
* TTY mode and TTY support over VoLTE.
* @see android.telephony.PhoneStateListener#onCallStateChanged(int,
* java.lang.String)
*/
@Override
public void onCallStateChanged(int state, String incomingNumber) {
final SettingsActivity activity = (SettingsActivity) getActivity();
boolean isNonTtyOrTtyOnVolteEnabled = mImsManager.isNonTtyOrTtyOnVolteEnabled();
boolean isWfcEnabled = mSwitchBar.isChecked() && isNonTtyOrTtyOnVolteEnabled;
mSwitchBar.setEnabled((state == TelephonyManager.CALL_STATE_IDLE) && isNonTtyOrTtyOnVolteEnabled);
boolean isWfcModeEditable = true;
boolean isWfcRoamingModeEditable = false;
final CarrierConfigManager configManager = (CarrierConfigManager) activity.getSystemService(Context.CARRIER_CONFIG_SERVICE);
if (configManager != null) {
PersistableBundle b = configManager.getConfigForSubId(mSubId);
if (b != null) {
isWfcModeEditable = b.getBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_MODE_BOOL);
isWfcRoamingModeEditable = b.getBoolean(CarrierConfigManager.KEY_EDITABLE_WFC_ROAMING_MODE_BOOL);
}
}
Preference pref = getPreferenceScreen().findPreference(BUTTON_WFC_MODE);
if (pref != null) {
pref.setEnabled(isWfcEnabled && isWfcModeEditable && (state == TelephonyManager.CALL_STATE_IDLE));
}
Preference pref_roam = getPreferenceScreen().findPreference(BUTTON_WFC_ROAMING_MODE);
if (pref_roam != null) {
pref_roam.setEnabled(isWfcEnabled && isWfcRoamingModeEditable && (state == TelephonyManager.CALL_STATE_IDLE));
}
}
};
1.1239.1.15. final OnPreferenceClickListener mUpdateAddressListener
private final OnPreferenceClickListener mUpdateAddressListener = new OnPreferenceClickListener() {
/*
* Launch carrier emergency address managemnent activity
*/
@Override
public boolean onPreferenceClick(Preference preference) {
Intent carrierAppIntent = getCarrierActivityIntent();
if (carrierAppIntent != null) {
carrierAppIntent.putExtra(EXTRA_LAUNCH_CARRIER_APP, LAUCH_APP_UPDATE);
startActivity(carrierAppIntent);
}
return true;
}
};
1.1239.1.16. static final String TAG
private static final String TAG = "WifiCallingForSub";
1.1239.1.17. static final String BUTTON_WFC_MODE
//String keys for preference lookup
private static final String BUTTON_WFC_MODE = "wifi_calling_mode";
1.1239.1.18. static final String BUTTON_WFC_ROAMING_MODE
private static final String BUTTON_WFC_ROAMING_MODE = "wifi_calling_roaming_mode";
1.1239.1.19. static final String PREFERENCE_EMERGENCY_ADDRESS
private static final String PREFERENCE_EMERGENCY_ADDRESS = "emergency_address_key";
1.1239.1.20. static final int REQUEST_CHECK_WFC_EMERGENCY_ADDRESS
private static final int REQUEST_CHECK_WFC_EMERGENCY_ADDRESS = 1;
1.1239.1.21. static final String EXTRA_LAUNCH_CARRIER_APP
public static final String EXTRA_LAUNCH_CARRIER_APP = "EXTRA_LAUNCH_CARRIER_APP";
1.1239.1.22. static final String FRAGMENT_BUNDLE_SUBID
protected static final String FRAGMENT_BUNDLE_SUBID = "subId";
1.1239.1.23. static final int LAUCH_APP_ACTIVATE
public static final int LAUCH_APP_ACTIVATE = 0;
1.1239.1.24. static final int LAUCH_APP_UPDATE
public static final int LAUCH_APP_UPDATE = 1;
1.1239.2. WifiCallingSettingsForSubMethod方法列表
1.1239.2.1. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1239.2.2. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.1239.2.3. showAlert(Intent intent)
private void showAlert(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showAlert", "Intent intent"));
1.1239.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1239.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1239.2.6. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1239.2.7. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1239.2.8. onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.1239.2.9. updateBody()
private void updateBody()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateBody", ""));
1.1239.2.10. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1239.2.11. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1239.2.12. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1239.2.13. getCarrierActivityIntent()
private Intent getCarrierActivityIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getCarrierActivityIntent", ""));
1.1239.2.14. updateWfcMode(boolean wfcEnabled)
private void updateWfcMode(boolean wfcEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWfcMode", "boolean wfcEnabled"));
1.1239.2.15. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1239.2.16. updateButtonWfcMode(boolean wfcEnabled,int wfcMode,int wfcRoamingMode)
private void updateButtonWfcMode(boolean wfcEnabled, int wfcMode, int wfcRoamingMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateButtonWfcMode", "boolean wfcEnabled,int wfcMode,int wfcRoamingMode"));
1.1239.2.17. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1239.2.18. getWfcModeSummary(int wfcMode)
private int getWfcModeSummary(int wfcMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getWfcModeSummary", "int wfcMode"));
1.1240. WifiCallingSliceHelper.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/calling/WifiCallingSliceHelper.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1240.1. WifiCallingSliceHelper Field属性列表
1.1240.1.1. SubscriptionManager mSubscriptionManager;
protected SubscriptionManager mSubscriptionManager;
1.1240.1.2. final Context mContext;
private final Context mContext;
1.1240.1.3. static final String TAG
private static final String TAG = "WifiCallingSliceHelper";
1.1240.1.4. static final String PATH_WIFI_CALLING
/**
* Settings slice path to wifi calling setting.
*/
public static final String PATH_WIFI_CALLING = "wifi_calling";
1.1240.1.5. static final String ACTION_WIFI_CALLING_CHANGED
/**
* Action passed for changes to wifi calling slice (toggle).
*/
public static final String ACTION_WIFI_CALLING_CHANGED = "com.android.settings.wifi.calling.action.WIFI_CALLING_CHANGED";
1.1240.1.6. static final String ACTION_WIFI_CALLING_SETTINGS_ACTIVITY
/**
* Action for Wifi calling Settings activity which
* allows setting configuration for Wifi calling
* related settings
*/
public static final String ACTION_WIFI_CALLING_SETTINGS_ACTIVITY = "android.settings.WIFI_CALLING_SETTINGS";
1.1240.1.7. static final Uri WIFI_CALLING_URI
/**
* Full {@link Uri} for the Wifi Calling Slice.
*/
public static final Uri WIFI_CALLING_URI = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(SettingsSliceProvider.SLICE_AUTHORITY).appendPath(PATH_WIFI_CALLING).build();
1.1240.1.8. static final int TIMEOUT_MILLIS
/**
* Timeout for querying wifi calling setting from ims manager.
*/
private static final int TIMEOUT_MILLIS = 2000;
1.1240.2. WifiCallingSliceHelperMethod方法列表
1.1240.2.1. createWifiCallingSlice(Uri sliceUri)
public Slice createWifiCallingSlice(Uri sliceUri)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"createWifiCallingSlice", "Uri sliceUri"));
1.1240.2.2. isWifiCallingEnabled(ImsManager imsManager)
private boolean isWifiCallingEnabled(ImsManager imsManager) throws InterruptedException, ExecutionException, TimeoutException
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWifiCallingEnabled", "ImsManager imsManager"));
1.1240.2.3. getWifiCallingSlice(Uri sliceUri,Context mContext,boolean isWifiCallingEnabled)
private Slice getWifiCallingSlice(Uri sliceUri, Context mContext, boolean isWifiCallingEnabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getWifiCallingSlice", "Uri sliceUri,Context mContext,boolean isWifiCallingEnabled"));
1.1240.2.4. getImsManager(int subId)
protected ImsManager getImsManager(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"ImsManager" ,"getImsManager", "int subId"));
1.1240.2.5. getWfcMode(ImsManager imsManager)
private Integer getWfcMode(ImsManager imsManager) throws InterruptedException, ExecutionException, TimeoutException
methodList.add(new ZMethod(mZAndroidAPPClass,"Integer" ,"getWfcMode", "ImsManager imsManager"));
1.1240.2.6. handleWifiCallingChanged(Intent intent)
public void handleWifiCallingChanged(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWifiCallingChanged", "Intent intent"));
1.1240.2.7. getNonActionableWifiCallingSlice(String title,String subtitle,Uri sliceUri,PendingIntent primaryActionIntent)
private Slice getNonActionableWifiCallingSlice(String title, String subtitle, Uri sliceUri, PendingIntent primaryActionIntent)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getNonActionableWifiCallingSlice", "String title,String subtitle,Uri sliceUri,PendingIntent primaryActionIntent"));
1.1240.2.8. isCarrierConfigManagerKeyEnabled(Context mContext,String key,int subId,boolean defaultValue)
private boolean isCarrierConfigManagerKeyEnabled(Context mContext, String key, int subId, boolean defaultValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isCarrierConfigManagerKeyEnabled", "Context mContext,String key,int subId,boolean defaultValue"));
1.1240.2.9. getCarrierConfigManager(Context mContext)
protected CarrierConfigManager getCarrierConfigManager(Context mContext)
methodList.add(new ZMethod(mZAndroidAPPClass,"CarrierConfigManager" ,"getCarrierConfigManager", "Context mContext"));
1.1240.2.10. getDefaultVoiceSubId()
protected int getDefaultVoiceSubId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDefaultVoiceSubId", ""));
1.1240.2.11. getWifiCallingCarrierActivityIntent(int subId)
protected Intent getWifiCallingCarrierActivityIntent(int subId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getWifiCallingCarrierActivityIntent", "int subId"));
1.1240.2.12. getBroadcastIntent(String action)
private PendingIntent getBroadcastIntent(String action)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getBroadcastIntent", "String action"));
1.1240.2.13. getActivityIntent(String action)
private PendingIntent getActivityIntent(String action)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getActivityIntent", "String action"));
1.1240.2.14. getSimCarrierName()
private String getSimCarrierName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSimCarrierName", ""));
1.1240.2.15. static getSettingsIntent(Context context)
public static PendingIntent getSettingsIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getSettingsIntent", "Context context"));
1.1241. WifiCallingSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/calling/WifiCallingSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1241.1. WifiCallingSuggestionActivity Field属性列表
1.1241.2. WifiCallingSuggestionActivityMethod方法列表
1.1241.2.1. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.1242. WifiConfigController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiConfigController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1242.1. WifiConfigController Field属性列表
1.1242.1.1. int mAccessPointSecurity;
// e.g. AccessPoint.SECURITY_NONE
private int mAccessPointSecurity;
1.1242.1.2. TextView mPasswordView;
private TextView mPasswordView;
1.1242.1.3. String mUnspecifiedCertString;
private String mUnspecifiedCertString;
1.1242.1.4. String mMultipleCertSetString;
private String mMultipleCertSetString;
1.1242.1.5. String mUseSystemCertsString;
private String mUseSystemCertsString;
1.1242.1.6. String mDoNotProvideEapUserCertString;
private String mDoNotProvideEapUserCertString;
1.1242.1.7. String mDoNotValidateEapServerString;
private String mDoNotValidateEapServerString;
1.1242.1.8. ScrollView mDialogContainer;
private ScrollView mDialogContainer;
1.1242.1.9. Spinner mSecuritySpinner;
private Spinner mSecuritySpinner;
1.1242.1.10. Spinner mEapMethodSpinner;
private Spinner mEapMethodSpinner;
1.1242.1.11. Spinner mEapCaCertSpinner;
private Spinner mEapCaCertSpinner;
1.1242.1.12. TextView mEapDomainView;
private TextView mEapDomainView;
1.1242.1.13. Spinner mPhase2Spinner;
private Spinner mPhase2Spinner;
1.1242.1.14. ArrayAdapter mPhase2Adapter;
// Associated with mPhase2Spinner, one of mPhase2FullAdapter or mPhase2PeapAdapter
private ArrayAdapter mPhase2Adapter;
1.1242.1.15. Spinner mEapUserCertSpinner;
private Spinner mEapUserCertSpinner;
1.1242.1.16. TextView mEapIdentityView;
private TextView mEapIdentityView;
1.1242.1.17. TextView mEapAnonymousView;
private TextView mEapAnonymousView;
1.1242.1.18. Spinner mIpSettingsSpinner;
private Spinner mIpSettingsSpinner;
1.1242.1.19. TextView mIpAddressView;
private TextView mIpAddressView;
1.1242.1.20. TextView mGatewayView;
private TextView mGatewayView;
1.1242.1.21. TextView mNetworkPrefixLengthView;
private TextView mNetworkPrefixLengthView;
1.1242.1.22. TextView mDns1View;
private TextView mDns1View;
1.1242.1.23. TextView mDns2View;
private TextView mDns2View;
1.1242.1.24. Spinner mProxySettingsSpinner;
private Spinner mProxySettingsSpinner;
1.1242.1.25. Spinner mMeteredSettingsSpinner;
private Spinner mMeteredSettingsSpinner;
1.1242.1.26. Spinner mHiddenSettingsSpinner;
private Spinner mHiddenSettingsSpinner;
1.1242.1.27. TextView mHiddenWarningView;
private TextView mHiddenWarningView;
1.1242.1.28. TextView mProxyHostView;
private TextView mProxyHostView;
1.1242.1.29. TextView mProxyPortView;
private TextView mProxyPortView;
1.1242.1.30. TextView mProxyExclusionListView;
private TextView mProxyExclusionListView;
1.1242.1.31. TextView mProxyPacView;
private TextView mProxyPacView;
1.1242.1.32. CheckBox mSharedCheckBox;
private CheckBox mSharedCheckBox;
1.1242.1.33. IpAssignment mIpAssignment
private IpAssignment mIpAssignment = IpAssignment.UNASSIGNED;
1.1242.1.34. ProxySettings mProxySettings
private ProxySettings mProxySettings = ProxySettings.UNASSIGNED;
1.1242.1.35. ProxyInfo mHttpProxy
private ProxyInfo mHttpProxy = null;
1.1242.1.36. StaticIpConfiguration mStaticIpConfiguration
private StaticIpConfiguration mStaticIpConfiguration = null;
1.1242.1.37. String[] mLevels;
private String[] mLevels;
1.1242.1.38. int mMode;
private int mMode;
1.1242.1.39. TextView mSsidView;
private TextView mSsidView;
1.1242.1.40. Context mContext;
private Context mContext;
1.1242.1.41. final WifiConfigUiBase mConfigUi;
private final WifiConfigUiBase mConfigUi;
1.1242.1.42. final View mView;
private final View mView;
1.1242.1.43. final AccessPoint mAccessPoint;
private final AccessPoint mAccessPoint;
1.1242.1.44. final ArrayAdapter mPhase2PeapAdapter;
/* Phase2 methods supported by PEAP are limited */
private final ArrayAdapter mPhase2PeapAdapter;
1.1242.1.45. final ArrayAdapter mPhase2FullAdapter;
/* Full list of phase2 methods */
private final ArrayAdapter mPhase2FullAdapter;
1.1242.1.46. static final String TAG
private static final String TAG = "WifiConfigController";
1.1242.1.47. static final String SYSTEM_CA_STORE_PATH
private static final String SYSTEM_CA_STORE_PATH = "/system/etc/security/cacerts";
1.1242.1.48. static final int DHCP
/* This value comes from "wifi_ip_settings" resource array */
private static final int DHCP = 0;
1.1242.1.49. static final int STATIC_IP
private static final int STATIC_IP = 1;
1.1242.1.50. static final int HIDDEN_NETWORK
/* Constants used for referring to the hidden state of a network. */
public static final int HIDDEN_NETWORK = 1;
1.1242.1.51. static final int NOT_HIDDEN_NETWORK
public static final int NOT_HIDDEN_NETWORK = 0;
1.1242.1.52. static final int PROXY_NONE
/* These values come from "wifi_proxy_settings" resource array */
public static final int PROXY_NONE = 0;
1.1242.1.53. static final int PROXY_STATIC
public static final int PROXY_STATIC = 1;
1.1242.1.54. static final int PROXY_PAC
public static final int PROXY_PAC = 2;
1.1242.1.55. static final int WIFI_EAP_METHOD_PEAP
/* These values come from "wifi_eap_method" resource array */
public static final int WIFI_EAP_METHOD_PEAP = 0;
1.1242.1.56. static final int WIFI_EAP_METHOD_TLS
public static final int WIFI_EAP_METHOD_TLS = 1;
1.1242.1.57. static final int WIFI_EAP_METHOD_TTLS
public static final int WIFI_EAP_METHOD_TTLS = 2;
1.1242.1.58. static final int WIFI_EAP_METHOD_PWD
public static final int WIFI_EAP_METHOD_PWD = 3;
1.1242.1.59. static final int WIFI_EAP_METHOD_SIM
public static final int WIFI_EAP_METHOD_SIM = 4;
1.1242.1.60. static final int WIFI_EAP_METHOD_AKA
public static final int WIFI_EAP_METHOD_AKA = 5;
1.1242.1.61. static final int WIFI_EAP_METHOD_AKA_PRIME
public static final int WIFI_EAP_METHOD_AKA_PRIME = 6;
1.1242.1.62. static final int WIFI_PEAP_PHASE2_NONE
/* These values come from "wifi_peap_phase2_entries" resource array */
public static final int WIFI_PEAP_PHASE2_NONE = 0;
1.1242.1.63. static final int WIFI_PEAP_PHASE2_MSCHAPV2
public static final int WIFI_PEAP_PHASE2_MSCHAPV2 = 1;
1.1242.1.64. static final int WIFI_PEAP_PHASE2_GTC
public static final int WIFI_PEAP_PHASE2_GTC = 2;
1.1242.1.65. static final int WIFI_PEAP_PHASE2_SIM
public static final int WIFI_PEAP_PHASE2_SIM = 3;
1.1242.1.66. static final int WIFI_PEAP_PHASE2_AKA
public static final int WIFI_PEAP_PHASE2_AKA = 4;
1.1242.1.67. static final int WIFI_PEAP_PHASE2_AKA_PRIME
public static final int WIFI_PEAP_PHASE2_AKA_PRIME = 5;
1.1242.2. WifiConfigControllerMethod方法列表
1.1242.2.1. isSplitSystemUser()
boolean isSplitSystemUser()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSplitSystemUser", ""));
1.1242.2.2. addRow(ViewGroup group,int name,String value)
private void addRow(ViewGroup group, int name, String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addRow", "ViewGroup group,int name,String value"));
1.1242.2.3. getSignalString()
String getSignalString()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSignalString", ""));
1.1242.2.4. hideForgetButton()
void hideForgetButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hideForgetButton", ""));
1.1242.2.5. hideSubmitButton()
void hideSubmitButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hideSubmitButton", ""));
1.1242.2.6. enableSubmitIfAppropriate()
void enableSubmitIfAppropriate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableSubmitIfAppropriate", ""));
1.1242.2.7. isValidPsk(String password)
boolean isValidPsk(String password)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidPsk", "String password"));
1.1242.2.8. isSubmittable()
boolean isSubmittable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSubmittable", ""));
1.1242.2.9. showWarningMessagesIfAppropriate()
void showWarningMessagesIfAppropriate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showWarningMessagesIfAppropriate", ""));
1.1242.2.10. getConfig()
public WifiConfiguration getConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiConfiguration" ,"getConfig", ""));
1.1242.2.11. ipAndProxyFieldsAreValid()
private boolean ipAndProxyFieldsAreValid()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"ipAndProxyFieldsAreValid", ""));
1.1242.2.12. getIPv4Address(String text)
private Inet4Address getIPv4Address(String text)
methodList.add(new ZMethod(mZAndroidAPPClass,"Inet4Address" ,"getIPv4Address", "String text"));
1.1242.2.13. validateIpConfigFields(StaticIpConfiguration staticIpConfiguration)
private int validateIpConfigFields(StaticIpConfiguration staticIpConfiguration)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"validateIpConfigFields", "StaticIpConfiguration staticIpConfiguration"));
1.1242.2.14. showSecurityFields()
private void showSecurityFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showSecurityFields", ""));
1.1242.2.15. showEapFieldsByMethod(int eapMethod)
private void showEapFieldsByMethod(int eapMethod)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showEapFieldsByMethod", "int eapMethod"));
1.1242.2.16. showPeapFields()
private void showPeapFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showPeapFields", ""));
1.1242.2.17. setIdentityInvisible()
private void setIdentityInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setIdentityInvisible", ""));
1.1242.2.18. setPhase2Invisible()
private void setPhase2Invisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPhase2Invisible", ""));
1.1242.2.19. setCaCertInvisible()
private void setCaCertInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCaCertInvisible", ""));
1.1242.2.20. setDomainInvisible()
private void setDomainInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDomainInvisible", ""));
1.1242.2.21. setUserCertInvisible()
private void setUserCertInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setUserCertInvisible", ""));
1.1242.2.22. setAnonymousIdentInvisible()
private void setAnonymousIdentInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAnonymousIdentInvisible", ""));
1.1242.2.23. setPasswordInvisible()
private void setPasswordInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setPasswordInvisible", ""));
1.1242.2.24. setEapMethodInvisible()
private void setEapMethodInvisible()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setEapMethodInvisible", ""));
1.1242.2.25. showIpConfigFields()
private void showIpConfigFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showIpConfigFields", ""));
1.1242.2.26. showProxyFields()
private void showProxyFields()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showProxyFields", ""));
1.1242.2.27. setVisibility(int id,int visibility)
private void setVisibility(int id, int visibility)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setVisibility", "int id,int visibility"));
1.1242.2.28. getKeyStore()
KeyStore getKeyStore()
methodList.add(new ZMethod(mZAndroidAPPClass,"KeyStore" ,"getKeyStore", ""));
1.1242.2.29. loadCertificates(Spinner spinner,String prefix,String noCertificateString,boolean showMultipleCerts,boolean showUsePreinstalledCertOption)
private void loadCertificates(Spinner spinner, String prefix, String noCertificateString, boolean showMultipleCerts, boolean showUsePreinstalledCertOption)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"loadCertificates", "Spinner spinner,String prefix,String noCertificateString,boolean showMultipleCerts,boolean showUsePreinstalledCertOption"));
1.1242.2.30. setSelection(Spinner spinner,String value)
private void setSelection(Spinner spinner, String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSelection", "Spinner spinner,String value"));
1.1242.2.31. getMode()
public int getMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMode", ""));
1.1242.2.32. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.1242.2.33. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.1242.2.34. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.1242.2.35. onEditorAction(TextView textView,int id,KeyEvent keyEvent)
public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onEditorAction", "TextView textView,int id,KeyEvent keyEvent"));
1.1242.2.36. onKey(View view,int keyCode,KeyEvent keyEvent)
public boolean onKey(View view, int keyCode, KeyEvent keyEvent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onKey", "View view,int keyCode,KeyEvent keyEvent"));
1.1242.2.37. onCheckedChanged(CompoundButton view,boolean isChecked)
public void onCheckedChanged(CompoundButton view, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton view,boolean isChecked"));
1.1242.2.38. onItemSelected(AdapterView parent,View view,int position,long id)
public void onItemSelected(AdapterView parent, View view, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onItemSelected", "AdapterView parent,View view,int position,long id"));
1.1242.2.39. onNothingSelected(AdapterView parent)
public void onNothingSelected(AdapterView parent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onNothingSelected", "AdapterView parent"));
1.1242.2.40. updatePassword()
public void updatePassword()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePassword", ""));
1.1242.2.41. getAccessPoint()
public AccessPoint getAccessPoint()
methodList.add(new ZMethod(mZAndroidAPPClass,"AccessPoint" ,"getAccessPoint", ""));
1.1243. WifiConfigInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiConfigInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1243.1. WifiConfigInfo Field属性列表
1.1243.1.1. TextView mConfigList;
private TextView mConfigList;
1.1243.1.2. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1243.2. WifiConfigInfoMethod方法列表
1.1243.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1243.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1244. WifiConfigUiBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiConfigUiBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1245. WifiConnectedMacRandomizationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WifiConnectedMacRandomizationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1245.1. WifiConnectedMacRandomizationPreferenceController Field属性列表
1.1245.1.1. static final String WIFI_CONNECTED_MAC_RANDOMIZATION_KEY
private static final String WIFI_CONNECTED_MAC_RANDOMIZATION_KEY = "wifi_connected_mac_randomization";
1.1245.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1245.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1245.2. WifiConnectedMacRandomizationPreferenceControllerMethod方法列表
1.1245.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1245.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1245.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1245.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1245.2.5. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1246. WifiDetailPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiDetailPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1246.1. WifiDetailPreference Field属性列表
1.1246.1.1. String mDetailText;
private String mDetailText;
1.1246.2. WifiDetailPreferenceMethod方法列表
1.1246.2.1. setDetailText(String text)
public void setDetailText(String text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setDetailText", "String text"));
1.1246.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1247. WifiDetailPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/details/WifiDetailPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1247.1. WifiDetailPreferenceController Field属性列表
1.1247.1.1. AccessPoint mAccessPoint;
private AccessPoint mAccessPoint;
1.1247.1.2. LinkProperties mLinkProperties;
private LinkProperties mLinkProperties;
1.1247.1.3. Network mNetwork;
private Network mNetwork;
1.1247.1.4. NetworkInfo mNetworkInfo;
private NetworkInfo mNetworkInfo;
1.1247.1.5. NetworkCapabilities mNetworkCapabilities;
private NetworkCapabilities mNetworkCapabilities;
1.1247.1.6. int mRssiSignalLevel
private int mRssiSignalLevel = -1;
1.1247.1.7. String[] mSignalStr;
private String[] mSignalStr;
1.1247.1.8. WifiConfiguration mWifiConfig;
private WifiConfiguration mWifiConfig;
1.1247.1.9. WifiInfo mWifiInfo;
private WifiInfo mWifiInfo;
1.1247.1.10. ActionButtonPreference mButtonsPref;
// UI elements - in order of appearance
private ActionButtonPreference mButtonsPref;
1.1247.1.11. EntityHeaderController mEntityHeaderController;
private EntityHeaderController mEntityHeaderController;
1.1247.1.12. WifiDetailPreference mSignalStrengthPref;
private WifiDetailPreference mSignalStrengthPref;
1.1247.1.13. WifiDetailPreference mLinkSpeedPref;
private WifiDetailPreference mLinkSpeedPref;
1.1247.1.14. WifiDetailPreference mFrequencyPref;
private WifiDetailPreference mFrequencyPref;
1.1247.1.15. WifiDetailPreference mSecurityPref;
private WifiDetailPreference mSecurityPref;
1.1247.1.16. WifiDetailPreference mMacAddressPref;
private WifiDetailPreference mMacAddressPref;
1.1247.1.17. WifiDetailPreference mIpAddressPref;
private WifiDetailPreference mIpAddressPref;
1.1247.1.18. WifiDetailPreference mGatewayPref;
private WifiDetailPreference mGatewayPref;
1.1247.1.19. WifiDetailPreference mSubnetPref;
private WifiDetailPreference mSubnetPref;
1.1247.1.20. WifiDetailPreference mDnsPref;
private WifiDetailPreference mDnsPref;
1.1247.1.21. PreferenceCategory mIpv6Category;
private PreferenceCategory mIpv6Category;
1.1247.1.22. Preference mIpv6AddressPref;
private Preference mIpv6AddressPref;
1.1247.1.23. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1247.1.24. final Fragment mFragment;
private final Fragment mFragment;
1.1247.1.25. final Handler mHandler;
private final Handler mHandler;
1.1247.1.26. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1247.1.27. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1247.1.28. final IconInjector mIconInjector;
private final IconInjector mIconInjector;
1.1247.1.29. final IntentFilter mFilter;
private final IntentFilter mFilter;
1.1247.1.30. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
switch(intent.getAction()) {
case WifiManager.CONFIGURED_NETWORKS_CHANGED_ACTION:
if (!intent.getBooleanExtra(WifiManager.EXTRA_MULTIPLE_NETWORKS_CHANGED, false)) {
// only one network changed
WifiConfiguration wifiConfiguration = intent.getParcelableExtra(WifiManager.EXTRA_WIFI_CONFIGURATION);
if (mAccessPoint.matches(wifiConfiguration)) {
mWifiConfig = wifiConfiguration;
}
}
// fall through
case WifiManager.NETWORK_STATE_CHANGED_ACTION:
case WifiManager.RSSI_CHANGED_ACTION:
updateInfo();
break;
}
}
};
1.1247.1.31. final NetworkRequest mNetworkRequest
private final NetworkRequest mNetworkRequest = new NetworkRequest.Builder().clearCapabilities().addTransportType(TRANSPORT_WIFI).build();
1.1247.1.32. final NetworkCallback mNetworkCallback
// Must be run on the UI thread since it directly manipulates UI state.
private final NetworkCallback mNetworkCallback = new NetworkCallback() {
@Override
public void onLinkPropertiesChanged(Network network, LinkProperties lp) {
if (network.equals(mNetwork) && !lp.equals(mLinkProperties)) {
mLinkProperties = lp;
updateIpLayerInfo();
}
}
private boolean hasCapabilityChanged(NetworkCapabilities nc, int cap) {
// If this is the first time we get NetworkCapabilities, report that something changed.
if (mNetworkCapabilities == null)
return true;
// nc can never be null, see ConnectivityService#callCallbackForRequest.
return mNetworkCapabilities.hasCapability(cap) != nc.hasCapability(cap);
}
@Override
public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) {
// sends IPCs to the system server from the UI thread, which can cause jank.
if (network.equals(mNetwork) && !nc.equals(mNetworkCapabilities)) {
if (hasCapabilityChanged(nc, NET_CAPABILITY_VALIDATED) || hasCapabilityChanged(nc, NET_CAPABILITY_CAPTIVE_PORTAL)) {
refreshNetworkState();
}
mNetworkCapabilities = nc;
updateIpLayerInfo();
}
}
@Override
public void onLost(Network network) {
if (network.equals(mNetwork)) {
exitActivity();
}
}
};
1.1247.1.33. static final String TAG
private static final String TAG = "WifiDetailsPrefCtrl";
1.1247.1.34. static final boolean DEBUG
private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.1247.1.35. static final String KEY_HEADER
@VisibleForTesting
static final String KEY_HEADER = "connection_header";
1.1247.1.36. static final String KEY_BUTTONS_PREF
@VisibleForTesting
static final String KEY_BUTTONS_PREF = "buttons";
1.1247.1.37. static final String KEY_SIGNAL_STRENGTH_PREF
@VisibleForTesting
static final String KEY_SIGNAL_STRENGTH_PREF = "signal_strength";
1.1247.1.38. static final String KEY_LINK_SPEED
@VisibleForTesting
static final String KEY_LINK_SPEED = "link_speed";
1.1247.1.39. static final String KEY_FREQUENCY_PREF
@VisibleForTesting
static final String KEY_FREQUENCY_PREF = "frequency";
1.1247.1.40. static final String KEY_SECURITY_PREF
@VisibleForTesting
static final String KEY_SECURITY_PREF = "security";
1.1247.1.41. static final String KEY_MAC_ADDRESS_PREF
@VisibleForTesting
static final String KEY_MAC_ADDRESS_PREF = "mac_address";
1.1247.1.42. static final String KEY_IP_ADDRESS_PREF
@VisibleForTesting
static final String KEY_IP_ADDRESS_PREF = "ip_address";
1.1247.1.43. static final String KEY_GATEWAY_PREF
@VisibleForTesting
static final String KEY_GATEWAY_PREF = "gateway";
1.1247.1.44. static final String KEY_SUBNET_MASK_PREF
@VisibleForTesting
static final String KEY_SUBNET_MASK_PREF = "subnet_mask";
1.1247.1.45. static final String KEY_DNS_PREF
@VisibleForTesting
static final String KEY_DNS_PREF = "dns";
1.1247.1.46. static final String KEY_IPV6_CATEGORY
@VisibleForTesting
static final String KEY_IPV6_CATEGORY = "ipv6_category";
1.1247.1.47. static final String KEY_IPV6_ADDRESSES_PREF
@VisibleForTesting
static final String KEY_IPV6_ADDRESSES_PREF = "ipv6_addresses";
1.1247.2. WifiDetailPreferenceControllerMethod方法列表
1.1247.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1247.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1247.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1247.2.4. setupEntityHeader(PreferenceScreen screen)
private void setupEntityHeader(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupEntityHeader", "PreferenceScreen screen"));
1.1247.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1247.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1247.2.7. updateInfo()
private void updateInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateInfo", ""));
1.1247.2.8. exitActivity()
private void exitActivity()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"exitActivity", ""));
1.1247.2.9. refreshNetworkState()
private void refreshNetworkState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshNetworkState", ""));
1.1247.2.10. refreshRssiViews()
private void refreshRssiViews()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshRssiViews", ""));
1.1247.2.11. updatePreference(WifiDetailPreference pref,String detailText)
private void updatePreference(WifiDetailPreference pref, String detailText)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "WifiDetailPreference pref,String detailText"));
1.1247.2.12. updateIpLayerInfo()
private void updateIpLayerInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateIpLayerInfo", ""));
1.1247.2.13. canForgetNetwork()
private boolean canForgetNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canForgetNetwork", ""));
1.1247.2.14. canModifyNetwork()
public boolean canModifyNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canModifyNetwork", ""));
1.1247.2.15. canSignIntoNetwork()
private boolean canSignIntoNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canSignIntoNetwork", ""));
1.1247.2.16. forgetNetwork()
private void forgetNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forgetNetwork", ""));
1.1247.2.17. signIntoNetwork()
private void signIntoNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"signIntoNetwork", ""));
1.1247.2.18. onForget(WifiDialog dialog)
public void onForget(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForget", "WifiDialog dialog"));
1.1247.2.19. onSubmit(WifiDialog dialog)
public void onSubmit(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSubmit", "WifiDialog dialog"));
1.1247.2.20. static newInstance(AccessPoint accessPoint,ConnectivityManager connectivityManager,Context context,Fragment fragment,Handler handler,Lifecycle lifecycle,WifiManager wifiManager,MetricsFeatureProvider metricsFeatureProvider)
public static WifiDetailPreferenceController newInstance(AccessPoint accessPoint, ConnectivityManager connectivityManager, Context context, Fragment fragment, Handler handler, Lifecycle lifecycle, WifiManager wifiManager, MetricsFeatureProvider metricsFeatureProvider)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiDetailPreferenceController" ,"newInstance", "AccessPoint accessPoint,ConnectivityManager connectivityManager,Context context,Fragment fragment,Handler handler,Lifecycle lifecycle,WifiManager wifiManager,MetricsFeatureProvider metricsFeatureProvider"));
1.1247.2.21. static ipv4PrefixLengthToSubnetMask(int prefixLength)
private static String ipv4PrefixLengthToSubnetMask(int prefixLength)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"ipv4PrefixLengthToSubnetMask", "int prefixLength"));
1.1248. WifiDeviceNameTextValidator.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiDeviceNameTextValidator.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1248.1. WifiDeviceNameTextValidator Field属性列表
1.1248.2. WifiDeviceNameTextValidatorMethod方法列表
1.1248.2.1. isTextValid(String value)
public boolean isTextValid(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTextValid", "String value"));
1.1249. WifiDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1249.1. WifiDialog Field属性列表
1.1249.1.1. View mView;
private View mView;
1.1249.1.2. WifiConfigController mController;
private WifiConfigController mController;
1.1249.1.3. boolean mHideSubmitButton;
private boolean mHideSubmitButton;
1.1249.1.4. final int mMode;
private final int mMode;
1.1249.1.5. final WifiDialogListener mListener;
private final WifiDialogListener mListener;
1.1249.1.6. final AccessPoint mAccessPoint;
private final AccessPoint mAccessPoint;
1.1249.1.7. static final int BUTTON_SUBMIT
private static final int BUTTON_SUBMIT = DialogInterface.BUTTON_POSITIVE;
1.1249.1.8. static final int BUTTON_FORGET
private static final int BUTTON_FORGET = DialogInterface.BUTTON_NEUTRAL;
1.1249.2. WifiDialogMethod方法列表
1.1249.2.1. getController()
public WifiConfigController getController()
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiConfigController" ,"getController", ""));
1.1249.2.2. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1249.2.3. onRestoreInstanceState(Bundle savedInstanceState)
public void onRestoreInstanceState(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRestoreInstanceState", "Bundle savedInstanceState"));
1.1249.2.4. dispatchSubmit()
public void dispatchSubmit()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dispatchSubmit", ""));
1.1249.2.5. onClick(DialogInterface dialogInterface,int id)
public void onClick(DialogInterface dialogInterface, int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialogInterface,int id"));
1.1249.2.6. getMode()
public int getMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMode", ""));
1.1249.2.7. getSubmitButton()
public Button getSubmitButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getSubmitButton", ""));
1.1249.2.8. getForgetButton()
public Button getForgetButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getForgetButton", ""));
1.1249.2.9. getCancelButton()
public Button getCancelButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"Button" ,"getCancelButton", ""));
1.1249.2.10. setSubmitButton(CharSequence text)
public void setSubmitButton(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSubmitButton", "CharSequence text"));
1.1249.2.11. setForgetButton(CharSequence text)
public void setForgetButton(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setForgetButton", "CharSequence text"));
1.1249.2.12. setCancelButton(CharSequence text)
public void setCancelButton(CharSequence text)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCancelButton", "CharSequence text"));
1.1249.2.13. static createFullscreen(Context context,WifiDialogListener listener,AccessPoint accessPoint,int mode)
public static WifiDialog createFullscreen(Context context, WifiDialogListener listener, AccessPoint accessPoint, int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiDialog" ,"createFullscreen", "Context context,WifiDialogListener listener,AccessPoint accessPoint,int mode"));
1.1249.2.14. static createModal(Context context,WifiDialogListener listener,AccessPoint accessPoint,int mode)
public static WifiDialog createModal(Context context, WifiDialogListener listener, AccessPoint accessPoint, int mode)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiDialog" ,"createModal", "Context context,WifiDialogListener listener,AccessPoint accessPoint,int mode"));
1.1250. WifiDialogActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiDialogActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1250.1. WifiDialogActivity Field属性列表
1.1250.1.1. static final String TAG
private static final String TAG = "WifiDialogActivity";
1.1250.1.2. static final int RESULT_CONNECTED
private static final int RESULT_CONNECTED = RESULT_FIRST_USER;
1.1250.1.3. static final int RESULT_FORGET
private static final int RESULT_FORGET = RESULT_FIRST_USER + 1;
1.1250.1.4. static final String KEY_ACCESS_POINT_STATE
private static final String KEY_ACCESS_POINT_STATE = "access_point_state";
1.1250.1.5. static final String KEY_WIFI_CONFIGURATION
private static final String KEY_WIFI_CONFIGURATION = "wifi_configuration";
1.1250.1.6. static final String KEY_CONNECT_FOR_CALLER
/**
* Boolean extra indicating whether this activity should connect to an access point on the
* caller's behalf. If this is set to false, the caller should check
* {@link #KEY_WIFI_CONFIGURATION} in the result data and save that using
* {@link WifiManager#connect(WifiConfiguration, ActionListener)}. Default is true.
*/
@VisibleForTesting
static final String KEY_CONNECT_FOR_CALLER = "connect_for_caller";
1.1250.2. WifiDialogActivityMethod方法列表
1.1250.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1250.2.2. finish()
public void finish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"finish", ""));
1.1250.2.3. onForget(WifiDialog dialog)
public void onForget(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForget", "WifiDialog dialog"));
1.1250.2.4. onSubmit(WifiDialog dialog)
public void onSubmit(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSubmit", "WifiDialog dialog"));
1.1250.2.5. onDismiss(DialogInterface dialogInterface)
public void onDismiss(DialogInterface dialogInterface)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialogInterface"));
1.1251. WifiDisplayCertificationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WifiDisplayCertificationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1251.1. WifiDisplayCertificationPreferenceController Field属性列表
1.1251.1.1. static final String WIFI_DISPLAY_CERTIFICATION_KEY
private static final String WIFI_DISPLAY_CERTIFICATION_KEY = "wifi_display_certification";
1.1251.1.2. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1251.1.3. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1251.2. WifiDisplayCertificationPreferenceControllerMethod方法列表
1.1251.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1251.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1251.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1251.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1252. WifiDisplaySettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wfd/WifiDisplaySettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1252.1. WifiDisplaySettings Field属性列表
1.1252.1.1. MediaRouter mRouter;
private MediaRouter mRouter;
1.1252.1.2. DisplayManager mDisplayManager;
private DisplayManager mDisplayManager;
1.1252.1.3. boolean mStarted;
private boolean mStarted;
1.1252.1.4. int mPendingChanges;
private int mPendingChanges;
1.1252.1.5. boolean mWifiDisplayOnSetting;
private boolean mWifiDisplayOnSetting;
1.1252.1.6. WifiDisplayStatus mWifiDisplayStatus;
private WifiDisplayStatus mWifiDisplayStatus;
1.1252.1.7. TextView mEmptyView;
private TextView mEmptyView;
1.1252.1.8. boolean mWifiDisplayCertificationOn;
/* certification */
private boolean mWifiDisplayCertificationOn;
1.1252.1.9. WifiP2pManager mWifiP2pManager;
private WifiP2pManager mWifiP2pManager;
1.1252.1.10. Channel mWifiP2pChannel;
private Channel mWifiP2pChannel;
1.1252.1.11. PreferenceGroup mCertCategory;
private PreferenceGroup mCertCategory;
1.1252.1.12. boolean mListen;
private boolean mListen;
1.1252.1.13. boolean mAutoGO;
private boolean mAutoGO;
1.1252.1.14. int mWpsConfig
private int mWpsConfig = WpsInfo.INVALID;
1.1252.1.15. int mListenChannel;
private int mListenChannel;
1.1252.1.16. int mOperatingChannel;
private int mOperatingChannel;
1.1252.1.17. final Handler mHandler;
private final Handler mHandler;
1.1252.1.18. final Runnable mUpdateRunnable
private final Runnable mUpdateRunnable = new Runnable() {
@Override
public void run() {
final int changes = mPendingChanges;
mPendingChanges = 0;
update(changes);
}
};
1.1252.1.19. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED)) {
scheduleUpdate(CHANGE_WIFI_DISPLAY_STATUS);
}
}
};
1.1252.1.20. final ContentObserver mSettingsObserver
private final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) {
@Override
public void onChange(boolean selfChange, Uri uri) {
scheduleUpdate(CHANGE_SETTINGS);
}
};
1.1252.1.21. final MediaRouter.Callback mRouterCallback
private final MediaRouter.Callback mRouterCallback = new MediaRouter.SimpleCallback() {
@Override
public void onRouteAdded(MediaRouter router, RouteInfo info) {
scheduleUpdate(CHANGE_ROUTES);
}
@Override
public void onRouteChanged(MediaRouter router, RouteInfo info) {
scheduleUpdate(CHANGE_ROUTES);
}
@Override
public void onRouteRemoved(MediaRouter router, RouteInfo info) {
scheduleUpdate(CHANGE_ROUTES);
}
@Override
public void onRouteSelected(MediaRouter router, int type, RouteInfo info) {
scheduleUpdate(CHANGE_ROUTES);
}
@Override
public void onRouteUnselected(MediaRouter router, int type, RouteInfo info) {
scheduleUpdate(CHANGE_ROUTES);
}
};
1.1252.1.22. static final String TAG
private static final String TAG = "WifiDisplaySettings";
1.1252.1.23. static final boolean DEBUG
private static final boolean DEBUG = false;
1.1252.1.24. static final int MENU_ID_ENABLE_WIFI_DISPLAY
private static final int MENU_ID_ENABLE_WIFI_DISPLAY = Menu.FIRST;
1.1252.1.25. static final int CHANGE_SETTINGS
private static final int CHANGE_SETTINGS = 1 << 0;
1.1252.1.26. static final int CHANGE_ROUTES
private static final int CHANGE_ROUTES = 1 << 1;
1.1252.1.27. static final int CHANGE_WIFI_DISPLAY_STATUS
private static final int CHANGE_WIFI_DISPLAY_STATUS = 1 << 2;
1.1252.1.28. static final int CHANGE_ALL
private static final int CHANGE_ALL = -1;
1.1252.1.29. static final int ORDER_CERTIFICATION
private static final int ORDER_CERTIFICATION = 1;
1.1252.1.30. static final int ORDER_CONNECTED
private static final int ORDER_CONNECTED = 2;
1.1252.1.31. static final int ORDER_AVAILABLE
private static final int ORDER_AVAILABLE = 3;
1.1252.1.32. static final int ORDER_UNAVAILABLE
private static final int ORDER_UNAVAILABLE = 4;
1.1252.1.33. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = (activity, summaryLoader) -> new SummaryProvider(activity, summaryLoader);
1.1252.1.34. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.wifi_display_settings;
result.add(sir);
return result;
}
};
1.1252.2. WifiDisplaySettingsMethod方法列表
1.1252.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1252.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1252.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1252.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1252.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1252.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1252.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1252.2.8. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1252.2.9. scheduleUpdate(int changes)
private void scheduleUpdate(int changes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"scheduleUpdate", "int changes"));
1.1252.2.10. unscheduleUpdate()
private void unscheduleUpdate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unscheduleUpdate", ""));
1.1252.2.11. update(int changes)
private void update(int changes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"update", "int changes"));
1.1252.2.12. createRoutePreference(MediaRouter.RouteInfo route)
private RoutePreference createRoutePreference(MediaRouter.RouteInfo route)
methodList.add(new ZMethod(mZAndroidAPPClass,"RoutePreference" ,"createRoutePreference", "MediaRouter.RouteInfo route"));
1.1252.2.13. findWifiDisplay(String deviceAddress)
private WifiDisplay findWifiDisplay(String deviceAddress)
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiDisplay" ,"findWifiDisplay", "String deviceAddress"));
1.1252.2.14. buildCertificationMenu(final PreferenceScreen preferenceScreen)
private void buildCertificationMenu(final PreferenceScreen preferenceScreen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"buildCertificationMenu", "final PreferenceScreen preferenceScreen"));
1.1252.2.15. startAutoGO()
private void startAutoGO()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startAutoGO", ""));
1.1252.2.16. stopAutoGO()
private void stopAutoGO()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopAutoGO", ""));
1.1252.2.17. setListenMode(final boolean enable)
private void setListenMode(final boolean enable)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setListenMode", "final boolean enable"));
1.1252.2.18. setWifiP2pChannels(final int lc,final int oc)
private void setWifiP2pChannels(final int lc, final int oc)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWifiP2pChannels", "final int lc,final int oc"));
1.1252.2.19. toggleRoute(MediaRouter.RouteInfo route)
private void toggleRoute(MediaRouter.RouteInfo route)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toggleRoute", "MediaRouter.RouteInfo route"));
1.1252.2.20. pairWifiDisplay(WifiDisplay display)
private void pairWifiDisplay(WifiDisplay display)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pairWifiDisplay", "WifiDisplay display"));
1.1252.2.21. showWifiDisplayOptionsDialog(final WifiDisplay display)
private void showWifiDisplayOptionsDialog(final WifiDisplay display)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showWifiDisplayOptionsDialog", "final WifiDisplay display"));
1.1252.2.22. static isAvailable(Context context)
public static boolean isAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", "Context context"));
1.1253. WifiEnabler.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiEnabler.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1253.1. WifiEnabler Field属性列表
1.1253.1.1. Context mContext;
private Context mContext;
1.1253.1.2. boolean mListeningToOnSwitchChange
private boolean mListeningToOnSwitchChange = false;
1.1253.1.3. AtomicBoolean mConnected
private AtomicBoolean mConnected = new AtomicBoolean(false);
1.1253.1.4. boolean mStateMachineEvent;
private boolean mStateMachineEvent;
1.1253.1.5. final SwitchWidgetController mSwitchWidget;
private final SwitchWidgetController mSwitchWidget;
1.1253.1.6. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1253.1.7. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1253.1.8. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1253.1.9. final IntentFilter mIntentFilter;
private final IntentFilter mIntentFilter;
1.1253.1.10. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (WifiManager.WIFI_STATE_CHANGED_ACTION.equals(action)) {
handleWifiStateChanged(mWifiManager.getWifiState());
} else if (WifiManager.SUPPLICANT_STATE_CHANGED_ACTION.equals(action)) {
if (!mConnected.get()) {
handleStateChanged(WifiInfo.getDetailedStateOf((SupplicantState) intent.getParcelableExtra(WifiManager.EXTRA_NEW_STATE)));
}
} else if (WifiManager.NETWORK_STATE_CHANGED_ACTION.equals(action)) {
NetworkInfo info = (NetworkInfo) intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO);
mConnected.set(info.isConnected());
handleStateChanged(info.getDetailedState());
}
}
};
1.1253.1.11. static final String EVENT_DATA_IS_WIFI_ON
private static final String EVENT_DATA_IS_WIFI_ON = "is_wifi_on";
1.1253.1.12. static final int EVENT_UPDATE_INDEX
private static final int EVENT_UPDATE_INDEX = 0;
1.1253.2. WifiEnablerMethod方法列表
1.1253.2.1. setupSwitchController()
public void setupSwitchController()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupSwitchController", ""));
1.1253.2.2. teardownSwitchController()
public void teardownSwitchController()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"teardownSwitchController", ""));
1.1253.2.3. resume(Context context)
public void resume(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"resume", "Context context"));
1.1253.2.4. pause()
public void pause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pause", ""));
1.1253.2.5. handleWifiStateChanged(int state)
private void handleWifiStateChanged(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWifiStateChanged", "int state"));
1.1253.2.6. setSwitchBarChecked(boolean checked)
private void setSwitchBarChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSwitchBarChecked", "boolean checked"));
1.1253.2.7. handleStateChanged(@SuppressWarnings("unused") NetworkInfo.DetailedState state)
private void handleStateChanged(@SuppressWarnings("unused") NetworkInfo.DetailedState state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleStateChanged", "@SuppressWarnings("unused") NetworkInfo.DetailedState state"));
1.1253.2.8. onSwitchToggled(boolean isChecked)
public boolean onSwitchToggled(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onSwitchToggled", "boolean isChecked"));
1.1254. WifiInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1254.1. WifiInfo Field属性列表
1.1254.2. WifiInfoMethod方法列表
1.1254.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1254.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1255. WifiInfoPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiInfoPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1255.1. WifiInfoPreferenceController Field属性列表
1.1255.1.1. Preference mWifiMacAddressPref;
private Preference mWifiMacAddressPref;
1.1255.1.2. Preference mWifiIpAddressPref;
private Preference mWifiIpAddressPref;
1.1255.1.3. final IntentFilter mFilter;
private final IntentFilter mFilter;
1.1255.1.4. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1255.1.5. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (action.equals(WifiManager.LINK_CONFIGURATION_CHANGED_ACTION) || action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
updateWifiInfo();
}
}
};
1.1255.1.6. static final String KEY_CURRENT_IP_ADDRESS
private static final String KEY_CURRENT_IP_ADDRESS = "current_ip_address";
1.1255.1.7. static final String KEY_MAC_ADDRESS
private static final String KEY_MAC_ADDRESS = "mac_address";
1.1255.2. WifiInfoPreferenceControllerMethod方法列表
1.1255.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1255.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1255.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1255.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1255.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1255.2.6. updateWifiInfo()
public void updateWifiInfo()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWifiInfo", ""));
1.1256. WifiMacAddressPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/deviceinfo/WifiMacAddressPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1256.1. WifiMacAddressPreferenceController Field属性列表
1.1256.2. WifiMacAddressPreferenceControllerMethod方法列表
1.1256.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1257. WifiMasterSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiMasterSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1257.1. WifiMasterSwitchPreferenceController Field属性列表
1.1257.1.1. MasterSwitchPreference mWifiPreference;
private MasterSwitchPreference mWifiPreference;
1.1257.1.2. WifiEnabler mWifiEnabler;
private WifiEnabler mWifiEnabler;
1.1257.1.3. final WifiSummaryUpdater mSummaryHelper;
private final WifiSummaryUpdater mSummaryHelper;
1.1257.1.4. final MetricsFeatureProvider mMetricsFeatureProvider;
private final MetricsFeatureProvider mMetricsFeatureProvider;
1.1257.1.5. static final String KEY_TOGGLE_WIFI
public static final String KEY_TOGGLE_WIFI = "toggle_wifi";
1.1257.2. WifiMasterSwitchPreferenceControllerMethod方法列表
1.1257.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1257.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1257.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1257.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1257.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1257.2.6. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1257.2.7. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1257.2.8. onSummaryChanged(String summary)
public void onSummaryChanged(String summary)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSummaryChanged", "String summary"));
1.1258. WifiMeteredPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/details/WifiMeteredPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1258.1. WifiMeteredPreferenceController Field属性列表
1.1258.1.1. WifiConfiguration mWifiConfiguration;
private WifiConfiguration mWifiConfiguration;
1.1258.1.2. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1258.1.3. static final String KEY_WIFI_METERED
private static final String KEY_WIFI_METERED = "metered";
1.1258.2. WifiMeteredPreferenceControllerMethod方法列表
1.1258.2.1. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1258.2.2. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1258.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1258.2.4. getMeteredOverride()
int getMeteredOverride()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMeteredOverride", ""));
1.1258.2.5. updateSummary(DropDownPreference preference,int meteredOverride)
private void updateSummary(DropDownPreference preference, int meteredOverride)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSummary", "DropDownPreference preference,int meteredOverride"));
1.1259. WifiNetworkDetailsFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/details/WifiNetworkDetailsFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1259.1. WifiNetworkDetailsFragment Field属性列表
1.1259.1.1. AccessPoint mAccessPoint;
private AccessPoint mAccessPoint;
1.1259.1.2. WifiDetailPreferenceController mWifiDetailPreferenceController;
private WifiDetailPreferenceController mWifiDetailPreferenceController;
1.1259.1.3. static final String TAG
private static final String TAG = "WifiNetworkDetailsFrg";
1.1259.2. WifiNetworkDetailsFragmentMethod方法列表
1.1259.2.1. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1259.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1259.2.3. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1259.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1259.2.5. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1259.2.6. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.1259.2.7. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1259.2.8. onOptionsItemSelected(MenuItem menuItem)
public boolean onOptionsItemSelected(MenuItem menuItem)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem menuItem"));
1.1259.2.9. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1260. WifiNoInternetDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiNoInternetDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1260.1. WifiNoInternetDialog Field属性列表
1.1260.1.1. ConnectivityManager mCM;
private ConnectivityManager mCM;
1.1260.1.2. Network mNetwork;
private Network mNetwork;
1.1260.1.3. String mNetworkName;
private String mNetworkName;
1.1260.1.4. ConnectivityManager.NetworkCallback mNetworkCallback;
private ConnectivityManager.NetworkCallback mNetworkCallback;
1.1260.1.5. CheckBox mAlwaysAllow;
private CheckBox mAlwaysAllow;
1.1260.1.6. String mAction;
private String mAction;
1.1260.1.7. static final String TAG
private static final String TAG = "WifiNoInternetDialog";
1.1260.2. WifiNoInternetDialogMethod方法列表
1.1260.2.1. isKnownAction(Intent intent)
private boolean isKnownAction(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isKnownAction", "Intent intent"));
1.1260.2.2. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1260.2.3. createDialog()
private void createDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDialog", ""));
1.1260.2.4. onDestroy()
protected void onDestroy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroy", ""));
1.1260.2.5. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.1261. WifiP2pPeer.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/WifiP2pPeer.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1261.1. WifiP2pPeer Field属性列表
1.1261.1.1. WifiP2pDevice device;
public WifiP2pDevice device;
1.1261.1.2. ImageView mSignal;
private ImageView mSignal;
1.1261.1.3. final int mRssi;
private final int mRssi;
1.1261.1.4. static final int[] STATE_SECURED
private static final int[] STATE_SECURED = { R.attr.state_encrypted };
1.1261.1.5. static final int SIGNAL_LEVELS
private static final int SIGNAL_LEVELS = 4;
1.1261.2. WifiP2pPeerMethod方法列表
1.1261.2.1. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1261.2.2. compareTo(Preference preference)
public int compareTo(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"compareTo", "Preference preference"));
1.1261.2.3. getLevel()
int getLevel()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getLevel", ""));
1.1262. WifiP2pPersistentGroup.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/WifiP2pPersistentGroup.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1262.1. WifiP2pPersistentGroup Field属性列表
1.1262.1.1. WifiP2pGroup mGroup;
public WifiP2pGroup mGroup;
1.1262.2. WifiP2pPersistentGroupMethod方法列表
1.1262.2.1. getNetworkId()
int getNetworkId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNetworkId", ""));
1.1262.2.2. getGroupName()
String getGroupName()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getGroupName", ""));
1.1263. WifiP2pPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/WifiP2pPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1263.1. WifiP2pPreferenceController Field属性列表
1.1263.1.1. Preference mWifiDirectPref;
private Preference mWifiDirectPref;
1.1263.1.2. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1263.1.3. final BroadcastReceiver mReceiver
@VisibleForTesting
final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
togglePreferences();
}
};
1.1263.1.4. final IntentFilter mFilter
private final IntentFilter mFilter = new IntentFilter(WifiManager.WIFI_STATE_CHANGED_ACTION);
1.1263.1.5. static final String KEY_WIFI_DIRECT
private static final String KEY_WIFI_DIRECT = "wifi_direct";
1.1263.2. WifiP2pPreferenceControllerMethod方法列表
1.1263.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1263.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1263.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1263.2.4. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1263.2.5. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1263.2.6. togglePreferences()
private void togglePreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"togglePreferences", ""));
1.1264. WifiP2pSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/p2p/WifiP2pSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1264.1. WifiP2pSettings Field属性列表
1.1264.1.1. WifiP2pManager mWifiP2pManager;
private WifiP2pManager mWifiP2pManager;
1.1264.1.2. WifiP2pManager.Channel mChannel;
private WifiP2pManager.Channel mChannel;
1.1264.1.3. OnClickListener mRenameListener;
private OnClickListener mRenameListener;
1.1264.1.4. OnClickListener mDisconnectListener;
private OnClickListener mDisconnectListener;
1.1264.1.5. OnClickListener mCancelConnectListener;
private OnClickListener mCancelConnectListener;
1.1264.1.6. OnClickListener mDeleteGroupListener;
private OnClickListener mDeleteGroupListener;
1.1264.1.7. WifiP2pPeer mSelectedWifiPeer;
private WifiP2pPeer mSelectedWifiPeer;
1.1264.1.8. WifiP2pPersistentGroup mSelectedGroup;
private WifiP2pPersistentGroup mSelectedGroup;
1.1264.1.9. String mSelectedGroupName;
private String mSelectedGroupName;
1.1264.1.10. EditText mDeviceNameText;
private EditText mDeviceNameText;
1.1264.1.11. boolean mWifiP2pEnabled;
private boolean mWifiP2pEnabled;
1.1264.1.12. boolean mWifiP2pSearching;
private boolean mWifiP2pSearching;
1.1264.1.13. int mConnectedDevices;
private int mConnectedDevices;
1.1264.1.14. boolean mLastGroupFormed
private boolean mLastGroupFormed = false;
1.1264.1.15. P2pPeerCategoryPreferenceController mPeerCategoryController;
private P2pPeerCategoryPreferenceController mPeerCategoryController;
1.1264.1.16. P2pPersistentCategoryPreferenceController mPersistentCategoryController;
private P2pPersistentCategoryPreferenceController mPersistentCategoryController;
1.1264.1.17. P2pThisDevicePreferenceController mThisDevicePreferenceController;
private P2pThisDevicePreferenceController mThisDevicePreferenceController;
1.1264.1.18. WifiP2pDevice mThisDevice;
private WifiP2pDevice mThisDevice;
1.1264.1.19. WifiP2pDeviceList mPeers
private WifiP2pDeviceList mPeers = new WifiP2pDeviceList();
1.1264.1.20. String mSavedDeviceName;
private String mSavedDeviceName;
1.1264.1.21. final IntentFilter mIntentFilter
private final IntentFilter mIntentFilter = new IntentFilter();
1.1264.1.22. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (WifiP2pManager.WIFI_P2P_STATE_CHANGED_ACTION.equals(action)) {
mWifiP2pEnabled = intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE, WifiP2pManager.WIFI_P2P_STATE_DISABLED) == WifiP2pManager.WIFI_P2P_STATE_ENABLED;
handleP2pStateChanged();
} else if (WifiP2pManager.WIFI_P2P_PEERS_CHANGED_ACTION.equals(action)) {
mPeers = (WifiP2pDeviceList) intent.getParcelableExtra(WifiP2pManager.EXTRA_P2P_DEVICE_LIST);
handlePeersChanged();
} else if (WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION.equals(action)) {
if (mWifiP2pManager == null)
return;
NetworkInfo networkInfo = (NetworkInfo) intent.getParcelableExtra(WifiP2pManager.EXTRA_NETWORK_INFO);
WifiP2pInfo wifip2pinfo = (WifiP2pInfo) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_INFO);
if (networkInfo.isConnected()) {
if (DBG)
Log.d(TAG, "Connected");
} else if (mLastGroupFormed != true) {
//start a search when we are disconnected
//but not on group removed broadcast event
startSearch();
}
mLastGroupFormed = wifip2pinfo.groupFormed;
} else if (WifiP2pManager.WIFI_P2P_THIS_DEVICE_CHANGED_ACTION.equals(action)) {
mThisDevice = (WifiP2pDevice) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_DEVICE);
if (DBG)
Log.d(TAG, "Update device info: " + mThisDevice);
mThisDevicePreferenceController.updateDeviceName(mThisDevice);
} else if (WifiP2pManager.WIFI_P2P_DISCOVERY_CHANGED_ACTION.equals(action)) {
int discoveryState = intent.getIntExtra(WifiP2pManager.EXTRA_DISCOVERY_STATE, WifiP2pManager.WIFI_P2P_DISCOVERY_STOPPED);
if (DBG)
Log.d(TAG, "Discovery state changed: " + discoveryState);
if (discoveryState == WifiP2pManager.WIFI_P2P_DISCOVERY_STARTED) {
updateSearchMenu(true);
} else {
updateSearchMenu(false);
}
} else if (WifiP2pManager.WIFI_P2P_PERSISTENT_GROUPS_CHANGED_ACTION.equals(action)) {
if (mWifiP2pManager != null) {
mWifiP2pManager.requestPersistentGroupInfo(mChannel, WifiP2pSettings.this);
}
}
}
};
1.1264.1.23. static final String TAG
private static final String TAG = "WifiP2pSettings";
1.1264.1.24. static final boolean DBG
private static final boolean DBG = false;
1.1264.1.25. static final int MENU_ID_SEARCH
private static final int MENU_ID_SEARCH = Menu.FIRST;
1.1264.1.26. static final int MENU_ID_RENAME
private static final int MENU_ID_RENAME = Menu.FIRST + 1;
1.1264.1.27. static final int DIALOG_DISCONNECT
private static final int DIALOG_DISCONNECT = 1;
1.1264.1.28. static final int DIALOG_CANCEL_CONNECT
private static final int DIALOG_CANCEL_CONNECT = 2;
1.1264.1.29. static final int DIALOG_RENAME
private static final int DIALOG_RENAME = 3;
1.1264.1.30. static final int DIALOG_DELETE_GROUP
private static final int DIALOG_DELETE_GROUP = 4;
1.1264.1.31. static final String SAVE_DIALOG_PEER
private static final String SAVE_DIALOG_PEER = "PEER_STATE";
1.1264.1.32. static final String SAVE_DEVICE_NAME
private static final String SAVE_DEVICE_NAME = "DEV_NAME";
1.1264.1.33. static final String SAVE_SELECTED_GROUP
private static final String SAVE_SELECTED_GROUP = "GROUP_NAME";
1.1264.2. WifiP2pSettingsMethod方法列表
1.1264.2.1. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1264.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1264.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1264.2.4. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1264.2.5. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1264.2.6. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1264.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1264.2.8. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1264.2.9. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1264.2.10. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.1264.2.11. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1264.2.12. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1264.2.13. onCreateDialog(int id)
public Dialog onCreateDialog(int id)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int id"));
1.1264.2.14. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1264.2.15. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1264.2.16. handlePeersChanged()
private void handlePeersChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handlePeersChanged", ""));
1.1264.2.17. onPersistentGroupInfoAvailable(WifiP2pGroupList groups)
public void onPersistentGroupInfoAvailable(WifiP2pGroupList groups)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPersistentGroupInfoAvailable", "WifiP2pGroupList groups"));
1.1264.2.18. onPeersAvailable(WifiP2pDeviceList peers)
public void onPeersAvailable(WifiP2pDeviceList peers)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPeersAvailable", "WifiP2pDeviceList peers"));
1.1264.2.19. handleP2pStateChanged()
private void handleP2pStateChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleP2pStateChanged", ""));
1.1264.2.20. updateSearchMenu(boolean searching)
private void updateSearchMenu(boolean searching)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSearchMenu", "boolean searching"));
1.1264.2.21. startSearch()
private void startSearch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startSearch", ""));
1.1265. WifiPickerActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiPickerActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1265.1. WifiPickerActivity Field属性列表
1.1265.2. WifiPickerActivityMethod方法列表
1.1265.2.1. getIntent()
public Intent getIntent()
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", ""));
1.1265.2.2. isValidFragment(String fragmentName)
protected boolean isValidFragment(String fragmentName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isValidFragment", "String fragmentName"));
1.1265.2.3. getWifiSettingsClass()
Class getWifiSettingsClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getWifiSettingsClass", ""));
1.1266. WifiScanModeActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiScanModeActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1266.1. WifiScanModeActivity Field属性列表
1.1266.1.1. DialogFragment mDialog;
private DialogFragment mDialog;
1.1266.1.2. String mApp;
private String mApp;
1.1266.2. WifiScanModeActivityMethod方法列表
1.1266.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1266.2.2. createDialog()
private void createDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"createDialog", ""));
1.1266.2.3. dismissDialog()
private void dismissDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismissDialog", ""));
1.1266.2.4. doPositiveClick()
private void doPositiveClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doPositiveClick", ""));
1.1266.2.5. doNegativeClick()
private void doNegativeClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"doNegativeClick", ""));
1.1266.2.6. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1266.2.7. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1266.2.8. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1267. WifiScanningPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/location/WifiScanningPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1267.1. WifiScanningPreferenceController Field属性列表
1.1267.1.1. static final String KEY_WIFI_SCAN_ALWAYS_AVAILABLE
private static final String KEY_WIFI_SCAN_ALWAYS_AVAILABLE = "wifi_always_scanning";
1.1267.2. WifiScanningPreferenceControllerMethod方法列表
1.1267.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1267.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1267.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1267.2.4. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1268. WifiScanningRequiredFragment.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiScanningRequiredFragment.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1268.1. WifiScanningRequiredFragment Field属性列表
1.1268.1.1. static final String TAG
private static final String TAG = "WifiScanReqFrag";
1.1268.2. WifiScanningRequiredFragmentMethod方法列表
1.1268.2.1. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1268.2.2. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1268.2.3. onClick(DialogInterface dialog,int which)
public void onClick(DialogInterface dialog, int which)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "DialogInterface dialog,int which"));
1.1268.2.4. addButtonIfNeeded(AlertDialog.Builder builder)
void addButtonIfNeeded(AlertDialog.Builder builder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addButtonIfNeeded", "AlertDialog.Builder builder"));
1.1268.2.5. openHelpPage()
private void openHelpPage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"openHelpPage", ""));
1.1268.2.6. getHelpIntent(Context context)
Intent getHelpIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getHelpIntent", "Context context"));
1.1268.2.7. static newInstance()
public static WifiScanningRequiredFragment newInstance()
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiScanningRequiredFragment" ,"newInstance", ""));
1.1269. WifiSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1269.1. WifiSettings Field属性列表
1.1269.1.1. WifiManager mWifiManager;
protected WifiManager mWifiManager;
1.1269.1.2. ConnectivityManager mConnectivityManager;
private ConnectivityManager mConnectivityManager;
1.1269.1.3. WifiManager.ActionListener mConnectListener;
private WifiManager.ActionListener mConnectListener;
1.1269.1.4. WifiManager.ActionListener mSaveListener;
private WifiManager.ActionListener mSaveListener;
1.1269.1.5. WifiManager.ActionListener mForgetListener;
private WifiManager.ActionListener mForgetListener;
1.1269.1.6. CaptivePortalNetworkCallback mCaptivePortalNetworkCallback;
private CaptivePortalNetworkCallback mCaptivePortalNetworkCallback;
1.1269.1.7. boolean mIsRestricted;
/**
* The state of {@link #isUiRestricted()} at {@link #onCreate(Bundle)}}. This is neccesary to
* ensure that behavior is consistent if {@link #isUiRestricted()} changes. It could be changed
* by the Test DPC tool in AFW mode.
*/
private boolean mIsRestricted;
1.1269.1.8. WifiEnabler mWifiEnabler;
private WifiEnabler mWifiEnabler;
1.1269.1.9. AccessPoint mSelectedAccessPoint;
// An access point being edited is stored here.
private AccessPoint mSelectedAccessPoint;
1.1269.1.10. WifiDialog mDialog;
private WifiDialog mDialog;
1.1269.1.11. WriteWifiConfigToNfcDialog mWifiToNfcDialog;
private WriteWifiConfigToNfcDialog mWifiToNfcDialog;
1.1269.1.12. View mProgressHeader;
private View mProgressHeader;
1.1269.1.13. boolean mEnableNextOnConnection;
// should Next button only be enabled when we have a connection?
private boolean mEnableNextOnConnection;
1.1269.1.14. int mDialogMode;
// Save the dialog details
private int mDialogMode;
1.1269.1.15. AccessPoint mDlgAccessPoint;
private AccessPoint mDlgAccessPoint;
1.1269.1.16. Bundle mAccessPointSavedState;
private Bundle mAccessPointSavedState;
1.1269.1.17. Bundle mWifiNfcDialogSavedState;
private Bundle mWifiNfcDialogSavedState;
1.1269.1.18. WifiTracker mWifiTracker;
private WifiTracker mWifiTracker;
1.1269.1.19. String mOpenSsid;
private String mOpenSsid;
1.1269.1.20. AccessPointPreference.UserBadgeCache mUserBadgeCache;
private AccessPointPreference.UserBadgeCache mUserBadgeCache;
1.1269.1.21. PreferenceCategory mConnectedAccessPointPreferenceCategory;
private PreferenceCategory mConnectedAccessPointPreferenceCategory;
1.1269.1.22. PreferenceCategory mAccessPointsPreferenceCategory;
private PreferenceCategory mAccessPointsPreferenceCategory;
1.1269.1.23. PreferenceCategory mAdditionalSettingsPreferenceCategory;
private PreferenceCategory mAdditionalSettingsPreferenceCategory;
1.1269.1.24. Preference mAddPreference;
private Preference mAddPreference;
1.1269.1.25. Preference mConfigureWifiSettingsPreference;
private Preference mConfigureWifiSettingsPreference;
1.1269.1.26. Preference mSavedNetworksPreference;
private Preference mSavedNetworksPreference;
1.1269.1.27. LinkablePreference mStatusMessagePreference;
private LinkablePreference mStatusMessagePreference;
1.1269.1.28. boolean mClickedConnect;
/**
* Tracks whether the user initiated a connection via clicking in order to autoscroll to the
* network once connected.
*/
private boolean mClickedConnect;
1.1269.1.29. final Runnable mUpdateAccessPointsRunnable
private final Runnable mUpdateAccessPointsRunnable = () -> {
updateAccessPointPreferences();
};
1.1269.1.30. final Runnable mHideProgressBarRunnable
private final Runnable mHideProgressBarRunnable = () -> {
setProgressBarVisible(false);
};
1.1269.1.31. static final String TAG
private static final String TAG = "WifiSettings";
1.1269.1.32. static final int MENU_ID_CONNECT
private static final int MENU_ID_CONNECT = Menu.FIRST + 6;
1.1269.1.33. static final int MENU_ID_FORGET
private static final int MENU_ID_FORGET = Menu.FIRST + 7;
1.1269.1.34. static final int MENU_ID_MODIFY
private static final int MENU_ID_MODIFY = Menu.FIRST + 8;
1.1269.1.35. static final int MENU_ID_WRITE_NFC
private static final int MENU_ID_WRITE_NFC = Menu.FIRST + 9;
1.1269.1.36. static final int WIFI_DIALOG_ID
public static final int WIFI_DIALOG_ID = 1;
1.1269.1.37. static final int WRITE_NFC_DIALOG_ID
private static final int WRITE_NFC_DIALOG_ID = 6;
1.1269.1.38. static final String SAVE_DIALOG_MODE
// Instance state keys
private static final String SAVE_DIALOG_MODE = "dialog_mode";
1.1269.1.39. static final String SAVE_DIALOG_ACCESS_POINT_STATE
private static final String SAVE_DIALOG_ACCESS_POINT_STATE = "wifi_ap_state";
1.1269.1.40. static final String SAVED_WIFI_NFC_DIALOG_STATE
private static final String SAVED_WIFI_NFC_DIALOG_STATE = "wifi_nfc_dlg_state";
1.1269.1.41. static final String PREF_KEY_EMPTY_WIFI_LIST
private static final String PREF_KEY_EMPTY_WIFI_LIST = "wifi_empty_list";
1.1269.1.42. static final String PREF_KEY_CONNECTED_ACCESS_POINTS
private static final String PREF_KEY_CONNECTED_ACCESS_POINTS = "connected_access_point";
1.1269.1.43. static final String PREF_KEY_ACCESS_POINTS
private static final String PREF_KEY_ACCESS_POINTS = "access_points";
1.1269.1.44. static final String PREF_KEY_ADDITIONAL_SETTINGS
private static final String PREF_KEY_ADDITIONAL_SETTINGS = "additional_settings";
1.1269.1.45. static final String PREF_KEY_CONFIGURE_WIFI_SETTINGS
private static final String PREF_KEY_CONFIGURE_WIFI_SETTINGS = "configure_settings";
1.1269.1.46. static final String PREF_KEY_SAVED_NETWORKS
private static final String PREF_KEY_SAVED_NETWORKS = "saved_networks";
1.1269.1.47. static final // account creation outside of setup wizard. private String EXTRA_ENABLE_NEXT_ON_CONNECT
// this boolean extra specifies whether to disable the Next button when not connected. Used by
// account creation outside of setup wizard.
private static final String EXTRA_ENABLE_NEXT_ON_CONNECT = "wifi_enable_next_on_connect";
1.1269.1.48. static final // network credentials. This is used by quick settings for secured networks, among other // things. public String EXTRA_START_CONNECT_SSID
// This string extra specifies a network to open the connect dialog on, so the user can enter
// network credentials. This is used by quick settings for secured networks, among other
// things.
public static final String EXTRA_START_CONNECT_SSID = "wifi_start_connect_ssid";
1.1269.1.49. static final String DATA_KEY_REFERENCE
// For Search
public static final String DATA_KEY_REFERENCE = "main_toggle_wifi";
1.1269.1.50. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getRawDataToIndex(Context context, boolean enabled) {
final List result = new ArrayList<>();
final Resources res = context.getResources();
// Add fragment title if we are showing this fragment
if (res.getBoolean(R.bool.config_show_wifi_settings)) {
SearchIndexableRaw data = new SearchIndexableRaw(context);
data.title = res.getString(R.string.wifi_settings);
data.screenTitle = res.getString(R.string.wifi_settings);
data.keywords = res.getString(R.string.keywords_wifi);
data.key = DATA_KEY_REFERENCE;
result.add(data);
}
return result;
}
};
1.1269.1.51. static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY
public static final SummaryLoader.SummaryProviderFactory SUMMARY_PROVIDER_FACTORY = new SummaryLoader.SummaryProviderFactory() {
@Override
public SummaryLoader.SummaryProvider createSummaryProvider(Activity activity, SummaryLoader summaryLoader) {
return new SummaryProvider(activity, summaryLoader);
}
};
1.1269.2. WifiSettingsMethod方法列表
1.1269.2.1. onViewCreated(View view,Bundle savedInstanceState)
public void onViewCreated(View view, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,Bundle savedInstanceState"));
1.1269.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1269.2.3. addPreferences()
private void addPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addPreferences", ""));
1.1269.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1269.2.5. onDestroyView()
public void onDestroyView()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDestroyView", ""));
1.1269.2.6. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1269.2.7. restrictUi()
private void restrictUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"restrictUi", ""));
1.1269.2.8. createWifiEnabler()
private WifiEnabler createWifiEnabler()
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiEnabler" ,"createWifiEnabler", ""));
1.1269.2.9. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1269.2.10. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1269.2.11. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1269.2.12. onActivityResult(int requestCode,int resultCode,Intent data)
public void onActivityResult(int requestCode, int resultCode, Intent data)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode,Intent data"));
1.1269.2.13. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1269.2.14. onSaveInstanceState(Bundle outState)
public void onSaveInstanceState(Bundle outState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSaveInstanceState", "Bundle outState"));
1.1269.2.15. onCreateContextMenu(ContextMenu menu,View view,ContextMenuInfo info)
public void onCreateContextMenu(ContextMenu menu, View view, ContextMenuInfo info)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateContextMenu", "ContextMenu menu,View view,ContextMenuInfo info"));
1.1269.2.16. onContextItemSelected(MenuItem item)
public boolean onContextItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onContextItemSelected", "MenuItem item"));
1.1269.2.17. onPreferenceTreeClick(Preference preference)
public boolean onPreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceTreeClick", "Preference preference"));
1.1269.2.18. showDialog(AccessPoint accessPoint,int dialogMode)
private void showDialog(AccessPoint accessPoint, int dialogMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDialog", "AccessPoint accessPoint,int dialogMode"));
1.1269.2.19. onCreateDialog(int dialogId)
public Dialog onCreateDialog(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "int dialogId"));
1.1269.2.20. getDialogMetricsCategory(int dialogId)
public int getDialogMetricsCategory(int dialogId)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getDialogMetricsCategory", "int dialogId"));
1.1269.2.21. onAccessPointsChanged()
public void onAccessPointsChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccessPointsChanged", ""));
1.1269.2.22. updateAccessPointsDelayed()
private void updateAccessPointsDelayed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccessPointsDelayed", ""));
1.1269.2.23. onWifiStateChanged(int state)
public void onWifiStateChanged(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWifiStateChanged", "int state"));
1.1269.2.24. onConnectedChanged()
public void onConnectedChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onConnectedChanged", ""));
1.1269.2.25. updateAccessPointPreferences()
private void updateAccessPointPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAccessPointPreferences", ""));
1.1269.2.26. createLongPressAccessPointPreference(AccessPoint accessPoint)
private LongPressAccessPointPreference createLongPressAccessPointPreference(AccessPoint accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"LongPressAccessPointPreference" ,"createLongPressAccessPointPreference", "AccessPoint accessPoint"));
1.1269.2.27. createConnectedAccessPointPreference(AccessPoint accessPoint)
private ConnectedAccessPointPreference createConnectedAccessPointPreference(AccessPoint accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"ConnectedAccessPointPreference" ,"createConnectedAccessPointPreference", "AccessPoint accessPoint"));
1.1269.2.28. configureConnectedAccessPointPreferenceCategory(List accessPoints)
private boolean configureConnectedAccessPointPreferenceCategory(List accessPoints)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"configureConnectedAccessPointPreferenceCategory", "List accessPoints"));
1.1269.2.29. addConnectedAccessPointPreference(AccessPoint connectedAp)
private void addConnectedAccessPointPreference(AccessPoint connectedAp)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addConnectedAccessPointPreference", "AccessPoint connectedAp"));
1.1269.2.30. registerCaptivePortalNetworkCallback(Network wifiNetwork,ConnectedAccessPointPreference pref)
private void registerCaptivePortalNetworkCallback(Network wifiNetwork, ConnectedAccessPointPreference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerCaptivePortalNetworkCallback", "Network wifiNetwork,ConnectedAccessPointPreference pref"));
1.1269.2.31. unregisterCaptivePortalNetworkCallback()
private void unregisterCaptivePortalNetworkCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unregisterCaptivePortalNetworkCallback", ""));
1.1269.2.32. launchNetworkDetailsFragment(ConnectedAccessPointPreference pref)
private void launchNetworkDetailsFragment(ConnectedAccessPointPreference pref)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchNetworkDetailsFragment", "ConnectedAccessPointPreference pref"));
1.1269.2.33. getCurrentWifiNetwork()
private Network getCurrentWifiNetwork()
methodList.add(new ZMethod(mZAndroidAPPClass,"Network" ,"getCurrentWifiNetwork", ""));
1.1269.2.34. removeConnectedAccessPointPreference()
private void removeConnectedAccessPointPreference()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeConnectedAccessPointPreference", ""));
1.1269.2.35. setAdditionalSettingsSummaries()
private void setAdditionalSettingsSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAdditionalSettingsSummaries", ""));
1.1269.2.36. isWifiWakeupEnabled()
private boolean isWifiWakeupEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWifiWakeupEnabled", ""));
1.1269.2.37. setOffMessage()
private void setOffMessage()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOffMessage", ""));
1.1269.2.38. addMessagePreference(int messageId)
private void addMessagePreference(int messageId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addMessagePreference", "int messageId"));
1.1269.2.39. setProgressBarVisible(boolean visible)
protected void setProgressBarVisible(boolean visible)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setProgressBarVisible", "boolean visible"));
1.1269.2.40. changeNextButtonState(boolean enabled)
private void changeNextButtonState(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"changeNextButtonState", "boolean enabled"));
1.1269.2.41. onForget(WifiDialog dialog)
public void onForget(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onForget", "WifiDialog dialog"));
1.1269.2.42. onSubmit(WifiDialog dialog)
public void onSubmit(WifiDialog dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSubmit", "WifiDialog dialog"));
1.1269.2.43. submit(WifiConfigController configController)
void submit(WifiConfigController configController)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"submit", "WifiConfigController configController"));
1.1269.2.44. forget()
void forget()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"forget", ""));
1.1269.2.45. connect(final WifiConfiguration config,boolean isSavedNetwork)
protected void connect(final WifiConfiguration config, boolean isSavedNetwork)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"connect", "final WifiConfiguration config,boolean isSavedNetwork"));
1.1269.2.46. connect(final int networkId,boolean isSavedNetwork)
protected void connect(final int networkId, boolean isSavedNetwork)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"connect", "final int networkId,boolean isSavedNetwork"));
1.1269.2.47. onAddNetworkPressed()
void onAddNetworkPressed()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAddNetworkPressed", ""));
1.1269.2.48. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1269.2.49. onAccessPointChanged(final AccessPoint accessPoint)
public void onAccessPointChanged(final AccessPoint accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAccessPointChanged", "final AccessPoint accessPoint"));
1.1269.2.50. onLevelChanged(AccessPoint accessPoint)
public void onLevelChanged(AccessPoint accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onLevelChanged", "AccessPoint accessPoint"));
1.1269.2.51. static isVerboseLoggingEnabled()
private static boolean isVerboseLoggingEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVerboseLoggingEnabled", ""));
1.1269.2.52. static isDisabledByWrongPassword(AccessPoint accessPoint)
private static boolean isDisabledByWrongPassword(AccessPoint accessPoint)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDisabledByWrongPassword", "AccessPoint accessPoint"));
1.1270. WifiSliceBuilder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiSliceBuilder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1270.1. WifiSliceBuilder Field属性列表
1.1270.1.1. static final Uri WIFI_URI
/**
* Backing Uri for the Wifi Slice.
*/
public static final Uri WIFI_URI = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(SettingsSlicesContract.AUTHORITY).appendPath(SettingsSlicesContract.PATH_SETTING_ACTION).appendPath(KEY_WIFI).build();
1.1270.1.2. static final String ACTION_WIFI_SLICE_CHANGED
/**
* Action notifying a change on the Wifi Slice.
*/
public static final String ACTION_WIFI_SLICE_CHANGED = "com.android.settings.wifi.action.WIFI_CHANGED";
1.1270.1.3. static final IntentFilter INTENT_FILTER
public static final IntentFilter INTENT_FILTER = new IntentFilter();
1.1270.2. WifiSliceBuilderMethod方法列表
1.1270.2.1. static getSlice(Context context)
public static Slice getSlice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getSlice", "Context context"));
1.1270.2.2. static handleUriChange(Context context,Intent intent)
public static void handleUriChange(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUriChange", "Context context,Intent intent"));
1.1270.2.3. static getIntent(Context context)
public static Intent getIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", "Context context"));
1.1270.2.4. static isWifiEnabled(Context context)
private static boolean isWifiEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isWifiEnabled", "Context context"));
1.1270.2.5. static getSummary(Context context)
private static CharSequence getSummary(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context"));
1.1270.2.6. static getPrimaryAction(Context context)
private static PendingIntent getPrimaryAction(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getPrimaryAction", "Context context"));
1.1270.2.7. static getBroadcastIntent(Context context)
private static PendingIntent getBroadcastIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getBroadcastIntent", "Context context"));
1.1271. WifiStatusTest.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiStatusTest.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1271.1. WifiStatusTest Field属性列表
1.1271.1.1. Button updateButton;
private Button updateButton;
1.1271.1.2. TextView mWifiState;
private TextView mWifiState;
1.1271.1.3. TextView mNetworkState;
private TextView mNetworkState;
1.1271.1.4. TextView mSupplicantState;
private TextView mSupplicantState;
1.1271.1.5. TextView mRSSI;
private TextView mRSSI;
1.1271.1.6. TextView mBSSID;
private TextView mBSSID;
1.1271.1.7. TextView mSSID;
private TextView mSSID;
1.1271.1.8. TextView mHiddenSSID;
private TextView mHiddenSSID;
1.1271.1.9. TextView mIPAddr;
private TextView mIPAddr;
1.1271.1.10. TextView mMACAddr;
private TextView mMACAddr;
1.1271.1.11. TextView mNetworkId;
private TextView mNetworkId;
1.1271.1.12. TextView mLinkSpeed;
private TextView mLinkSpeed;
1.1271.1.13. TextView mScanList;
private TextView mScanList;
1.1271.1.14. TextView mPingHostname;
private TextView mPingHostname;
1.1271.1.15. TextView mHttpClientTest;
private TextView mHttpClientTest;
1.1271.1.16. Button pingTestButton;
private Button pingTestButton;
1.1271.1.17. String mPingHostnameResult;
private String mPingHostnameResult;
1.1271.1.18. String mHttpClientTestResult;
private String mHttpClientTestResult;
1.1271.1.19. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1271.1.20. IntentFilter mWifiStateFilter;
private IntentFilter mWifiStateFilter;
1.1271.1.21. OnClickListener mPingButtonHandler
OnClickListener mPingButtonHandler = new OnClickListener() {
public void onClick(View v) {
updatePingState();
}
};
1.1271.1.22. OnClickListener updateButtonHandler
OnClickListener updateButtonHandler = new OnClickListener() {
public void onClick(View v) {
final WifiInfo wifiInfo = mWifiManager.getConnectionInfo();
setWifiStateText(mWifiManager.getWifiState());
mBSSID.setText(wifiInfo.getBSSID());
mHiddenSSID.setText(String.valueOf(wifiInfo.getHiddenSSID()));
int ipAddr = wifiInfo.getIpAddress();
StringBuffer ipBuf = new StringBuffer();
ipBuf.append(ipAddr & 0xff).append('.').append((ipAddr >>>= 8) & 0xff).append('.').append((ipAddr >>>= 8) & 0xff).append('.').append((ipAddr >>>= 8) & 0xff);
mIPAddr.setText(ipBuf);
mLinkSpeed.setText(String.valueOf(wifiInfo.getLinkSpeed()) + " Mbps");
mMACAddr.setText(wifiInfo.getMacAddress());
mNetworkId.setText(String.valueOf(wifiInfo.getNetworkId()));
mRSSI.setText(String.valueOf(wifiInfo.getRssi()));
mSSID.setText(wifiInfo.getSSID());
SupplicantState supplicantState = wifiInfo.getSupplicantState();
setSupplicantStateText(supplicantState);
}
};
1.1271.1.23. final //
//============================
// Activity lifecycle
//============================
private final BroadcastReceiver mWifiStateReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) {
handleWifiStateChanged(intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, WifiManager.WIFI_STATE_UNKNOWN));
} else if (intent.getAction().equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) {
handleNetworkStateChanged((NetworkInfo) intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO));
} else if (intent.getAction().equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
handleScanResultsAvailable();
} else if (intent.getAction().equals(WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION)) {
/* TODO: handle supplicant connection change later */
} else if (intent.getAction().equals(WifiManager.SUPPLICANT_STATE_CHANGED_ACTION)) {
handleSupplicantStateChanged((SupplicantState) intent.getParcelableExtra(WifiManager.EXTRA_NEW_STATE), intent.hasExtra(WifiManager.EXTRA_SUPPLICANT_ERROR), intent.getIntExtra(WifiManager.EXTRA_SUPPLICANT_ERROR, 0));
} else if (intent.getAction().equals(WifiManager.RSSI_CHANGED_ACTION)) {
handleSignalChanged(intent.getIntExtra(WifiManager.EXTRA_NEW_RSSI, 0));
} else if (intent.getAction().equals(WifiManager.NETWORK_IDS_CHANGED_ACTION)) {
/* TODO: handle network id change info later */
} else {
Log.e(TAG, "Received an unknown Wifi Intent");
}
}
};
1.1271.1.24. static final String TAG
private static final String TAG = "WifiStatusTest";
1.1271.2. WifiStatusTestMethod方法列表
1.1271.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1271.2.2. onResume()
protected void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1271.2.3. onPause()
protected void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1271.2.4. setSupplicantStateText(SupplicantState supplicantState)
private void setSupplicantStateText(SupplicantState supplicantState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSupplicantStateText", "SupplicantState supplicantState"));
1.1271.2.5. setWifiStateText(int wifiState)
private void setWifiStateText(int wifiState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWifiStateText", "int wifiState"));
1.1271.2.6. handleSignalChanged(int rssi)
private void handleSignalChanged(int rssi)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleSignalChanged", "int rssi"));
1.1271.2.7. handleWifiStateChanged(int wifiState)
private void handleWifiStateChanged(int wifiState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWifiStateChanged", "int wifiState"));
1.1271.2.8. handleScanResultsAvailable()
private void handleScanResultsAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleScanResultsAvailable", ""));
1.1271.2.9. handleSupplicantStateChanged(SupplicantState state,boolean hasError,int error)
private void handleSupplicantStateChanged(SupplicantState state, boolean hasError, int error)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleSupplicantStateChanged", "SupplicantState state,boolean hasError,int error"));
1.1271.2.10. handleNetworkStateChanged(NetworkInfo networkInfo)
private void handleNetworkStateChanged(NetworkInfo networkInfo)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleNetworkStateChanged", "NetworkInfo networkInfo"));
1.1271.2.11. httpClientTest()
private void httpClientTest()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"httpClientTest", ""));
1.1271.2.12. final updatePingState()
private final void updatePingState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePingState", ""));
1.1271.2.13. final pingHostname()
private final void pingHostname()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"pingHostname", ""));
1.1272. WifiSummaryUpdater.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiSummaryUpdater.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1272.1. WifiSummaryUpdater Field属性列表
1.1272.1.1. final WifiStatusTracker mWifiTracker;
private final WifiStatusTracker mWifiTracker;
1.1272.1.2. final BroadcastReceiver mReceiver;
private final BroadcastReceiver mReceiver;
1.1272.1.3. static final IntentFilter INTENT_FILTER;
private static final IntentFilter INTENT_FILTER;
1.1272.2. WifiSummaryUpdaterMethod方法列表
1.1272.2.1. register(boolean register)
public void register(boolean register)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"register", "boolean register"));
1.1272.2.2. getSummary()
public String getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummary", ""));
1.1273. WifiTetherApBandPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherApBandPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1273.1. WifiTetherApBandPreferenceController Field属性列表
1.1273.1.1. String[] mBandEntries;
private String[] mBandEntries;
1.1273.1.2. String[] mBandSummaries;
private String[] mBandSummaries;
1.1273.1.3. int mBandIndex;
private int mBandIndex;
1.1273.1.4. boolean isDualMode;
private boolean isDualMode;
1.1273.1.5. static final String TAG
private static final String TAG = "WifiTetherApBandPref";
1.1273.1.6. static final String PREF_KEY
private static final String PREF_KEY = "wifi_tether_network_ap_band";
1.1273.2. WifiTetherApBandPreferenceControllerMethod方法列表
1.1273.2.1. updateDisplay()
public void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.1273.2.2. getConfigSummary()
String getConfigSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getConfigSummary", ""));
1.1273.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1273.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1273.2.5. validateSelection(int band)
private int validateSelection(int band)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"validateSelection", "int band"));
1.1273.2.6. updatePreferenceEntries()
void updatePreferenceEntries()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreferenceEntries", ""));
1.1273.2.7. is5GhzBandSupported()
private boolean is5GhzBandSupported()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"is5GhzBandSupported", ""));
1.1273.2.8. getBandIndex()
public int getBandIndex()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getBandIndex", ""));
1.1274. WifiTetherAutoOffPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherAutoOffPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1274.1. WifiTetherAutoOffPreferenceController Field属性列表
1.1274.2. WifiTetherAutoOffPreferenceControllerMethod方法列表
1.1274.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1274.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1274.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1275. WifiTetherBasePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherBasePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1275.1. WifiTetherBasePreferenceController Field属性列表
1.1275.1.1. Preference mPreference;
protected Preference mPreference;
1.1275.1.2. final WifiManager mWifiManager;
protected final WifiManager mWifiManager;
1.1275.1.3. final String[] mWifiRegexs;
protected final String[] mWifiRegexs;
1.1275.1.4. final ConnectivityManager mCm;
protected final ConnectivityManager mCm;
1.1275.1.5. final OnTetherConfigUpdateListener mListener;
protected final OnTetherConfigUpdateListener mListener;
1.1275.2. WifiTetherBasePreferenceControllerMethod方法列表
1.1275.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1275.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1275.2.3. abstract updateDisplay()
public abstract void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.1276. WifiTetherPasswordPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherPasswordPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1276.1. WifiTetherPasswordPreferenceController Field属性列表
1.1276.1.1. String mPassword;
private String mPassword;
1.1276.1.2. static final String PREF_KEY
private static final String PREF_KEY = "wifi_tether_network_password";
1.1276.2. WifiTetherPasswordPreferenceControllerMethod方法列表
1.1276.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1276.2.2. updateDisplay()
public void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.1276.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1276.2.4. getPasswordValidated(int securityType)
public String getPasswordValidated(int securityType)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPasswordValidated", "int securityType"));
1.1276.2.5. updateVisibility(int securityType)
public void updateVisibility(int securityType)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateVisibility", "int securityType"));
1.1276.2.6. isTextValid(String value)
public boolean isTextValid(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTextValid", "String value"));
1.1276.2.7. updatePasswordDisplay(EditTextPreference preference)
private void updatePasswordDisplay(EditTextPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePasswordDisplay", "EditTextPreference preference"));
1.1276.2.8. static generateRandomPassword()
private static String generateRandomPassword()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"generateRandomPassword", ""));
1.1277. WifiTetherPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1277.1. WifiTetherPreferenceController Field属性列表
1.1277.1.1. int mSoftApState;
private int mSoftApState;
1.1277.1.2. Preference mPreference;
@VisibleForTesting
Preference mPreference;
1.1277.1.3. WifiTetherSoftApManager mWifiTetherSoftApManager;
@VisibleForTesting
WifiTetherSoftApManager mWifiTetherSoftApManager;
1.1277.1.4. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1277.1.5. final String[] mWifiRegexs;
private final String[] mWifiRegexs;
1.1277.1.6. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1277.1.7. final Lifecycle mLifecycle;
private final Lifecycle mLifecycle;
1.1277.1.8. final // Everything below is copied from WifiApEnabler // private BroadcastReceiver mReceiver
//
// Everything below is copied from WifiApEnabler
//
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(action)) {
clearSummaryForAirplaneMode(R.string.wifi_hotspot_off_subtext);
}
}
};
1.1277.1.9. static final String WIFI_TETHER_SETTINGS
private static final String WIFI_TETHER_SETTINGS = "wifi_tether";
1.1277.1.10. static final IntentFilter AIRPLANE_INTENT_FILTER
private static final IntentFilter AIRPLANE_INTENT_FILTER = new IntentFilter(Intent.ACTION_AIRPLANE_MODE_CHANGED);
1.1277.1.11. static final int ID_NULL
private static final int ID_NULL = -1;
1.1277.2. WifiTetherPreferenceControllerMethod方法列表
1.1277.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1277.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1277.2.3. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1277.2.4. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1277.2.5. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1277.2.6. initWifiTetherSoftApManager()
void initWifiTetherSoftApManager()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"initWifiTetherSoftApManager", ""));
1.1277.2.7. handleWifiApStateChanged(int state,int reason)
void handleWifiApStateChanged(int state, int reason)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWifiApStateChanged", "int state,int reason"));
1.1277.2.8. updateConfigSummary(WifiConfiguration wifiConfig)
private void updateConfigSummary(WifiConfiguration wifiConfig)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateConfigSummary", "WifiConfiguration wifiConfig"));
1.1277.2.9. clearSummaryForAirplaneMode()
private void clearSummaryForAirplaneMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearSummaryForAirplaneMode", ""));
1.1277.2.10. clearSummaryForAirplaneMode(int defaultId)
private void clearSummaryForAirplaneMode(int defaultId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"clearSummaryForAirplaneMode", "int defaultId"));
1.1278. WifiTetherSecurityPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherSecurityPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1278.1. WifiTetherSecurityPreferenceController Field属性列表
1.1278.1.1. int mSecurityValue;
private int mSecurityValue;
1.1278.1.2. final String[] mSecurityEntries;
private final String[] mSecurityEntries;
1.1278.1.3. static final String PREF_KEY
private static final String PREF_KEY = "wifi_tether_security";
1.1278.2. WifiTetherSecurityPreferenceControllerMethod方法列表
1.1278.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1278.2.2. updateDisplay()
public void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.1278.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1278.2.4. getSecurityType()
public int getSecurityType()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecurityType", ""));
1.1278.2.5. getSummaryForSecurityType(int securityType)
private String getSummaryForSecurityType(int securityType)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSummaryForSecurityType", "int securityType"));
1.1279. WifiTetherSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1279.1. WifiTetherSettings Field属性列表
1.1279.1.1. WifiTetherSwitchBarController mSwitchBarController;
private WifiTetherSwitchBarController mSwitchBarController;
1.1279.1.2. WifiTetherSSIDPreferenceController mSSIDPreferenceController;
private WifiTetherSSIDPreferenceController mSSIDPreferenceController;
1.1279.1.3. WifiTetherPasswordPreferenceController mPasswordPreferenceController;
private WifiTetherPasswordPreferenceController mPasswordPreferenceController;
1.1279.1.4. WifiTetherApBandPreferenceController mApBandPreferenceController;
private WifiTetherApBandPreferenceController mApBandPreferenceController;
1.1279.1.5. WifiTetherSecurityPreferenceController mSecurityPreferenceController;
private WifiTetherSecurityPreferenceController mSecurityPreferenceController;
1.1279.1.6. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1279.1.7. boolean mRestartWifiApAfterConfigChange;
private boolean mRestartWifiApAfterConfigChange;
1.1279.1.8. TetherChangeReceiver mTetherChangeReceiver;
@VisibleForTesting
TetherChangeReceiver mTetherChangeReceiver;
1.1279.1.9. static final String TAG
private static final String TAG = "WifiTetherSettings";
1.1279.1.10. static final IntentFilter TETHER_STATE_CHANGE_FILTER;
private static final IntentFilter TETHER_STATE_CHANGE_FILTER;
1.1279.1.11. static final String KEY_WIFI_TETHER_AUTO_OFF
private static final String KEY_WIFI_TETHER_AUTO_OFF = "wifi_tether_auto_turn_off";
1.1279.2. WifiTetherSettingsMethod方法列表
1.1279.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1279.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1279.2.3. onAttach(Context context)
public void onAttach(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onAttach", "Context context"));
1.1279.2.4. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1279.2.5. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1279.2.6. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1279.2.7. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1279.2.8. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1279.2.9. onTetherConfigUpdated()
public void onTetherConfigUpdated()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTetherConfigUpdated", ""));
1.1279.2.10. buildNewConfig()
private WifiConfiguration buildNewConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"WifiConfiguration" ,"buildNewConfig", ""));
1.1279.2.11. startTether()
private void startTether()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startTether", ""));
1.1279.2.12. updateDisplayWithNewConfig()
private void updateDisplayWithNewConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplayWithNewConfig", ""));
1.1280. WifiTetherSoftApManager.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherSoftApManager.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1280.1. WifiTetherSoftApManager Field属性列表
1.1280.1.1. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1280.1.2. WifiTetherSoftApCallback mWifiTetherSoftApCallback;
private WifiTetherSoftApCallback mWifiTetherSoftApCallback;
1.1280.1.3. WifiManager.SoftApCallback mSoftApCallback
private WifiManager.SoftApCallback mSoftApCallback = new WifiManager.SoftApCallback() {
@Override
public void onStateChanged(int state, int failureReason) {
mWifiTetherSoftApCallback.onStateChanged(state, failureReason);
}
@Override
public void onNumClientsChanged(int numClients) {
mWifiTetherSoftApCallback.onNumClientsChanged(numClients);
}
};
1.1280.1.4. Handler mHandler;
private Handler mHandler;
1.1280.2. WifiTetherSoftApManagerMethod方法列表
1.1280.2.1. registerSoftApCallback()
public void registerSoftApCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"registerSoftApCallback", ""));
1.1280.2.2. unRegisterSoftApCallback()
public void unRegisterSoftApCallback()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"unRegisterSoftApCallback", ""));
1.1281. WifiTetherSSIDPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherSSIDPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1281.1. WifiTetherSSIDPreferenceController Field属性列表
1.1281.1.1. String mSSID;
private String mSSID;
1.1281.1.2. WifiDeviceNameTextValidator mWifiDeviceNameTextValidator;
private WifiDeviceNameTextValidator mWifiDeviceNameTextValidator;
1.1281.1.3. static final String TAG
private static final String TAG = "WifiTetherSsidPref";
1.1281.1.4. static final String PREF_KEY
private static final String PREF_KEY = "wifi_tether_network_name";
1.1281.1.5. static final String DEFAULT_SSID
@VisibleForTesting
static final String DEFAULT_SSID = "AndroidAP";
1.1281.2. WifiTetherSSIDPreferenceControllerMethod方法列表
1.1281.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1281.2.2. updateDisplay()
public void updateDisplay()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDisplay", ""));
1.1281.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1281.2.4. isTextValid(String value)
public boolean isTextValid(String value)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isTextValid", "String value"));
1.1281.2.5. getSSID()
public String getSSID()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSSID", ""));
1.1281.2.6. updateSsidDisplay(EditTextPreference preference)
private void updateSsidDisplay(EditTextPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateSsidDisplay", "EditTextPreference preference"));
1.1282. WifiTetherSwitchBarController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/tether/WifiTetherSwitchBarController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1282.1. WifiTetherSwitchBarController Field属性列表
1.1282.1.1. final Context mContext;
private final Context mContext;
1.1282.1.2. final SwitchWidgetController mSwitchBar;
private final SwitchWidgetController mSwitchBar;
1.1282.1.3. final ConnectivityManager mConnectivityManager;
private final ConnectivityManager mConnectivityManager;
1.1282.1.4. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1282.1.5. final DataSaverBackend mDataSaverBackend;
@VisibleForTesting
final DataSaverBackend mDataSaverBackend;
1.1282.1.6. final ConnectivityManager.OnStartTetheringCallback mOnStartTetheringCallback
@VisibleForTesting
final ConnectivityManager.OnStartTetheringCallback mOnStartTetheringCallback = new ConnectivityManager.OnStartTetheringCallback() {
@Override
public void onTetheringFailed() {
super.onTetheringFailed();
mSwitchBar.setChecked(false);
updateWifiSwitch();
}
};
1.1282.1.7. final BroadcastReceiver mReceiver
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String action = intent.getAction();
if (WifiManager.WIFI_AP_STATE_CHANGED_ACTION.equals(action)) {
final int state = intent.getIntExtra(WifiManager.EXTRA_WIFI_AP_STATE, WifiManager.WIFI_AP_STATE_FAILED);
handleWifiApStateChanged(state);
} else if (Intent.ACTION_AIRPLANE_MODE_CHANGED.equals(action)) {
updateWifiSwitch();
}
}
};
1.1282.1.8. static final IntentFilter WIFI_INTENT_FILTER;
private static final IntentFilter WIFI_INTENT_FILTER;
1.1282.2. WifiTetherSwitchBarControllerMethod方法列表
1.1282.2.1. onStart()
public void onStart()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStart", ""));
1.1282.2.2. onStop()
public void onStop()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onStop", ""));
1.1282.2.3. onSwitchToggled(boolean isChecked)
public boolean onSwitchToggled(boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onSwitchToggled", "boolean isChecked"));
1.1282.2.4. stopTether()
void stopTether()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"stopTether", ""));
1.1282.2.5. startTether()
void startTether()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"startTether", ""));
1.1282.2.6. handleWifiApStateChanged(int state)
private void handleWifiApStateChanged(int state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWifiApStateChanged", "int state"));
1.1282.2.7. updateWifiSwitch()
private void updateWifiSwitch()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWifiSwitch", ""));
1.1282.2.8. onDataSaverChanged(boolean isDataSaving)
public void onDataSaverChanged(boolean isDataSaving)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDataSaverChanged", "boolean isDataSaving"));
1.1282.2.9. onWhitelistStatusChanged(int uid,boolean isWhitelisted)
public void onWhitelistStatusChanged(int uid, boolean isWhitelisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onWhitelistStatusChanged", "int uid,boolean isWhitelisted"));
1.1282.2.10. onBlacklistStatusChanged(int uid,boolean isBlacklisted)
public void onBlacklistStatusChanged(int uid, boolean isBlacklisted)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBlacklistStatusChanged", "int uid,boolean isBlacklisted"));
1.1283. WifiUtils.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiUtils.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1283.1. WifiUtils Field属性列表
1.1283.1.1. static final int SSID_ASCII_MIN_LENGTH
private static final int SSID_ASCII_MIN_LENGTH = 1;
1.1283.1.2. static final int SSID_ASCII_MAX_LENGTH
private static final int SSID_ASCII_MAX_LENGTH = 32;
1.1283.1.3. static final int PASSWORD_MIN_LENGTH
private static final int PASSWORD_MIN_LENGTH = 8;
1.1283.1.4. static final int PASSWORD_MAX_LENGTH
private static final int PASSWORD_MAX_LENGTH = 63;
1.1283.2. WifiUtilsMethod方法列表
1.1283.2.1. static isSSIDTooLong(String ssid)
public static boolean isSSIDTooLong(String ssid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSSIDTooLong", "String ssid"));
1.1283.2.2. static isSSIDTooShort(String ssid)
public static boolean isSSIDTooShort(String ssid)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSSIDTooShort", "String ssid"));
1.1283.2.3. static isHotspotPasswordValid(String password)
public static boolean isHotspotPasswordValid(String password)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isHotspotPasswordValid", "String password"));
1.1283.2.4. static isNetworkLockedDown(Context context,WifiConfiguration config)
public static boolean isNetworkLockedDown(Context context, WifiConfiguration config)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isNetworkLockedDown", "Context context,WifiConfiguration config"));
1.1283.2.5. static canSignIntoNetwork(NetworkCapabilities capabilities)
public static boolean canSignIntoNetwork(NetworkCapabilities capabilities)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canSignIntoNetwork", "NetworkCapabilities capabilities"));
1.1284. WifiVerboseLoggingPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WifiVerboseLoggingPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1284.1. WifiVerboseLoggingPreferenceController Field属性列表
1.1284.1.1. final WifiManager mWifiManager;
private final WifiManager mWifiManager;
1.1284.1.2. static final String WIFI_VERBOSE_LOGGING_KEY
private static final String WIFI_VERBOSE_LOGGING_KEY = "wifi_verbose_logging";
1.1284.1.3. static final int SETTING_VALUE_ON
@VisibleForTesting
static final int SETTING_VALUE_ON = 1;
1.1284.1.4. static final int SETTING_VALUE_OFF
@VisibleForTesting
static final int SETTING_VALUE_OFF = 0;
1.1284.2. WifiVerboseLoggingPreferenceControllerMethod方法列表
1.1284.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1284.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1284.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1284.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1285. WifiWakeupPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WifiWakeupPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1285.1. WifiWakeupPreferenceController Field属性列表
1.1285.1.1. SwitchPreference mPreference;
@VisibleForTesting
SwitchPreference mPreference;
1.1285.1.2. LocationManager mLocationManager;
@VisibleForTesting
LocationManager mLocationManager;
1.1285.1.3. final Fragment mFragment;
private final Fragment mFragment;
1.1285.1.4. static final String TAG
private static final String TAG = "WifiWakeupPrefController";
1.1285.1.5. static final String KEY_ENABLE_WIFI_WAKEUP
private static final String KEY_ENABLE_WIFI_WAKEUP = "enable_wifi_wakeup";
1.1285.2. WifiWakeupPreferenceControllerMethod方法列表
1.1285.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1285.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1285.2.3. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1285.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1285.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1285.2.6. getNoLocationSummary()
CharSequence getNoLocationSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getNoLocationSummary", ""));
1.1285.2.7. onActivityResult(int requestCode,int resultCode)
public void onActivityResult(int requestCode, int resultCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityResult", "int requestCode,int resultCode"));
1.1285.2.8. getWifiScanningEnabled()
private boolean getWifiScanningEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getWifiScanningEnabled", ""));
1.1285.2.9. showScanningDialog()
private void showScanningDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showScanningDialog", ""));
1.1285.2.10. getWifiWakeupEnabled()
private boolean getWifiWakeupEnabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"getWifiWakeupEnabled", ""));
1.1285.2.11. setWifiWakeupEnabled(boolean enabled)
private void setWifiWakeupEnabled(boolean enabled)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setWifiWakeupEnabled", "boolean enabled"));
1.1286. WindowAnimationScalePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/development/WindowAnimationScalePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1286.1. WindowAnimationScalePreferenceController Field属性列表
1.1286.1.1. final IWindowManager mWindowManager;
private final IWindowManager mWindowManager;
1.1286.1.2. final String[] mListValues;
private final String[] mListValues;
1.1286.1.3. final String[] mListSummaries;
private final String[] mListSummaries;
1.1286.1.4. static final String WINDOW_ANIMATION_SCALE_KEY
private static final String WINDOW_ANIMATION_SCALE_KEY = "window_animation_scale";
1.1286.1.5. static final int WINDOW_ANIMATION_SCALE_SELECTOR
@VisibleForTesting
static final int WINDOW_ANIMATION_SCALE_SELECTOR = 0;
1.1286.1.6. static final float DEFAULT_VALUE
@VisibleForTesting
static final float DEFAULT_VALUE = 1;
1.1286.2. WindowAnimationScalePreferenceControllerMethod方法列表
1.1286.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1286.2.2. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1286.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1286.2.4. onDeveloperOptionsSwitchDisabled()
protected void onDeveloperOptionsSwitchDisabled()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDeveloperOptionsSwitchDisabled", ""));
1.1286.2.5. writeAnimationScaleOption(Object newValue)
private void writeAnimationScaleOption(Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"writeAnimationScaleOption", "Object newValue"));
1.1286.2.6. updateAnimationScaleValue()
private void updateAnimationScaleValue()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateAnimationScaleValue", ""));
1.1287. WorkModeCondition.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/dashboard/conditional/WorkModeCondition.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1287.1. WorkModeCondition Field属性列表
1.1287.1.1. UserManager mUm;
private UserManager mUm;
1.1287.1.2. UserHandle mUserHandle;
private UserHandle mUserHandle;
1.1287.2. WorkModeConditionMethod方法列表
1.1287.2.1. updateUserHandle()
private void updateUserHandle()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateUserHandle", ""));
1.1287.2.2. refreshState()
public void refreshState()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"refreshState", ""));
1.1287.2.3. getIcon()
public Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.1287.2.4. getTitle()
public CharSequence getTitle()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getTitle", ""));
1.1287.2.5. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1287.2.6. getActions()
public CharSequence[] getActions()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence[]" ,"getActions", ""));
1.1287.2.7. onPrimaryClick()
public void onPrimaryClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrimaryClick", ""));
1.1287.2.8. onActionClick(int index)
public void onActionClick(int index)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActionClick", "int index"));
1.1287.2.9. getMetricsConstant()
public int getMetricsConstant()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsConstant", ""));
1.1288. WorkOnlyCategory.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/widget/WorkOnlyCategory.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1288.1. WorkOnlyCategory Field属性列表
1.1288.2. WorkOnlyCategoryMethod方法列表
1.1288.2.1. isAvailable(Context context)
public boolean isAvailable(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", "Context context"));
1.1289. WorkSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/WorkSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1289.1. WorkSoundPreferenceController Field属性列表
1.1289.1.1. PreferenceGroup mWorkPreferenceCategory;
private PreferenceGroup mWorkPreferenceCategory;
1.1289.1.2. TwoStatePreference mWorkUsePersonalSounds;
private TwoStatePreference mWorkUsePersonalSounds;
1.1289.1.3. Preference mWorkPhoneRingtonePreference;
private Preference mWorkPhoneRingtonePreference;
1.1289.1.4. Preference mWorkNotificationRingtonePreference;
private Preference mWorkNotificationRingtonePreference;
1.1289.1.5. Preference mWorkAlarmRingtonePreference;
private Preference mWorkAlarmRingtonePreference;
1.1289.1.6. int mManagedProfileId;
@UserIdInt
private int mManagedProfileId;
1.1289.1.7. final boolean mVoiceCapable;
private final boolean mVoiceCapable;
1.1289.1.8. final UserManager mUserManager;
private final UserManager mUserManager;
1.1289.1.9. final SoundSettings mParent;
private final SoundSettings mParent;
1.1289.1.10. final AudioHelper mHelper;
private final AudioHelper mHelper;
1.1289.1.11. final BroadcastReceiver mManagedProfileReceiver
private final BroadcastReceiver mManagedProfileReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
final int userId = ((UserHandle) intent.getExtra(Intent.EXTRA_USER)).getIdentifier();
switch(intent.getAction()) {
case Intent.ACTION_MANAGED_PROFILE_ADDED:
{
onManagedProfileAdded(userId);
return;
}
case Intent.ACTION_MANAGED_PROFILE_REMOVED:
{
onManagedProfileRemoved(userId);
return;
}
}
}
};
1.1289.1.12. static final String TAG
private static final String TAG = "WorkSoundPrefController";
1.1289.1.13. static final String KEY_WORK_CATEGORY
private static final String KEY_WORK_CATEGORY = "sound_work_settings_section";
1.1289.1.14. static final String KEY_WORK_USE_PERSONAL_SOUNDS
private static final String KEY_WORK_USE_PERSONAL_SOUNDS = "work_use_personal_sounds";
1.1289.1.15. static final String KEY_WORK_PHONE_RINGTONE
private static final String KEY_WORK_PHONE_RINGTONE = "work_ringtone";
1.1289.1.16. static final String KEY_WORK_NOTIFICATION_RINGTONE
private static final String KEY_WORK_NOTIFICATION_RINGTONE = "work_notification_ringtone";
1.1289.1.17. static final String KEY_WORK_ALARM_RINGTONE
private static final String KEY_WORK_ALARM_RINGTONE = "work_alarm_ringtone";
1.1289.2. WorkSoundPreferenceControllerMethod方法列表
1.1289.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1289.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1289.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1289.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1289.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1289.2.6. handlePreferenceTreeClick(Preference preference)
public boolean handlePreferenceTreeClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"handlePreferenceTreeClick", "Preference preference"));
1.1289.2.7. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1289.2.8. shouldShowRingtoneSettings()
private boolean shouldShowRingtoneSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"shouldShowRingtoneSettings", ""));
1.1289.2.9. updateRingtoneName(Context context,int type)
private CharSequence updateRingtoneName(Context context, int type)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"updateRingtoneName", "Context context,int type"));
1.1289.2.10. getManagedProfileContext()
private Context getManagedProfileContext()
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"getManagedProfileContext", ""));
1.1289.2.11. initWorkPreference(PreferenceGroup root,String key)
private DefaultRingtonePreference initWorkPreference(PreferenceGroup root, String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"DefaultRingtonePreference" ,"initWorkPreference", "PreferenceGroup root,String key"));
1.1289.2.12. updateWorkPreferences()
private void updateWorkPreferences()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWorkPreferences", ""));
1.1289.2.13. enableWorkSync()
void enableWorkSync()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableWorkSync", ""));
1.1289.2.14. enableWorkSyncSettings()
private void enableWorkSyncSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableWorkSyncSettings", ""));
1.1289.2.15. disableWorkSync()
private void disableWorkSync()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableWorkSync", ""));
1.1289.2.16. disableWorkSyncSettings()
private void disableWorkSyncSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"disableWorkSyncSettings", ""));
1.1289.2.17. updateWorkRingtoneSummaries()
private void updateWorkRingtoneSummaries()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateWorkRingtoneSummaries", ""));
1.1289.2.18. onManagedProfileAdded(@UserIdInt int profileId)
public void onManagedProfileAdded(@UserIdInt int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onManagedProfileAdded", "@UserIdInt int profileId"));
1.1289.2.19. onManagedProfileRemoved(@UserIdInt int profileId)
public void onManagedProfileRemoved(@UserIdInt int profileId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onManagedProfileRemoved", "@UserIdInt int profileId"));
1.1290. WriteSettingsDetails.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/WriteSettingsDetails.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1290.1. WriteSettingsDetails Field属性列表
1.1290.1.1. // TODO: Break out this functionality into its own class. private AppStateWriteSettingsBridge mAppBridge;
// Use a bridge to get the overlay details but don't initialize it to connect with all state.
// TODO: Break out this functionality into its own class.
private AppStateWriteSettingsBridge mAppBridge;
1.1290.1.2. AppOpsManager mAppOpsManager;
private AppOpsManager mAppOpsManager;
1.1290.1.3. SwitchPreference mSwitchPref;
private SwitchPreference mSwitchPref;
1.1290.1.4. Intent mSettingsIntent;
private Intent mSettingsIntent;
1.1290.1.5. WriteSettingsState mWriteSettingsState;
private WriteSettingsState mWriteSettingsState;
1.1290.1.6. static final String KEY_APP_OPS_PREFERENCE_SCREEN
private static final String KEY_APP_OPS_PREFERENCE_SCREEN = "app_ops_preference_screen";
1.1290.1.7. static final String KEY_APP_OPS_SETTINGS_SWITCH
private static final String KEY_APP_OPS_SETTINGS_SWITCH = "app_ops_settings_switch";
1.1290.1.8. static final String LOG_TAG
private static final String LOG_TAG = "WriteSettingsDetails";
1.1290.1.9. static final int[] APP_OPS_OP_CODE
private static final int[] APP_OPS_OP_CODE = { AppOpsManager.OP_WRITE_SETTINGS };
1.1290.2. WriteSettingsDetailsMethod方法列表
1.1290.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1290.2.2. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1290.2.3. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1290.2.4. setCanWriteSettings(boolean newState)
private void setCanWriteSettings(boolean newState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setCanWriteSettings", "boolean newState"));
1.1290.2.5. logSpecialPermissionChange(boolean newState,String packageName)
void logSpecialPermissionChange(boolean newState, String packageName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean newState,String packageName"));
1.1290.2.6. canWriteSettings(String pkgName)
private boolean canWriteSettings(String pkgName)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"canWriteSettings", "String pkgName"));
1.1290.2.7. refreshUi()
protected boolean refreshUi()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshUi", ""));
1.1290.2.8. createDialog(int id,int errorCode)
protected AlertDialog createDialog(int id, int errorCode)
methodList.add(new ZMethod(mZAndroidAPPClass,"AlertDialog" ,"createDialog", "int id,int errorCode"));
1.1290.2.9. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1290.2.10. static getSummary(Context context,AppEntry entry)
public static CharSequence getSummary(Context context, AppEntry entry)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,AppEntry entry"));
1.1290.2.11. static getSummary(Context context,WriteSettingsState writeSettingsState)
public static CharSequence getSummary(Context context, WriteSettingsState writeSettingsState)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", "Context context,WriteSettingsState writeSettingsState"));
1.1291. WriteSystemSettingsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/applications/appinfo/WriteSystemSettingsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1291.1. WriteSystemSettingsPreferenceController Field属性列表
1.1291.2. WriteSystemSettingsPreferenceControllerMethod方法列表
1.1291.2.1. getAvailabilityStatus()
public int getAvailabilityStatus()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getAvailabilityStatus", ""));
1.1291.2.2. getDetailFragmentClass()
protected Class getDetailFragmentClass()
methodList.add(new ZMethod(mZAndroidAPPClass,"Class" ,"getDetailFragmentClass", ""));
1.1291.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1292. WriteWifiConfigToNfcDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/wifi/WriteWifiConfigToNfcDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1292.1. WriteWifiConfigToNfcDialog Field属性列表
1.1292.1.1. View mView;
private View mView;
1.1292.1.2. Button mSubmitButton;
private Button mSubmitButton;
1.1292.1.3. Button mCancelButton;
private Button mCancelButton;
1.1292.1.4. TextView mPasswordView;
private TextView mPasswordView;
1.1292.1.5. TextView mLabelView;
private TextView mLabelView;
1.1292.1.6. CheckBox mPasswordCheckBox;
private CheckBox mPasswordCheckBox;
1.1292.1.7. ProgressBar mProgressBar;
private ProgressBar mProgressBar;
1.1292.1.8. WifiManager mWifiManager;
private WifiManager mWifiManager;
1.1292.1.9. String mWpsNfcConfigurationToken;
private String mWpsNfcConfigurationToken;
1.1292.1.10. Context mContext;
private Context mContext;
1.1292.1.11. int mSecurity;
private int mSecurity;
1.1292.1.12. final PowerManager.WakeLock mWakeLock;
private final PowerManager.WakeLock mWakeLock;
1.1292.1.13. static final String NFC_TOKEN_MIME_TYPE
private static final String NFC_TOKEN_MIME_TYPE = "application/vnd.wfa.wsc";
1.1292.1.14. static final String TAG
private static final String TAG = WriteWifiConfigToNfcDialog.class.getName().toString();
1.1292.1.15. static final String PASSWORD_FORMAT
private static final String PASSWORD_FORMAT = "102700%s%s";
1.1292.1.16. static final int HEX_RADIX
private static final int HEX_RADIX = 16;
1.1292.1.17. static final char[] hexArray
private static final char[] hexArray = "0123456789ABCDEF".toCharArray();
1.1292.1.18. static final String SECURITY
private static final String SECURITY = "security";
1.1292.2. WriteWifiConfigToNfcDialogMethod方法列表
1.1292.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1292.2.2. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1292.2.3. saveState(Bundle state)
public void saveState(Bundle state)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveState", "Bundle state"));
1.1292.2.4. handleWriteNfcEvent(Tag tag)
private void handleWriteNfcEvent(Tag tag)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleWriteNfcEvent", "Tag tag"));
1.1292.2.5. dismiss()
public void dismiss()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"dismiss", ""));
1.1292.2.6. onTextChanged(CharSequence s,int start,int before,int count)
public void onTextChanged(CharSequence s, int start, int before, int count)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onTextChanged", "CharSequence s,int start,int before,int count"));
1.1292.2.7. enableSubmitIfAppropriate()
private void enableSubmitIfAppropriate()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"enableSubmitIfAppropriate", ""));
1.1292.2.8. setViewText(final TextView view,final int resid)
private void setViewText(final TextView view, final int resid)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setViewText", "final TextView view,final int resid"));
1.1292.2.9. onCheckedChanged(CompoundButton buttonView,boolean isChecked)
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCheckedChanged", "CompoundButton buttonView,boolean isChecked"));
1.1292.2.10. beforeTextChanged(CharSequence s,int start,int count,int after)
public void beforeTextChanged(CharSequence s, int start, int count, int after)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"beforeTextChanged", "CharSequence s,int start,int count,int after"));
1.1292.2.11. afterTextChanged(Editable s)
public void afterTextChanged(Editable s)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"afterTextChanged", "Editable s"));
1.1292.2.12. static hexStringToByteArray(String s)
private static byte[] hexStringToByteArray(String s)
methodList.add(new ZMethod(mZAndroidAPPClass,"byte[]" ,"hexStringToByteArray", "String s"));
1.1292.2.13. static byteArrayToHexString(byte[] bytes)
private static String byteArrayToHexString(byte[] bytes)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"byteArrayToHexString", "byte[] bytes"));
1.1293. ZenAccessSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenAccessSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1293.1. ZenAccessSettings Field属性列表
1.1293.1.1. Context mContext;
private Context mContext;
1.1293.1.2. PackageManager mPkgMan;
private PackageManager mPkgMan;
1.1293.1.3. NotificationManager mNoMan;
private NotificationManager mNoMan;
1.1293.1.4. final String TAG
private final String TAG = "ZenAccessSettings";
1.1293.1.5. final SettingObserver mObserver
private final SettingObserver mObserver = new SettingObserver();
1.1293.2. ZenAccessSettingsMethod方法列表
1.1293.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1293.2.2. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1293.2.3. onViewCreated(View view,@Nullable Bundle savedInstanceState)
public void onViewCreated(View view, @Nullable Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onViewCreated", "View view,@Nullable Bundle savedInstanceState"));
1.1293.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1293.2.5. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1293.2.6. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1293.2.7. reloadList()
private void reloadList()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadList", ""));
1.1293.2.8. getPackagesRequestingNotificationPolicyAccess()
private ArraySet getPackagesRequestingNotificationPolicyAccess()
methodList.add(new ZMethod(mZAndroidAPPClass,"ArraySet" ,"getPackagesRequestingNotificationPolicyAccess", ""));
1.1293.2.9. hasAccess(String pkg)
private boolean hasAccess(String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"hasAccess", "String pkg"));
1.1293.2.10. static setAccess(final Context context,final String pkg,final boolean access)
private static void setAccess(final Context context, final String pkg, final boolean access)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAccess", "final Context context,final String pkg,final boolean access"));
1.1293.2.11. static logSpecialPermissionChange(boolean enable,String packageName,Context context)
static void logSpecialPermissionChange(boolean enable, String packageName, Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"logSpecialPermissionChange", "boolean enable,String packageName,Context context"));
1.1293.2.12. static deleteRules(final Context context,final String pkg)
private static void deleteRules(final Context context, final String pkg)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"deleteRules", "final Context context,final String pkg"));
1.1294. ZenAutomaticRuleHeaderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenAutomaticRuleHeaderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1294.1. ZenAutomaticRuleHeaderPreferenceController Field属性列表
1.1294.1.1. AutomaticZenRule mRule;
private AutomaticZenRule mRule;
1.1294.1.2. String mId;
private String mId;
1.1294.1.3. EntityHeaderController mController;
private EntityHeaderController mController;
1.1294.1.4. final String KEY
private final String KEY = PREF_KEY_APP_HEADER;
1.1294.1.5. final PreferenceFragment mFragment;
private final PreferenceFragment mFragment;
1.1294.2. ZenAutomaticRuleHeaderPreferenceControllerMethod方法列表
1.1294.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1294.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1294.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1294.2.4. getIcon()
private Drawable getIcon()
methodList.add(new ZMethod(mZAndroidAPPClass,"Drawable" ,"getIcon", ""));
1.1294.2.5. onResume(AutomaticZenRule rule,String id)
protected void onResume(AutomaticZenRule rule, String id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", "AutomaticZenRule rule,String id"));
1.1295. ZenAutomaticRuleSwitchPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenAutomaticRuleSwitchPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1295.1. ZenAutomaticRuleSwitchPreferenceController Field属性列表
1.1295.1.1. AutomaticZenRule mRule;
private AutomaticZenRule mRule;
1.1295.1.2. String mId;
private String mId;
1.1295.1.3. SwitchBar mSwitchBar;
private SwitchBar mSwitchBar;
1.1295.1.4. static final String KEY
private static final String KEY = "zen_automatic_rule_switch";
1.1295.2. ZenAutomaticRuleSwitchPreferenceControllerMethod方法列表
1.1295.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1295.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1295.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1295.2.4. onResume(AutomaticZenRule rule,String id)
public void onResume(AutomaticZenRule rule, String id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", "AutomaticZenRule rule,String id"));
1.1295.2.5. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1295.2.6. onSwitchChanged(Switch switchView,boolean isChecked)
public void onSwitchChanged(Switch switchView, boolean isChecked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onSwitchChanged", "Switch switchView,boolean isChecked"));
1.1296. ZenCustomRadioButtonPreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenCustomRadioButtonPreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1296.1. ZenCustomRadioButtonPreference Field属性列表
1.1296.1.1. RadioButton mButton;
private RadioButton mButton;
1.1296.1.2. boolean mChecked;
private boolean mChecked;
1.1296.1.3. OnGearClickListener mOnGearClickListener;
private OnGearClickListener mOnGearClickListener;
1.1296.1.4. OnRadioButtonClickListener mOnRadioButtonClickListener;
private OnRadioButtonClickListener mOnRadioButtonClickListener;
1.1296.2. ZenCustomRadioButtonPreferenceMethod方法列表
1.1296.2.1. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.1296.2.2. setOnGearClickListener(OnGearClickListener l)
public void setOnGearClickListener(OnGearClickListener l)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnGearClickListener", "OnGearClickListener l"));
1.1296.2.3. setOnRadioButtonClickListener(OnRadioButtonClickListener l)
public void setOnRadioButtonClickListener(OnRadioButtonClickListener l)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setOnRadioButtonClickListener", "OnRadioButtonClickListener l"));
1.1296.2.4. onBindViewHolder(PreferenceViewHolder holder)
public void onBindViewHolder(PreferenceViewHolder holder)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder holder"));
1.1296.2.5. isChecked()
public boolean isChecked()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isChecked", ""));
1.1296.2.6. setChecked(boolean checked)
public void setChecked(boolean checked)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setChecked", "boolean checked"));
1.1296.2.7. getRadioButton()
public RadioButton getRadioButton()
methodList.add(new ZMethod(mZAndroidAPPClass,"RadioButton" ,"getRadioButton", ""));
1.1296.2.8. onClick()
public void onClick()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", ""));
1.1296.2.9. onClick(View v)
public void onClick(View v)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onClick", "View v"));
1.1297. ZenDeleteRuleDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenDeleteRuleDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1297.1. ZenDeleteRuleDialog Field属性列表
1.1297.1.1. static PositiveClickListener mPositiveClickListener;
protected static PositiveClickListener mPositiveClickListener;
1.1297.1.2. static final String TAG
protected static final String TAG = "ZenDeleteRuleDialog";
1.1297.1.3. static final String EXTRA_ZEN_RULE_NAME
private static final String EXTRA_ZEN_RULE_NAME = "zen_rule_name";
1.1297.1.4. static final String EXTRA_ZEN_RULE_ID
private static final String EXTRA_ZEN_RULE_ID = "zen_rule_id";
1.1297.2. ZenDeleteRuleDialogMethod方法列表
1.1297.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1297.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1297.2.3. static show(Fragment parent,String ruleName,String id,PositiveClickListener listener)
public static void show(Fragment parent, String ruleName, String id, PositiveClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent,String ruleName,String id,PositiveClickListener listener"));
1.1298. ZenFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1298.1. ZenFooterPreferenceController Field属性列表
1.1298.2. ZenFooterPreferenceControllerMethod方法列表
1.1298.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1298.2.2. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1298.2.3. hide(PreferenceScreen screen)
protected void hide(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"hide", "PreferenceScreen screen"));
1.1299. ZenModeAddAutomaticRulePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeAddAutomaticRulePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1299.1. ZenModeAddAutomaticRulePreferenceController Field属性列表
1.1299.1.1. final ZenServiceListing mZenServiceListing;
private final ZenServiceListing mZenServiceListing;
1.1299.1.2. static final String KEY
protected static final String KEY = "zen_mode_add_automatic_rule";
1.1299.2. ZenModeAddAutomaticRulePreferenceControllerMethod方法列表
1.1299.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1299.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1299.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1299.2.4. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1300. ZenModeAlarmsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeAlarmsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1300.1. ZenModeAlarmsPreferenceController Field属性列表
1.1300.1.1. static final String KEY
protected static final String KEY = "zen_mode_alarms";
1.1300.2. ZenModeAlarmsPreferenceControllerMethod方法列表
1.1300.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1300.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1300.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1300.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1301. ZenModeAutomaticRulesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeAutomaticRulesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1301.1. ZenModeAutomaticRulesPreferenceController Field属性列表
1.1301.1.1. PreferenceCategory mPreferenceCategory;
@VisibleForTesting
protected PreferenceCategory mPreferenceCategory;
1.1301.1.2. static final String KEY
protected static final String KEY = "zen_mode_automatic_rules";
1.1301.2. ZenModeAutomaticRulesPreferenceControllerMethod方法列表
1.1301.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1301.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1301.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1301.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1302. ZenModeAutomationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeAutomationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1302.1. ZenModeAutomationPreferenceController Field属性列表
1.1302.1.1. final ZenModeSettings.SummaryBuilder mSummaryBuilder;
private final ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1302.1.2. static final String KEY_ZEN_MODE_AUTOMATION
protected static final String KEY_ZEN_MODE_AUTOMATION = "zen_mode_automation_settings";
1.1302.2. ZenModeAutomationPreferenceControllerMethod方法列表
1.1302.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1302.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1302.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1303. ZenModeAutomationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeAutomationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1303.1. ZenModeAutomationSettings Field属性列表
1.1303.1.1. final ManagedServiceSettings.Config CONFIG
protected final ManagedServiceSettings.Config CONFIG = getConditionProviderConfig();
1.1303.1.2. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_automation_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
keys.add(ZenModeAddAutomaticRulePreferenceController.KEY);
keys.add(ZenModeAutomaticRulesPreferenceController.KEY);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, null, null);
}
};
1.1303.2. ZenModeAutomationSettingsMethod方法列表
1.1303.2.1. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1303.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1303.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1303.2.4. static buildPreferenceControllers(Context context,Fragment parent,ZenServiceListing serviceListing,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Fragment parent, ZenServiceListing serviceListing, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Fragment parent,ZenServiceListing serviceListing,Lifecycle lifecycle"));
1.1303.2.5. static getConditionProviderConfig()
protected static ManagedServiceSettings.Config getConditionProviderConfig()
methodList.add(new ZMethod(mZAndroidAPPClass,"ManagedServiceSettings.Config" ,"getConditionProviderConfig", ""));
1.1304. ZenModeBackend.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBackend.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1304.1. ZenModeBackend Field属性列表
1.1304.1.1. int mZenMode;
protected int mZenMode;
1.1304.1.2. NotificationManager.Policy mPolicy;
/** gets policy last set by updatePolicy **/
protected NotificationManager.Policy mPolicy;
1.1304.1.3. String TAG
private String TAG = "ZenModeSettingsBackend";
1.1304.1.4. final NotificationManager mNotificationManager;
private final NotificationManager mNotificationManager;
1.1304.1.5. final Context mContext;
private final Context mContext;
1.1304.1.6. static ZenModeBackend sInstance;
private static ZenModeBackend sInstance;
1.1304.1.7. static final String ZEN_MODE_FROM_ANYONE
@VisibleForTesting
protected static final String ZEN_MODE_FROM_ANYONE = "zen_mode_from_anyone";
1.1304.1.8. static final String ZEN_MODE_FROM_CONTACTS
@VisibleForTesting
protected static final String ZEN_MODE_FROM_CONTACTS = "zen_mode_from_contacts";
1.1304.1.9. static final String ZEN_MODE_FROM_STARRED
@VisibleForTesting
protected static final String ZEN_MODE_FROM_STARRED = "zen_mode_from_starred";
1.1304.1.10. static final String ZEN_MODE_FROM_NONE
@VisibleForTesting
protected static final String ZEN_MODE_FROM_NONE = "zen_mode_from_none";
1.1304.1.11. static final int SOURCE_NONE
protected static final int SOURCE_NONE = -1;
1.1304.2. ZenModeBackendMethod方法列表
1.1304.2.1. updatePolicy()
protected void updatePolicy()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePolicy", ""));
1.1304.2.2. updateZenMode()
protected void updateZenMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateZenMode", ""));
1.1304.2.3. setZenRule(String id,AutomaticZenRule rule)
protected boolean setZenRule(String id, AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setZenRule", "String id,AutomaticZenRule rule"));
1.1304.2.4. setZenMode(int zenMode)
protected void setZenMode(int zenMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setZenMode", "int zenMode"));
1.1304.2.5. setZenModeForDuration(int minutes)
protected void setZenModeForDuration(int minutes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setZenModeForDuration", "int minutes"));
1.1304.2.6. getZenMode()
protected int getZenMode()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getZenMode", ""));
1.1304.2.7. isVisualEffectSuppressed(int visualEffect)
protected boolean isVisualEffectSuppressed(int visualEffect)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isVisualEffectSuppressed", "int visualEffect"));
1.1304.2.8. isPriorityCategoryEnabled(int categoryType)
protected boolean isPriorityCategoryEnabled(int categoryType)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isPriorityCategoryEnabled", "int categoryType"));
1.1304.2.9. getNewPriorityCategories(boolean allow,int categoryType)
protected int getNewPriorityCategories(boolean allow, int categoryType)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNewPriorityCategories", "boolean allow,int categoryType"));
1.1304.2.10. getPriorityCallSenders()
protected int getPriorityCallSenders()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPriorityCallSenders", ""));
1.1304.2.11. getPriorityMessageSenders()
protected int getPriorityMessageSenders()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPriorityMessageSenders", ""));
1.1304.2.12. saveVisualEffectsPolicy(int category,boolean suppress)
protected void saveVisualEffectsPolicy(int category, boolean suppress)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveVisualEffectsPolicy", "int category,boolean suppress"));
1.1304.2.13. saveSoundPolicy(int category,boolean allow)
protected void saveSoundPolicy(int category, boolean allow)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveSoundPolicy", "int category,boolean allow"));
1.1304.2.14. savePolicy(int priorityCategories,int priorityCallSenders,int priorityMessageSenders,int suppressedVisualEffects)
protected void savePolicy(int priorityCategories, int priorityCallSenders, int priorityMessageSenders, int suppressedVisualEffects)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"savePolicy", "int priorityCategories,int priorityCallSenders,int priorityMessageSenders,int suppressedVisualEffects"));
1.1304.2.15. getNewSuppressedEffects(boolean suppress,int effectType)
private int getNewSuppressedEffects(boolean suppress, int effectType)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getNewSuppressedEffects", "boolean suppress,int effectType"));
1.1304.2.16. clearDeprecatedEffects(int effects)
private int clearDeprecatedEffects(int effects)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"clearDeprecatedEffects", "int effects"));
1.1304.2.17. isEffectAllowed(int effect)
protected boolean isEffectAllowed(int effect)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isEffectAllowed", "int effect"));
1.1304.2.18. saveSenders(int category,int val)
protected void saveSenders(int category, int val)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"saveSenders", "int category,int val"));
1.1304.2.19. getSendersKey(int category)
protected String getSendersKey(int category)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getSendersKey", "int category"));
1.1304.2.20. getPrioritySenders(int category)
private int getPrioritySenders(int category)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPrioritySenders", "int category"));
1.1304.2.21. getContactsSummary(int category)
protected int getContactsSummary(int category)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getContactsSummary", "int category"));
1.1304.2.22. removeZenRule(String ruleId)
public boolean removeZenRule(String ruleId)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"removeZenRule", "String ruleId"));
1.1304.2.23. addZenRule(AutomaticZenRule rule)
protected String addZenRule(AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"addZenRule", "AutomaticZenRule rule"));
1.1304.2.24. static getInstance(Context context)
public static ZenModeBackend getInstance(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"ZenModeBackend" ,"getInstance", "Context context"));
1.1304.2.25. static getKeyFromSetting(int contactType)
protected static String getKeyFromSetting(int contactType)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getKeyFromSetting", "int contactType"));
1.1304.2.26. static getSettingFromPrefKey(String key)
protected static int getSettingFromPrefKey(String key)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSettingFromPrefKey", "String key"));
1.1305. ZenModeBehaviorCallsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBehaviorCallsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1305.1. ZenModeBehaviorCallsPreferenceController Field属性列表
1.1305.1.1. final ZenModeSettings.SummaryBuilder mSummaryBuilder;
private final ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1305.1.2. static final String KEY_BEHAVIOR_SETTINGS
protected static final String KEY_BEHAVIOR_SETTINGS = "zen_mode_calls_settings";
1.1305.2. ZenModeBehaviorCallsPreferenceControllerMethod方法列表
1.1305.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1305.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1305.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1306. ZenModeBehaviorFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBehaviorFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1306.1. ZenModeBehaviorFooterPreferenceController Field属性列表
1.1306.1.1. final int mTitleRes;
private final int mTitleRes;
1.1306.1.2. static final String KEY
protected static final String KEY = "footer_preference";
1.1306.2. ZenModeBehaviorFooterPreferenceControllerMethod方法列表
1.1306.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1306.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1306.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1306.2.4. getFooterText()
protected String getFooterText()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getFooterText", ""));
1.1306.2.5. isDeprecatedZenMode(int zenMode)
private boolean isDeprecatedZenMode(int zenMode)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isDeprecatedZenMode", "int zenMode"));
1.1307. ZenModeBehaviorMsgEventReminderPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBehaviorMsgEventReminderPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1307.1. ZenModeBehaviorMsgEventReminderPreferenceController Field属性列表
1.1307.1.1. final ZenModeSettings.SummaryBuilder mSummaryBuilder;
private final ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1307.1.2. static final String KEY_BEHAVIOR_SETTINGS
protected static final String KEY_BEHAVIOR_SETTINGS = "zen_mode_msg_event_reminder_settings";
1.1307.2. ZenModeBehaviorMsgEventReminderPreferenceControllerMethod方法列表
1.1307.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1307.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1307.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1308. ZenModeBehaviorSoundPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBehaviorSoundPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1308.1. ZenModeBehaviorSoundPreferenceController Field属性列表
1.1308.1.1. final ZenModeSettings.SummaryBuilder mSummaryBuilder;
private final ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1308.1.2. static final String KEY_BEHAVIOR_SETTINGS
protected static final String KEY_BEHAVIOR_SETTINGS = "zen_sound_vibration_settings";
1.1308.2. ZenModeBehaviorSoundPreferenceControllerMethod方法列表
1.1308.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1308.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1308.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1309. ZenModeBlockedEffectsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBlockedEffectsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1309.1. ZenModeBlockedEffectsPreferenceController Field属性列表
1.1309.1.1. final ZenModeSettings.SummaryBuilder mSummaryBuilder;
private final ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1309.1.2. static final String KEY
protected static final String KEY = "zen_mode_block_effects_settings";
1.1309.2. ZenModeBlockedEffectsPreferenceControllerMethod方法列表
1.1309.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1309.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1309.2.3. getSummary()
public CharSequence getSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getSummary", ""));
1.1310. ZenModeBlockedEffectsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeBlockedEffectsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1310.1. ZenModeBlockedEffectsSettings Field属性列表
1.1310.1.1. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_block_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.1310.2. ZenModeBlockedEffectsSettingsMethod方法列表
1.1310.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1310.2.2. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1310.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1310.2.4. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1310.2.5. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.1311. ZenModeButtonPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeButtonPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1311.1. ZenModeButtonPreferenceController Field属性列表
1.1311.1.1. Button mZenButtonOn;
private Button mZenButtonOn;
1.1311.1.2. Button mZenButtonOff;
private Button mZenButtonOff;
1.1311.1.3. FragmentManager mFragment;
private FragmentManager mFragment;
1.1311.1.4. static final String TAG
private static final String TAG = "EnableZenModeButton";
1.1311.1.5. static final String KEY
protected static final String KEY = "zen_mode_settings_button_container";
1.1311.2. ZenModeButtonPreferenceControllerMethod方法列表
1.1311.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1311.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1311.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1311.2.4. updateButtons()
private void updateButtons()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateButtons", ""));
1.1311.2.5. updateZenButtonOnClickListener()
private void updateZenButtonOnClickListener()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateZenButtonOnClickListener", ""));
1.1312. ZenModeCallsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeCallsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1312.1. ZenModeCallsPreferenceController Field属性列表
1.1312.1.1. ListPreference mPreference;
private ListPreference mPreference;
1.1312.1.2. final ZenModeBackend mBackend;
private final ZenModeBackend mBackend;
1.1312.1.3. final String[] mListValues;
private final String[] mListValues;
1.1312.1.4. static final String KEY
protected static final String KEY = "zen_mode_calls";
1.1312.2. ZenModeCallsPreferenceControllerMethod方法列表
1.1312.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1312.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1312.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1312.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1312.2.5. onPreferenceChange(Preference preference,Object selectedContactsFrom)
public boolean onPreferenceChange(Preference preference, Object selectedContactsFrom)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object selectedContactsFrom"));
1.1312.2.6. updateFromContactsValue(Preference preference)
private void updateFromContactsValue(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFromContactsValue", "Preference preference"));
1.1312.2.7. getIndexOfSendersValue(String currentVal)
protected int getIndexOfSendersValue(String currentVal)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIndexOfSendersValue", "String currentVal"));
1.1313. ZenModeCallsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeCallsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1313.1. ZenModeCallsSettings Field属性列表
1.1313.1.1. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_calls_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.1313.2. ZenModeCallsSettingsMethod方法列表
1.1313.2.1. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1313.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1313.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1313.2.4. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.1314. ZenModeDurationPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeDurationPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1314.1. ZenModeDurationPreferenceController Field属性列表
1.1314.1.1. FragmentManager mFragment;
private FragmentManager mFragment;
1.1314.1.2. static final String TAG
private static final String TAG = "ZenModeDurationDialog";
1.1314.1.3. static final String KEY
protected static final String KEY = "zen_mode_duration_settings";
1.1314.2. ZenModeDurationPreferenceControllerMethod方法列表
1.1314.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1314.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1314.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1314.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1314.2.5. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1315. ZenModeEventRuleSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeEventRuleSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1315.1. ZenModeEventRuleSettings Field属性列表
1.1315.1.1. DropDownPreference mCalendar;
private DropDownPreference mCalendar;
1.1315.1.2. DropDownPreference mReply;
private DropDownPreference mReply;
1.1315.1.3. EventInfo mEvent;
private EventInfo mEvent;
1.1315.1.4. List mCalendars;
private List mCalendars;
1.1315.1.5. boolean mCreate;
private boolean mCreate;
1.1315.1.6. static final String KEY_CALENDAR
private static final String KEY_CALENDAR = "calendar";
1.1315.1.7. static final String KEY_REPLY
private static final String KEY_REPLY = "reply";
1.1315.1.8. static final String ACTION
public static final String ACTION = Settings.ACTION_ZEN_MODE_EVENT_RULE_SETTINGS;
1.1315.1.9. static final Comparator CALENDAR_NAME
private static final Comparator CALENDAR_NAME = new Comparator() {
@Override
public int compare(CalendarInfo lhs, CalendarInfo rhs) {
return lhs.name.compareTo(rhs.name);
}
};
1.1315.2. ZenModeEventRuleSettingsMethod方法列表
1.1315.2.1. setRule(AutomaticZenRule rule)
protected boolean setRule(AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setRule", "AutomaticZenRule rule"));
1.1315.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1315.2.3. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1315.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1315.2.5. reloadCalendar()
private void reloadCalendar()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadCalendar", ""));
1.1315.2.6. onCreateInternal()
protected void onCreateInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateInternal", ""));
1.1315.2.7. updateControlsInternal()
protected void updateControlsInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateControlsInternal", ""));
1.1315.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1315.2.9. static findCalendar(Context context,EventInfo event)
public static CalendarInfo findCalendar(Context context, EventInfo event)
methodList.add(new ZMethod(mZAndroidAPPClass,"CalendarInfo" ,"findCalendar", "Context context,EventInfo event"));
1.1315.2.10. static getCalendars(Context context)
private static List getCalendars(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getCalendars", "Context context"));
1.1315.2.11. static getContextForUser(Context context,UserHandle user)
private static Context getContextForUser(Context context, UserHandle user)
methodList.add(new ZMethod(mZAndroidAPPClass,"Context" ,"getContextForUser", "Context context,UserHandle user"));
1.1315.2.12. static addCalendars(Context context,List outCalendars)
public static void addCalendars(Context context, List outCalendars)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addCalendars", "Context context,List outCalendars"));
1.1315.2.13. static key(CalendarInfo calendar)
private static String key(CalendarInfo calendar)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"key", "CalendarInfo calendar"));
1.1315.2.14. static key(EventInfo event)
private static String key(EventInfo event)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"key", "EventInfo event"));
1.1315.2.15. static key(int userId,String calendar)
private static String key(int userId, String calendar)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"key", "int userId,String calendar"));
1.1316. ZenModeEventsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeEventsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1316.1. ZenModeEventsPreferenceController Field属性列表
1.1316.1.1. static final String KEY
protected static final String KEY = "zen_mode_events";
1.1316.2. ZenModeEventsPreferenceControllerMethod方法列表
1.1316.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1316.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1316.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1316.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1317. ZenModeMediaPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeMediaPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1317.1. ZenModeMediaPreferenceController Field属性列表
1.1317.1.1. final ZenModeBackend mBackend;
private final ZenModeBackend mBackend;
1.1317.1.2. static final String KEY
protected static final String KEY = "zen_mode_media";
1.1317.2. ZenModeMediaPreferenceControllerMethod方法列表
1.1317.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1317.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1317.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1317.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1318. ZenModeMessagesPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeMessagesPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1318.1. ZenModeMessagesPreferenceController Field属性列表
1.1318.1.1. ListPreference mPreference;
private ListPreference mPreference;
1.1318.1.2. final ZenModeBackend mBackend;
private final ZenModeBackend mBackend;
1.1318.1.3. final String[] mListValues;
private final String[] mListValues;
1.1318.1.4. static final String KEY
protected static final String KEY = "zen_mode_messages";
1.1318.2. ZenModeMessagesPreferenceControllerMethod方法列表
1.1318.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1318.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1318.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1318.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1318.2.5. onPreferenceChange(Preference preference,Object selectedContactsFrom)
public boolean onPreferenceChange(Preference preference, Object selectedContactsFrom)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object selectedContactsFrom"));
1.1318.2.6. updateFromContactsValue(Preference preference)
private void updateFromContactsValue(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateFromContactsValue", "Preference preference"));
1.1318.2.7. getIndexOfSendersValue(String currentVal)
protected int getIndexOfSendersValue(String currentVal)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getIndexOfSendersValue", "String currentVal"));
1.1319. ZenModeMsgEventReminderSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeMsgEventReminderSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1319.1. ZenModeMsgEventReminderSettings Field属性列表
1.1319.1.1. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_msg_event_reminder_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.1319.2. ZenModeMsgEventReminderSettingsMethod方法列表
1.1319.2.1. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1319.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1319.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1319.2.4. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.1320. ZenModePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1320.1. ZenModePreferenceController Field属性列表
1.1320.1.1. SettingObserver mSettingObserver;
private SettingObserver mSettingObserver;
1.1320.1.2. ZenModeSettings.SummaryBuilder mSummaryBuilder;
private ZenModeSettings.SummaryBuilder mSummaryBuilder;
1.1320.1.3. final String mKey;
private final String mKey;
1.1320.2. ZenModePreferenceControllerMethod方法列表
1.1320.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1320.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1320.2.3. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1320.2.4. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1320.2.5. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1320.2.6. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1321. ZenModeRemindersPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeRemindersPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1321.1. ZenModeRemindersPreferenceController Field属性列表
1.1321.1.1. static final String KEY
protected static final String KEY = "zen_mode_reminders";
1.1321.2. ZenModeRemindersPreferenceControllerMethod方法列表
1.1321.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1321.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1321.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1321.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1322. ZenModeRepeatCallersPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeRepeatCallersPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1322.1. ZenModeRepeatCallersPreferenceController Field属性列表
1.1322.1.1. final ZenModeBackend mBackend;
private final ZenModeBackend mBackend;
1.1322.1.2. final int mRepeatCallersThreshold;
private final int mRepeatCallersThreshold;
1.1322.1.3. static final String KEY
protected static final String KEY = "zen_mode_repeat_callers";
1.1322.2. ZenModeRepeatCallersPreferenceControllerMethod方法列表
1.1322.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1322.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1322.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1322.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1322.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1322.2.6. setRepeatCallerSummary(Preference preference)
private void setRepeatCallerSummary(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setRepeatCallerSummary", "Preference preference"));
1.1323. ZenModeRestrictNotificationsSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeRestrictNotificationsSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1323.1. ZenModeRestrictNotificationsSettings Field属性列表
1.1323.1.1. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_restrict_notifications_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.1323.2. ZenModeRestrictNotificationsSettingsMethod方法列表
1.1323.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1323.2.2. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1323.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1323.2.4. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1323.2.5. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1323.2.6. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.1324. ZenModeRuleSettingsBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeRuleSettingsBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1324.1. ZenModeRuleSettingsBase Field属性列表
1.1324.1.1. Context mContext;
protected Context mContext;
1.1324.1.2. boolean mDisableListeners;
protected boolean mDisableListeners;
1.1324.1.3. AutomaticZenRule mRule;
protected AutomaticZenRule mRule;
1.1324.1.4. String mId;
protected String mId;
1.1324.1.5. ZenAutomaticRuleHeaderPreferenceController mHeader;
protected ZenAutomaticRuleHeaderPreferenceController mHeader;
1.1324.1.6. ZenAutomaticRuleSwitchPreferenceController mSwitch;
protected ZenAutomaticRuleSwitchPreferenceController mSwitch;
1.1324.1.7. static final String TAG
protected static final String TAG = ZenModeSettingsBase.TAG;
1.1324.1.8. static final boolean DEBUG
protected static final boolean DEBUG = ZenModeSettingsBase.DEBUG;
1.1324.2. ZenModeRuleSettingsBaseMethod方法列表
1.1324.2.1. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1324.2.2. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1324.2.3. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1324.2.4. updateHeader()
protected void updateHeader()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateHeader", ""));
1.1324.2.5. updatePreference(AbstractPreferenceController controller)
private void updatePreference(AbstractPreferenceController controller)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updatePreference", "AbstractPreferenceController controller"));
1.1324.2.6. updateRule(Uri newConditionId)
protected void updateRule(Uri newConditionId)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateRule", "Uri newConditionId"));
1.1324.2.7. onZenModeConfigChanged()
protected void onZenModeConfigChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onZenModeConfigChanged", ""));
1.1324.2.8. refreshRuleOrFinish()
private boolean refreshRuleOrFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"refreshRuleOrFinish", ""));
1.1324.2.9. toastAndFinish()
private void toastAndFinish()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"toastAndFinish", ""));
1.1324.2.10. getZenRule()
private AutomaticZenRule getZenRule()
methodList.add(new ZMethod(mZAndroidAPPClass,"AutomaticZenRule" ,"getZenRule", ""));
1.1324.2.11. updateControls()
private void updateControls()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateControls", ""));
1.1324.2.12. abstract onCreateInternal()
protected abstract void onCreateInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateInternal", ""));
1.1324.2.13. abstract setRule(AutomaticZenRule rule)
protected abstract boolean setRule(AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setRule", "AutomaticZenRule rule"));
1.1324.2.14. abstract updateControlsInternal()
protected abstract void updateControlsInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateControlsInternal", ""));
1.1325. ZenModeScheduleDaysSelection.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeScheduleDaysSelection.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1325.1. ZenModeScheduleDaysSelection Field属性列表
1.1325.1.1. final SimpleDateFormat mDayFormat
// per-instance to ensure we're always using the current locale
private final SimpleDateFormat mDayFormat = new SimpleDateFormat("EEEE");
1.1325.1.2. final SparseBooleanArray mDays
private final SparseBooleanArray mDays = new SparseBooleanArray();
1.1325.1.3. final LinearLayout mLayout;
private final LinearLayout mLayout;
1.1325.2. ZenModeScheduleDaysSelectionMethod方法列表
1.1325.2.1. getDays()
private int[] getDays()
methodList.add(new ZMethod(mZAndroidAPPClass,"int[]" ,"getDays", ""));
1.1325.2.2. onChanged(int[] days)
protected void onChanged(int[] days)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onChanged", "int[] days"));
1.1325.2.3. static getDaysOfWeekForLocale(Calendar c)
protected static int[] getDaysOfWeekForLocale(Calendar c)
methodList.add(new ZMethod(mZAndroidAPPClass,"int[]" ,"getDaysOfWeekForLocale", "Calendar c"));
1.1326. ZenModeScheduleRuleSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeScheduleRuleSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1326.1. ZenModeScheduleRuleSettings Field属性列表
1.1326.1.1. Preference mDays;
private Preference mDays;
1.1326.1.2. TimePickerPreference mStart;
private TimePickerPreference mStart;
1.1326.1.3. TimePickerPreference mEnd;
private TimePickerPreference mEnd;
1.1326.1.4. SwitchPreference mExitAtAlarm;
private SwitchPreference mExitAtAlarm;
1.1326.1.5. ScheduleInfo mSchedule;
private ScheduleInfo mSchedule;
1.1326.1.6. final SimpleDateFormat mDayFormat
// per-instance to ensure we're always using the current locale
private final SimpleDateFormat mDayFormat = new SimpleDateFormat("EEE");
1.1326.1.7. static final String KEY_DAYS
private static final String KEY_DAYS = "days";
1.1326.1.8. static final String KEY_START_TIME
private static final String KEY_START_TIME = "start_time";
1.1326.1.9. static final String KEY_END_TIME
private static final String KEY_END_TIME = "end_time";
1.1326.1.10. static final String KEY_EXIT_AT_ALARM
private static final String KEY_EXIT_AT_ALARM = "exit_at_alarm";
1.1326.1.11. static final String ACTION
public static final String ACTION = Settings.ACTION_ZEN_MODE_SCHEDULE_RULE_SETTINGS;
1.1326.2. ZenModeScheduleRuleSettingsMethod方法列表
1.1326.2.1. setRule(AutomaticZenRule rule)
protected boolean setRule(AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"setRule", "AutomaticZenRule rule"));
1.1326.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1326.2.3. onCreateInternal()
protected void onCreateInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateInternal", ""));
1.1326.2.4. updateDays()
private void updateDays()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateDays", ""));
1.1326.2.5. updateEndSummary()
private void updateEndSummary()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateEndSummary", ""));
1.1326.2.6. updateControlsInternal()
protected void updateControlsInternal()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateControlsInternal", ""));
1.1326.2.7. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1326.2.8. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1326.2.9. showDaysDialog()
private void showDaysDialog()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDaysDialog", ""));
1.1327. ZenModeSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1327.1. ZenModeSettings Field属性列表
1.1327.1.1. static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final Indexable.SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_settings;
return Arrays.asList(sir);
}
@Override
public List getNonIndexableKeys(Context context) {
List keys = super.getNonIndexableKeys(context);
keys.add(ZenModeDurationPreferenceController.KEY);
keys.add(ZenModeButtonPreferenceController.KEY);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null, null);
}
};
1.1327.2. ZenModeSettingsMethod方法列表
1.1327.2.1. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1327.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1327.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1327.2.4. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1327.2.5. getHelpResource()
public int getHelpResource()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getHelpResource", ""));
1.1327.2.6. static buildPreferenceControllers(Context context,Lifecycle lifecycle,FragmentManager fragmentManager)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle, FragmentManager fragmentManager)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle,FragmentManager fragmentManager"));
1.1328. ZenModeSettingsBase.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSettingsBase.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1328.1. ZenModeSettingsBase Field属性列表
1.1328.1.1. Context mContext;
protected Context mContext;
1.1328.1.2. int mZenMode;
protected int mZenMode;
1.1328.1.3. ZenModeBackend mBackend;
protected ZenModeBackend mBackend;
1.1328.1.4. final Handler mHandler
private final Handler mHandler = new Handler();
1.1328.1.5. final SettingsObserver mSettingsObserver
private final SettingsObserver mSettingsObserver = new SettingsObserver();
1.1328.1.6. static final String TAG
protected static final String TAG = "ZenModeSettings";
1.1328.1.7. static final boolean DEBUG
protected static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
1.1328.2. ZenModeSettingsBaseMethod方法列表
1.1328.2.1. onZenModeConfigChanged()
protected void onZenModeConfigChanged()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onZenModeConfigChanged", ""));
1.1328.2.2. getLogTag()
protected String getLogTag()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getLogTag", ""));
1.1328.2.3. onCreate(Bundle icicle)
public void onCreate(Bundle icicle)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle icicle"));
1.1328.2.4. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1328.2.5. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1328.2.6. updateZenMode(boolean fireChanged)
private void updateZenMode(boolean fireChanged)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateZenMode", "boolean fireChanged"));
1.1329. ZenModeSettingsFooterPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSettingsFooterPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1329.1. ZenModeSettingsFooterPreferenceController Field属性列表
1.1329.1.1. static final String KEY
protected static final String KEY = "footer_preference";
1.1329.2. ZenModeSettingsFooterPreferenceControllerMethod方法列表
1.1329.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1329.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1329.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1329.2.4. getFooterText()
protected String getFooterText()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getFooterText", ""));
1.1330. ZenModeSliceBuilder.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSliceBuilder.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1330.1. ZenModeSliceBuilder Field属性列表
1.1330.1.1. static final String TAG
private static final String TAG = "ZenModeSliceBuilder";
1.1330.1.2. static final String ZEN_MODE_KEY
private static final String ZEN_MODE_KEY = "zen_mode";
1.1330.1.3. static final Uri ZEN_MODE_URI
/**
* Backing Uri for the Zen Mode Slice.
*/
public static final Uri ZEN_MODE_URI = new Uri.Builder().scheme(ContentResolver.SCHEME_CONTENT).authority(SettingsSliceProvider.SLICE_AUTHORITY).appendPath(SettingsSlicesContract.PATH_SETTING_ACTION).appendPath(ZEN_MODE_KEY).build();
1.1330.1.4. static final String ACTION_ZEN_MODE_SLICE_CHANGED
/**
* Action notifying a change on the Zen Mode Slice.
*/
public static final String ACTION_ZEN_MODE_SLICE_CHANGED = "com.android.settings.notification.ZEN_MODE_CHANGED";
1.1330.1.5. static final IntentFilter INTENT_FILTER
public static final IntentFilter INTENT_FILTER = new IntentFilter();
1.1330.2. ZenModeSliceBuilderMethod方法列表
1.1330.2.1. static getSlice(Context context)
public static Slice getSlice(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Slice" ,"getSlice", "Context context"));
1.1330.2.2. static handleUriChange(Context context,Intent intent)
public static void handleUriChange(Context context, Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"handleUriChange", "Context context,Intent intent"));
1.1330.2.3. static getIntent(Context context)
public static Intent getIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"Intent" ,"getIntent", "Context context"));
1.1330.2.4. static isZenModeEnabled(Context context)
private static boolean isZenModeEnabled(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isZenModeEnabled", "Context context"));
1.1330.2.5. static getPrimaryAction(Context context)
private static PendingIntent getPrimaryAction(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getPrimaryAction", "Context context"));
1.1330.2.6. static getBroadcastIntent(Context context)
private static PendingIntent getBroadcastIntent(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"PendingIntent" ,"getBroadcastIntent", "Context context"));
1.1331. ZenModeSoundVibrationSettings.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSoundVibrationSettings.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1331.1. ZenModeSoundVibrationSettings Field属性列表
1.1331.1.1. static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER
/**
* For Search.
*/
public static final SearchIndexProvider SEARCH_INDEX_DATA_PROVIDER = new BaseSearchIndexProvider() {
@Override
public List getXmlResourcesToIndex(Context context, boolean enabled) {
final ArrayList result = new ArrayList<>();
final SearchIndexableResource sir = new SearchIndexableResource(context);
sir.xmlResId = R.xml.zen_mode_sound_vibration_settings;
result.add(sir);
return result;
}
@Override
public List getNonIndexableKeys(Context context) {
final List keys = super.getNonIndexableKeys(context);
return keys;
}
@Override
public List createPreferenceControllers(Context context) {
return buildPreferenceControllers(context, null);
}
};
1.1331.2. ZenModeSoundVibrationSettingsMethod方法列表
1.1331.2.1. createPreferenceControllers(Context context)
protected List createPreferenceControllers(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"createPreferenceControllers", "Context context"));
1.1331.2.2. getPreferenceScreenResId()
protected int getPreferenceScreenResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getPreferenceScreenResId", ""));
1.1331.2.3. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1331.2.4. static buildPreferenceControllers(Context context,Lifecycle lifecycle)
private static List buildPreferenceControllers(Context context, Lifecycle lifecycle)
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"buildPreferenceControllers", "Context context,Lifecycle lifecycle"));
1.1332. ZenModeStarredContactsPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeStarredContactsPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1332.1. ZenModeStarredContactsPreferenceController Field属性列表
1.1332.1.1. Preference mPreference;
private Preference mPreference;
1.1332.1.2. Intent mStarredContactsIntent;
@VisibleForTesting
Intent mStarredContactsIntent;
1.1332.1.3. Intent mFallbackIntent;
@VisibleForTesting
Intent mFallbackIntent;
1.1332.1.4. final int mPriorityCategory;
private final int mPriorityCategory;
1.1332.1.5. final PackageManager mPackageManager;
private final PackageManager mPackageManager;
1.1332.1.6. static final String KEY
protected static final String KEY = "zen_mode_starred_contacts";
1.1332.2. ZenModeStarredContactsPreferenceControllerMethod方法列表
1.1332.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1332.2.2. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1332.2.3. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1332.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1332.2.5. onPreferenceClick(Preference preference)
public boolean onPreferenceClick(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceClick", "Preference preference"));
1.1332.2.6. getStarredContacts()
private List getStarredContacts()
methodList.add(new ZMethod(mZAndroidAPPClass,"List" ,"getStarredContacts", ""));
1.1332.2.7. isIntentValid()
private boolean isIntentValid()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isIntentValid", ""));
1.1333. ZenModeSystemPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeSystemPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1333.1. ZenModeSystemPreferenceController Field属性列表
1.1333.1.1. static final String KEY
protected static final String KEY = "zen_mode_system";
1.1333.2. ZenModeSystemPreferenceControllerMethod方法列表
1.1333.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1333.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1333.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1333.2.4. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1334. ZenModeVisEffectPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeVisEffectPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1334.1. ZenModeVisEffectPreferenceController Field属性列表
1.1334.1.1. PreferenceScreen mScreen;
private PreferenceScreen mScreen;
1.1334.1.2. final String mKey;
protected final String mKey;
1.1334.1.3. final int mEffect;
protected final int mEffect;
1.1334.1.4. final int mMetricsCategory;
protected final int mMetricsCategory;
1.1334.1.5. final int[] mParentSuppressedEffects;
// if any of these effects are suppressed, this effect must be too
protected final int[] mParentSuppressedEffects;
1.1334.2. ZenModeVisEffectPreferenceControllerMethod方法列表
1.1334.2.1. getPreferenceKey()
public String getPreferenceKey()
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"getPreferenceKey", ""));
1.1334.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1334.2.3. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1334.2.4. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1334.2.5. onPreferenceChange(Preference preference,Object newValue)
public boolean onPreferenceChange(Preference preference, Object newValue)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onPreferenceChange", "Preference preference,Object newValue"));
1.1335. ZenModeVisEffectsAllPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeVisEffectsAllPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1335.1. ZenModeVisEffectsAllPreferenceController Field属性列表
1.1335.1.1. ZenCustomRadioButtonPreference mPreference;
private ZenCustomRadioButtonPreference mPreference;
1.1335.1.2. final String KEY;
private final String KEY;
1.1335.1.3. static final int EFFECTS
protected static final int EFFECTS = Policy.SUPPRESSED_EFFECT_SCREEN_OFF | Policy.SUPPRESSED_EFFECT_SCREEN_ON | Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT | Policy.SUPPRESSED_EFFECT_LIGHTS | Policy.SUPPRESSED_EFFECT_PEEK | Policy.SUPPRESSED_EFFECT_STATUS_BAR | Policy.SUPPRESSED_EFFECT_BADGE | Policy.SUPPRESSED_EFFECT_AMBIENT | Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST;
1.1335.2. ZenModeVisEffectsAllPreferenceControllerMethod方法列表
1.1335.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1335.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1335.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1335.2.4. onRadioButtonClick(ZenCustomRadioButtonPreference p)
public void onRadioButtonClick(ZenCustomRadioButtonPreference p)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClick", "ZenCustomRadioButtonPreference p"));
1.1336. ZenModeVisEffectsCustomPreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeVisEffectsCustomPreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1336.1. ZenModeVisEffectsCustomPreferenceController Field属性列表
1.1336.1.1. ZenCustomRadioButtonPreference mPreference;
private ZenCustomRadioButtonPreference mPreference;
1.1336.1.2. final String KEY;
private final String KEY;
1.1336.1.3. static final int INTERRUPTIVE_EFFECTS
protected static final int INTERRUPTIVE_EFFECTS = Policy.SUPPRESSED_EFFECT_AMBIENT | Policy.SUPPRESSED_EFFECT_PEEK | Policy.SUPPRESSED_EFFECT_LIGHTS | Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT;
1.1336.2. ZenModeVisEffectsCustomPreferenceControllerMethod方法列表
1.1336.2.1. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1336.2.2. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1336.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1336.2.4. areCustomOptionsSelected()
protected boolean areCustomOptionsSelected()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"areCustomOptionsSelected", ""));
1.1336.2.5. select()
protected void select()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"select", ""));
1.1336.2.6. launchCustomSettings()
private void launchCustomSettings()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchCustomSettings", ""));
1.1337. ZenModeVisEffectsNonePreferenceController.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeVisEffectsNonePreferenceController.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1337.1. ZenModeVisEffectsNonePreferenceController Field属性列表
1.1337.1.1. ZenCustomRadioButtonPreference mPreference;
private ZenCustomRadioButtonPreference mPreference;
1.1337.1.2. final String KEY;
private final String KEY;
1.1337.1.3. static final int EFFECTS
protected static final int EFFECTS = Policy.SUPPRESSED_EFFECT_SCREEN_OFF | Policy.SUPPRESSED_EFFECT_SCREEN_ON | Policy.SUPPRESSED_EFFECT_FULL_SCREEN_INTENT | Policy.SUPPRESSED_EFFECT_LIGHTS | Policy.SUPPRESSED_EFFECT_PEEK | Policy.SUPPRESSED_EFFECT_STATUS_BAR | Policy.SUPPRESSED_EFFECT_BADGE | Policy.SUPPRESSED_EFFECT_AMBIENT | Policy.SUPPRESSED_EFFECT_NOTIFICATION_LIST;
1.1337.2. ZenModeVisEffectsNonePreferenceControllerMethod方法列表
1.1337.2.1. displayPreference(PreferenceScreen screen)
public void displayPreference(PreferenceScreen screen)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"displayPreference", "PreferenceScreen screen"));
1.1337.2.2. isAvailable()
public boolean isAvailable()
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isAvailable", ""));
1.1337.2.3. updateState(Preference preference)
public void updateState(Preference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"updateState", "Preference preference"));
1.1337.2.4. onRadioButtonClick(ZenCustomRadioButtonPreference preference)
public void onRadioButtonClick(ZenCustomRadioButtonPreference preference)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onRadioButtonClick", "ZenCustomRadioButtonPreference preference"));
1.1338. ZenModeVoiceActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenModeVoiceActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1338.1. ZenModeVoiceActivity Field属性列表
1.1338.1.1. static final String TAG
private static final String TAG = "ZenModeVoiceActivity";
1.1338.1.2. static final int MINUTES_MS
private static final int MINUTES_MS = 60 * 1000;
1.1338.2. ZenModeVoiceActivityMethod方法列表
1.1338.2.1. onVoiceSettingInteraction(Intent intent)
protected boolean onVoiceSettingInteraction(Intent intent)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onVoiceSettingInteraction", "Intent intent"));
1.1338.2.2. setZenModeConfig(int mode,Condition condition)
private void setZenModeConfig(int mode, Condition condition)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setZenModeConfig", "int mode,Condition condition"));
1.1338.2.3. getChangeSummary(int mode,int minutes)
private CharSequence getChangeSummary(int mode, int minutes)
methodList.add(new ZMethod(mZAndroidAPPClass,"CharSequence" ,"getChangeSummary", "int mode,int minutes"));
1.1339. ZenOnboardingActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenOnboardingActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1339.1. ZenOnboardingActivity Field属性列表
1.1339.1.1. View mNewSetting;
View mNewSetting;
1.1339.1.2. View mKeepCurrentSetting;
View mKeepCurrentSetting;
1.1339.1.3. RadioButton mNewSettingButton;
RadioButton mNewSettingButton;
1.1339.1.4. RadioButton mKeepCurrentSettingButton;
RadioButton mKeepCurrentSettingButton;
1.1339.1.5. NotificationManager mNm;
private NotificationManager mNm;
1.1339.1.6. MetricsLogger mMetrics;
private MetricsLogger mMetrics;
1.1339.1.7. static final String TAG
private static final String TAG = "ZenOnboardingActivity";
1.1339.1.8. static final String PREF_KEY_SUGGESTION_FIRST_DISPLAY_TIME
@VisibleForTesting
static final String PREF_KEY_SUGGESTION_FIRST_DISPLAY_TIME = "pref_zen_suggestion_first_display_time_ms";
1.1339.1.9. static final long ALWAYS_SHOW_THRESHOLD
@VisibleForTesting
static final long ALWAYS_SHOW_THRESHOLD = DateUtils.DAY_IN_MILLIS * 14;
1.1339.2. ZenOnboardingActivityMethod方法列表
1.1339.2.1. onCreate(Bundle savedInstanceState)
protected void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1339.2.2. setupUI()
protected void setupUI()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setupUI", ""));
1.1339.2.3. setNotificationManager(NotificationManager nm)
protected void setNotificationManager(NotificationManager nm)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setNotificationManager", "NotificationManager nm"));
1.1339.2.4. setMetricsLogger(MetricsLogger ml)
protected void setMetricsLogger(MetricsLogger ml)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setMetricsLogger", "MetricsLogger ml"));
1.1339.2.5. launchSettings(View button)
public void launchSettings(View button)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"launchSettings", "View button"));
1.1339.2.6. save(View button)
public void save(View button)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"save", "View button"));
1.1339.2.7. static isSuggestionComplete(Context context)
public static boolean isSuggestionComplete(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"isSuggestionComplete", "Context context"));
1.1339.2.8. static wasZenUpdated(Context context)
private static boolean wasZenUpdated(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"wasZenUpdated", "Context context"));
1.1339.2.9. static showSuggestion(Context context)
private static boolean showSuggestion(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"showSuggestion", "Context context"));
1.1339.2.10. static withinShowTimeThreshold(Context context)
private static boolean withinShowTimeThreshold(Context context)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"withinShowTimeThreshold", "Context context"));
1.1340. ZenRuleInfo.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenRuleInfo.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1340.1. ZenRuleInfo Field属性列表
1.1340.1.1. String packageName;
public String packageName;
1.1340.1.2. String title;
public String title;
1.1340.1.3. String settingsAction;
public String settingsAction;
1.1340.1.4. ComponentName configurationActivity;
public ComponentName configurationActivity;
1.1340.1.5. Uri defaultConditionId;
public Uri defaultConditionId;
1.1340.1.6. ComponentName serviceComponent;
public ComponentName serviceComponent;
1.1340.1.7. boolean isSystem;
public boolean isSystem;
1.1340.1.8. CharSequence packageLabel;
public CharSequence packageLabel;
1.1340.1.9. int ruleInstanceLimit
public int ruleInstanceLimit = -1;
1.1340.2. ZenRuleInfoMethod方法列表
1.1340.2.1. equals(Object o)
public boolean equals(Object o)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"equals", "Object o"));
1.1341. ZenRuleNameDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenRuleNameDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1341.1. ZenRuleNameDialog Field属性列表
1.1341.1.1. static PositiveClickListener mPositiveClickListener;
protected static PositiveClickListener mPositiveClickListener;
1.1341.1.2. static final String TAG
protected static final String TAG = "ZenRuleNameDialog";
1.1341.1.3. static final String EXTRA_ZEN_RULE_NAME
private static final String EXTRA_ZEN_RULE_NAME = "zen_rule_name";
1.1341.1.4. static final String EXTRA_CONDITION_ID
private static final String EXTRA_CONDITION_ID = "extra_zen_condition_id";
1.1341.2. ZenRuleNameDialogMethod方法列表
1.1341.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1341.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1341.2.3. trimmedText(EditText editText)
private String trimmedText(EditText editText)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"trimmedText", "EditText editText"));
1.1341.2.4. getTitleResource(Uri conditionId,boolean isNew)
private int getTitleResource(Uri conditionId, boolean isNew)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTitleResource", "Uri conditionId,boolean isNew"));
1.1341.2.5. static show(Fragment parent,String ruleName,Uri conditionId,PositiveClickListener listener)
public static void show(Fragment parent, String ruleName, Uri conditionId, PositiveClickListener listener)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Fragment parent,String ruleName,Uri conditionId,PositiveClickListener listener"));
1.1342. ZenRulePreference.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenRulePreference.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1342.1. ZenRulePreference Field属性列表
1.1342.1.1. boolean appExists;
boolean appExists;
1.1342.1.2. final CharSequence mName;
final CharSequence mName;
1.1342.1.3. final String mId;
final String mId;
1.1342.1.4. final Fragment mParent;
final Fragment mParent;
1.1342.1.5. final Preference mPref;
final Preference mPref;
1.1342.1.6. final Context mContext;
final Context mContext;
1.1342.1.7. final ZenModeBackend mBackend;
final ZenModeBackend mBackend;
1.1342.1.8. final ZenServiceListing mServiceListing;
final ZenServiceListing mServiceListing;
1.1342.1.9. final PackageManager mPm;
final PackageManager mPm;
1.1342.1.10. final MetricsFeatureProvider mMetricsFeatureProvider;
final MetricsFeatureProvider mMetricsFeatureProvider;
1.1342.1.11. final View.OnClickListener mDeleteListener
private final View.OnClickListener mDeleteListener = new View.OnClickListener() {
@Override
public void onClick(View v) {
showDeleteRuleDialog(mParent, mId, mName.toString());
}
};
1.1342.1.12. static final ManagedServiceSettings.Config CONFIG
private static final ManagedServiceSettings.Config CONFIG = ZenModeAutomationSettings.getConditionProviderConfig();
1.1342.2. ZenRulePreferenceMethod方法列表
1.1342.2.1. getSecondTargetResId()
protected int getSecondTargetResId()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getSecondTargetResId", ""));
1.1342.2.2. onBindViewHolder(PreferenceViewHolder view)
public void onBindViewHolder(PreferenceViewHolder view)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onBindViewHolder", "PreferenceViewHolder view"));
1.1342.2.3. showDeleteRuleDialog(final Fragment parent,final String ruleId,final String ruleName)
private void showDeleteRuleDialog(final Fragment parent, final String ruleId, final String ruleName)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"showDeleteRuleDialog", "final Fragment parent,final String ruleId,final String ruleName"));
1.1342.2.4. setAttributes(AutomaticZenRule rule)
protected void setAttributes(AutomaticZenRule rule)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setAttributes", "AutomaticZenRule rule"));
1.1342.2.5. computeRuleSummary(AutomaticZenRule rule,boolean isSystemRule,CharSequence providerLabel)
private String computeRuleSummary(AutomaticZenRule rule, boolean isSystemRule, CharSequence providerLabel)
methodList.add(new ZMethod(mZAndroidAPPClass,"String" ,"computeRuleSummary", "AutomaticZenRule rule,boolean isSystemRule,CharSequence providerLabel"));
1.1343. ZenRuleSelectionDialog.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenRuleSelectionDialog.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1343.1. ZenRuleSelectionDialog Field属性列表
1.1343.1.1. LinearLayout mRuleContainer;
private LinearLayout mRuleContainer;
1.1343.1.2. final ZenServiceListing.Callback mServiceListingCallback
private final ZenServiceListing.Callback mServiceListingCallback = new ZenServiceListing.Callback() {
@Override
public void onServicesReloaded(Set services) {
if (DEBUG)
Log.d(TAG, "Services reloaded: count=" + services.size());
Set externalRuleTypes = new TreeSet<>(RULE_TYPE_COMPARATOR);
for (ServiceInfo serviceInfo : services) {
final ZenRuleInfo ri = AbstractZenModeAutomaticRulePreferenceController.getRuleInfo(mPm, serviceInfo);
if (ri != null && ri.configurationActivity != null && mNm.isNotificationPolicyAccessGrantedForPackage(ri.packageName) && (ri.ruleInstanceLimit <= 0 || ri.ruleInstanceLimit >= (mNm.getRuleInstanceCount(serviceInfo.getComponentName()) + 1))) {
externalRuleTypes.add(ri);
}
}
bindExternalRules(externalRuleTypes);
}
};
1.1343.1.3. static ZenServiceListing mServiceListing;
private static ZenServiceListing mServiceListing;
1.1343.1.4. static PositiveClickListener mPositiveClickListener;
protected static PositiveClickListener mPositiveClickListener;
1.1343.1.5. static Context mContext;
private static Context mContext;
1.1343.1.6. static PackageManager mPm;
private static PackageManager mPm;
1.1343.1.7. static NotificationManager mNm;
private static NotificationManager mNm;
1.1343.1.8. static final String TAG
private static final String TAG = "ZenRuleSelectionDialog";
1.1343.1.9. static final boolean DEBUG
private static final boolean DEBUG = ZenModeSettings.DEBUG;
1.1343.1.10. static final Comparator RULE_TYPE_COMPARATOR
private static final Comparator RULE_TYPE_COMPARATOR = new Comparator() {
private final Collator mCollator = Collator.getInstance();
@Override
public int compare(ZenRuleInfo lhs, ZenRuleInfo rhs) {
int byAppName = mCollator.compare(lhs.packageLabel, rhs.packageLabel);
if (byAppName != 0) {
return byAppName;
} else {
return mCollator.compare(lhs.title, rhs.title);
}
}
};
1.1343.2. ZenRuleSelectionDialogMethod方法列表
1.1343.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1343.2.2. onCreateDialog(Bundle savedInstanceState)
public Dialog onCreateDialog(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"Dialog" ,"onCreateDialog", "Bundle savedInstanceState"));
1.1343.2.3. onDismiss(DialogInterface dialog)
public void onDismiss(DialogInterface dialog)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onDismiss", "DialogInterface dialog"));
1.1343.2.4. bindType(final ZenRuleInfo ri)
private void bindType(final ZenRuleInfo ri)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindType", "final ZenRuleInfo ri"));
1.1343.2.5. defaultNewSchedule()
private ZenRuleInfo defaultNewSchedule()
methodList.add(new ZMethod(mZAndroidAPPClass,"ZenRuleInfo" ,"defaultNewSchedule", ""));
1.1343.2.6. defaultNewEvent()
private ZenRuleInfo defaultNewEvent()
methodList.add(new ZMethod(mZAndroidAPPClass,"ZenRuleInfo" ,"defaultNewEvent", ""));
1.1343.2.7. bindExternalRules(Set externalRuleTypes)
private void bindExternalRules(Set externalRuleTypes)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"bindExternalRules", "Set externalRuleTypes"));
1.1343.2.8. static show(Context context,Fragment parent,PositiveClickListener listener,ZenServiceListing serviceListing)
public static void show(Context context, Fragment parent, PositiveClickListener listener, ZenServiceListing serviceListing)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"show", "Context context,Fragment parent,PositiveClickListener listener,ZenServiceListing serviceListing"));
1.1344. ZenServiceListing.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/utils/ZenServiceListing.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1344.1. ZenServiceListing Field属性列表
1.1344.1.1. final Context mContext;
private final Context mContext;
1.1344.1.2. final ManagedServiceSettings.Config mConfig;
private final ManagedServiceSettings.Config mConfig;
1.1344.1.3. final Set mApprovedServices
private final Set mApprovedServices = new ArraySet();
1.1344.1.4. final List mZenCallbacks
private final List mZenCallbacks = new ArrayList<>();
1.1344.1.5. final NotificationManager mNm;
private final NotificationManager mNm;
1.1344.2. ZenServiceListingMethod方法列表
1.1344.2.1. findService(final ComponentName cn)
public ServiceInfo findService(final ComponentName cn)
methodList.add(new ZMethod(mZAndroidAPPClass,"ServiceInfo" ,"findService", "final ComponentName cn"));
1.1344.2.2. addZenCallback(Callback callback)
public void addZenCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"addZenCallback", "Callback callback"));
1.1344.2.3. removeZenCallback(Callback callback)
public void removeZenCallback(Callback callback)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"removeZenCallback", "Callback callback"));
1.1344.2.4. reloadApprovedServices()
public void reloadApprovedServices()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"reloadApprovedServices", ""));
1.1344.2.5. static getServices(ManagedServiceSettings.Config c,List list,PackageManager pm)
private static int getServices(ManagedServiceSettings.Config c, List list, PackageManager pm)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getServices", "ManagedServiceSettings.Config c,List list,PackageManager pm"));
1.1345. ZenSuggestionActivity.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/notification/ZenSuggestionActivity.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1345.1. ZenSuggestionActivity Field属性列表
1.1345.2. ZenSuggestionActivityMethod方法列表
1.1345.2.1. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1346. ZonePicker.java
static {
String mZAndroidAPPClass_Path = curProjectPath+ "/packages/apps/Settings/src/com/android/settings/datetime/ZonePicker.java";
ZAndroidAPPClass mZAndroidAPPClass = new ZAndroidAPPClass(mZAndroidAPPClass_Path);
ArrayList methodList = new ArrayList();
// methodList.add(new ZMethod(mZAndroidAPPClass,"boolean","onSwitchToggled","boolean isChecked "));
mZAndroidAPPClass.addZMethod(methodList);
ZClassList.add(mZAndroidAPPClass);
}
1.1346.1. ZonePicker Field属性列表
1.1346.1.1. VisibilityLoggerMixin mVisibilityLoggerMixin;
private VisibilityLoggerMixin mVisibilityLoggerMixin;
1.1346.1.2. boolean mSortedByTimezone;
private boolean mSortedByTimezone;
1.1346.1.3. SimpleAdapter mTimezoneSortedAdapter;
private SimpleAdapter mTimezoneSortedAdapter;
1.1346.1.4. SimpleAdapter mAlphabeticalAdapter;
private SimpleAdapter mAlphabeticalAdapter;
1.1346.1.5. static final int MENU_TIMEZONE
private static final int MENU_TIMEZONE = Menu.FIRST + 1;
1.1346.1.6. static final int MENU_ALPHABETICAL
private static final int MENU_ALPHABETICAL = Menu.FIRST;
1.1346.2. ZonePickerMethod方法列表
1.1346.2.1. getMetricsCategory()
public int getMetricsCategory()
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getMetricsCategory", ""));
1.1346.2.2. onActivityCreated(Bundle savedInstanceState)
public void onActivityCreated(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onActivityCreated", "Bundle savedInstanceState"));
1.1346.2.3. onCreate(Bundle savedInstanceState)
public void onCreate(Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreate", "Bundle savedInstanceState"));
1.1346.2.4. onCreateView(@NonNull LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState)
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
methodList.add(new ZMethod(mZAndroidAPPClass,"View" ,"onCreateView", "@NonNull LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState"));
1.1346.2.5. onCreateOptionsMenu(Menu menu,MenuInflater inflater)
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onCreateOptionsMenu", "Menu menu,MenuInflater inflater"));
1.1346.2.6. onPrepareOptionsMenu(Menu menu)
public void onPrepareOptionsMenu(Menu menu)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPrepareOptionsMenu", "Menu menu"));
1.1346.2.7. onResume()
public void onResume()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onResume", ""));
1.1346.2.8. onOptionsItemSelected(MenuItem item)
public boolean onOptionsItemSelected(MenuItem item)
methodList.add(new ZMethod(mZAndroidAPPClass,"boolean" ,"onOptionsItemSelected", "MenuItem item"));
1.1346.2.9. setSorting(boolean sortByTimezone)
private void setSorting(boolean sortByTimezone)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"setSorting", "boolean sortByTimezone"));
1.1346.2.10. onListItemClick(ListView listView,View v,int position,long id)
public void onListItemClick(ListView listView, View v, int position, long id)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onListItemClick", "ListView listView,View v,int position,long id"));
1.1346.2.11. onPause()
public void onPause()
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"onPause", ""));
1.1346.2.12. static constructTimezoneAdapter(Context context,boolean sortedByName)
public static SimpleAdapter constructTimezoneAdapter(Context context, boolean sortedByName)
methodList.add(new ZMethod(mZAndroidAPPClass,"SimpleAdapter" ,"constructTimezoneAdapter", "Context context,boolean sortedByName"));
1.1346.2.13. static constructTimezoneAdapter(Context context,boolean sortedByName,int layoutId)
public static SimpleAdapter constructTimezoneAdapter(Context context, boolean sortedByName, int layoutId)
methodList.add(new ZMethod(mZAndroidAPPClass,"SimpleAdapter" ,"constructTimezoneAdapter", "Context context,boolean sortedByName,int layoutId"));
1.1346.2.14. static getTimeZoneIndex(SimpleAdapter adapter,TimeZone tz)
public static int getTimeZoneIndex(SimpleAdapter adapter, TimeZone tz)
methodList.add(new ZMethod(mZAndroidAPPClass,"int" ,"getTimeZoneIndex", "SimpleAdapter adapter,TimeZone tz"));
1.1346.2.15. static prepareCustomPreferencesList(ListView list)
static void prepareCustomPreferencesList(ListView list)
methodList.add(new ZMethod(mZAndroidAPPClass,"void" ,"prepareCustomPreferencesList", "ListView list"));

